-
How to fetch value from database base and pass in another call
I am using DB tool to write query and fetching All Id messages (will have in xml)and then i am using rest client and want to pass those messages details in payload but how to do that? I want to use individual req for each id and want to pass directly to payload
-
SOATest Virtualize : How to create a dynamic response xml to send multiple transactions for account
I created a responder to return a response having multiple transactions. I have a table having data with multiple set of rows with transactions to return. Based on the account number in the request I have to return the transactions in the response. Response is parameterized using the table which i created. But when i…
-
CTP : How to configure JAVA class file in CTP
I have a Virtual Asset which has a extensiontool chained using Java Language to send response back to client. I also have the java project inside the same SOAtest project. I added the classPath to the system properties and class loader , it works fine. But when i deployed the asset to SOAVirtualizeServer , I could not find…
-
Unable to iterate values from CSV datasource
I am using parasoft virtualize to create virtual api But for paramertized data , unable to iterate from CSV data source. It returns first row everytime.
-
Compatibility of SOAtest/Virtualize coexistence for 2020.1 and 2020.2
2020.2 was installed before learning about the requirement for a new product password. I understand that the workspace has changed. Except for those services or functions that are deprecated, can I continue to use the 2020.1 version in the same workspace until Parasoft provides the requisite password update? Otherwise, I…
-
How to integrate groovy scripts in parasoft.
I have groovy scrips in my soap ui test suite . How do i integrate those scripts in parasoft?
-
How to know if an existing service in parasoft is a Rest Api or not?
How can we get from service if the service is rest api or not.
-
Virtual Asset issue The schema of messages includes recursive type definition resulting in a cycle
Hi, While trying to create virtual asset from recording file, I am getting the following error: This happens because the response has some child element same as parent element. For example: { "items": [ { "id": "123", "items": [] } ]} Due to this, I am getting truncated response which does not match the actual recorded…
-
SOATest : Execute Test from another Test
I have a tst file with 2 different Test Suites where I have 2 different web services. I have 10 test cases for one webservice "A" and another 10 cases for another webservice "B" Each test case is dependent on another test case. I have created a TextDataBank to extract parts of XML for each test case(based on scenario few…
-
How can we parameterize a dynamic URL parameter (not q Parameter)
Here is the path: /eosservices/SOHServices/api/v1/group/SOH/customers/id (dynamic value)/locations?q=customerNumberTypeCode==CDF;statementofHealthReportingLocationID==86A&limit=2 I want to parameterize the "ID" parameter which is going to be dynamic and unique.. i should be able to read the dynamic value from the incoming…
-
How to add java project to classpath
Hi, I'm new to Parasoft and while exploring it i encountered the below line in [Extensibility and Scripting basics] : If your Java class is from a Java project in your Eclipse workspace, add the Java project to the classpath. Can anyone tell me how to add java project to classpath. And also when i select 'Scripted' option…
-
Groovy Scritping not allowed in Community Edition ?
Hello, While creating a response for a request in virtualiser , I saw an scripting and when clicked bydefault groovy language was selected and an editor appeared on my screen.But I couldn't type anything there ,is this feature only for paid license?If not then any tutorial on the correct approach to use it.
-
Any video related to how to use java code to read incoming request
Hello, Is there any video related to how to use a java code to read incoming request and produce a response according to it?
-
Soa is crashing while run the Exension File
I am using a extension tool where I am running java script .This script contains winium driver and sikuli apis ,when ever I am running this script.My soa crashed and showing the Error ,as you can see in the attached screenshot .I tried every possibility like add the eclipse ini file add both -vm and mention the javaw.exe…
-
Returning only 500 Internal Service Error instead of 200 with response
Is there a way to set up my mock to only return a 500 error if we enter in a unique value correlated to this? For example right now we have our mock set up to look for "JORDANS_CATEGORY" and this would return a valid response (200) that is set up in our traffic file. Is there a way to return only a HTTP status code instead…
-
Does SOAtest & Virtualize support Java 9 or higher?
Hello, I was looking at the documentation for the tools, and I saw that only Java 8 is supported. However, when I was looking over the documentation for deploying SOAtest and/or Virtualize servers using the WAR file, it says that Java 8 or higher is supported. I just wanted to confirm if this is an inconsistency in the…
-
Virtualize : Forward Traffic on condition
I have a responder where it forward the incoming request through an internal routing to another responder. But I wanted to forward traffic only when specific criteria matches. I used Data source correlation and also tried using responder correlation but no luck. It just ignores the condition and forwarding the incoming…
-
Unable to correlate the responder with all the data rows returned from DB results
With respect to Responders, I'm adding a DB tool as output and querying the results and storing in XML data bank. The query returns multiple rows of data, but the responder is able to pick only 1 row of data. Please help me a solution on how to correlate with multiple rows of data from DB results. Step 1 – Created…
-
Virtualize : Map DB Tool Result Sets To XML Response
How to map multiple rows returned from resultSet to the XML response ? We have a SOAP Message responder having below xml response. I need to parameterize the account numbers in the response <findTransactions> <transactions><accountNumber></accountNumber></transactions> </findTransactions> In the above xml response the…
-
Virtualize : Use Database as datasource and parameterize SQL query
We are using excel as a datasource and parameterized the responder response. Since excel has limitations on rows , I wanted to use Database as a datasource. But, if i use database , the query needs to be parameterized since account number i use is unique every time. Based on the account number i need to get the rows from…
-
XML Filter
I have a responder which sends response with list of transactions for an account number. Is there a way that I can filter the xml response based on date or any other value before sending response?
-
Using Data Source Correlation for dates in Responder
We have a responder, where we have set the data source correlation using account number. However, i also need to correlate the date which is coming in request as said below. Check if startDate which is coming in request is greater than or equal to the data source column value. Here DS has 10 rows where i need to check all…
-
IBM MQ Virtualize - "MQJE001: Completion Code '2', Reason '2393 (MQRC_SSL_INITIALIZATION_ERROR) '"
While Testing MQ connection is Parasoft getting the below error. Please help me in resolving this issue MQRC_SSL_INITIALIZATION_ERROR
-
Using Date Range to retrieve data from excel
Can some help me with the below scenario. I have a responder which sends list of rows having the same account number which was sent in the request. However, I need to send the rows based on the start date and end date range. currently I have setup only account number in data source co-relation to match the account number.…
-
SAOTest Virtualize : Parameterizing Arrays of Varying Size
I have a requirement exactly the same which parasoft gave an example.. I tried reproducing the same but i couldn't see any response back. In the below example I could see that they have setup a response , but is there any specific request that i need to send to get that response ? I followed exactly same steps but still no…
-
Unable to remote execute SOATest
For CICD, my requirement is to trigger SOATest from Unix server (GoCD) using shell command to invoke SOATest which is on a windows server in same data center. I'm using below command to do above operation and getting error, pleas help me with this. ./soatestcli -server https://servername.com:9443 -auth uname:password -data…
-
Create a responder using WADL
I have WADL to upload but I do not see such option under service definition to create a responder. I could see WADL while creating a test but there is no such option available under service definition while creating responder. Can some one please help on how to add WADL to create a responder ?
-
How to send asynchronous requests using SOAtest & Virtualize 9.10.6 Community Edition
Hi All, I need to implement below scenario. Can anybody please help me with the information on how to do it? Problem Statement - For an incoming request, first I need to send synchronous response which I am able to do successfully. Once the response is sent, I need to send asynchronous request to a different endpoint.…
-
SOA-VRT via CLI
I am trying to run the soa-Vrt version using "soatestcli.exe". There are no virtualize assets. I keep getting the following error. "ERROR: Error: java.lang.IllegalStateException: Ambiguous protocol URL, cannot determine tool in multi-tool mode: 0, , file:/C:/Users/lch/Documents/DESKTOP…