-
Failed to respond to incoming message using data source row correlation
I have a request i.e. "crn":"234567890123456","amount":"200","settlementDate":"20091224", and a responder using a data source correlation of several response. And the response is to send the responseCode by validating the "amount" [<250] or [>250]. When I send a request via a Parasoft Virtualize .pva file the event…
-
Running Multiple Scenario's Concurrently using Parasoft SOAtest
Do we have an option to push different scenario at the same instance? I am trying to push multiple interfaces concurrently to the queue manager, by choosing the below setting * Execution mode -> Tests run concurrently * Tests run as group/Tests run all sub-groups as part of this group But still this is pushing the request…
-
How can I configure an array of object to respond, from an excel
I configured Excel as the datasource, but when responding it only shows the first line
-
how to add mime type to virtualize server?
I am carrying out a virtualization in which it responds with a PDF format. Which needs application/octet-stream Locally I was able to add it and run it without problems. But now what I need is to be able to add this MIME Type to the virtualize server that is on Linux
-
How to fetch multiple values from request and update to DB
Hi All, We have a request with multiple sections which has different id's and username as below shown in the sample request. Currently we are using JSON data bank to extract the values from id and username and in the next step using DB tool updating these values in to the DB table. However, it is only fetching the first…
-
How to get the results in xml data bank from incoming request->DB tool
Hi team, We are creating a virtual asset to post a request from JSON message responder, and one of the argument look for the value in the DB using SQL query, that has been added in the DB tool step and to extract the values results as XML -> XML Data bank step added. How to get the results inthe XML data bank, i tried…
-
How to fetch datasource values to xml payload
Hi, We have a xml payload as below, would need to add the values to the payload from datasource. currently it is just fetching first row's data and adding same value in 3 different name field, instead of that it should get the value from 2nd row for 2nd value and so on. sample payload : <Meter> <Names> <name>${name}</name>…
-
How to retrieve the data from 2 different datasource and write it to a file
Hi, We have a requirement to retrieve the Peak and PeakTime from db2 for the meter numbers retrieved from another db called db1. there was already a logic to fetch all the active meters data for a day from db1 and write it to a file, now we need to append the values for Peak and PeakTime to the meters which need to…
-
current date parameterizing in the sql query
Hi, We are using a query to fetch the data from a table by hard coding a specific date in the query. Is there anyway we can parameterize the date to pick the current date while execution and show the data for the same instead of hard coding the date. sample query using in the data source step: select * from input_table…
-
where we can find user guide for Parasoft virtualize
Hi Team, Please suggest where we can find user guide for Parasoft virtualize
-
How to extract any value from a response argument and write it to external excel/csv file?
Hi Team, Can you please help how to extract values from the response and write it to an external file excel/csv. for example: if am getting a response like below { "status" : "success", "wonum" : "1234567" } Expectation is to extract "wonum" response value in the external file.
-
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…
-
Can virtualization response respond back a PDF document
Hi i have a requirement to configure a responder for response content-type = application/octet-stream and response body is the PDF binary. Looking for inputs where i can develop the responder to respond back a PDF document i.e. response status code = 200 Which is application/octet-stream, i.e. binary PDF
-
How to write generated data to a file
Hi Everyone, We are using data generator tool to generate random values, could anyone please help how to extract / write those generated values to a file. Thanks in advance..
-
How can I apply a regex rule to a URL Path?
Problem: Given the URL: server.com/Responder/param1/value1 I want the value1 to be a number 18 length digits only, so when I call e.g.: param1/123456789123456789 the test should PASS and param1/1234abc should FAIL and then, whatever comes in as value1 should be returned in the JSON response. My questions are: where can I…
-
Does upgrading Parasoft to latest version of Virtualise and SOATest affects virtual and test assets
Does upgrading Parasoft to latest version of Virtualise and SOATest affects virtual and test assets
-
Getting IOConsole updater error when executing test more time by pounting to virtual server
Hi Team, I face one critical issue while executing the test repeatedly (300 to 500 transactions). The Parasoft server gets slow and some IOconsole updater errors occurred. when I reboot the server then again it's started working. but the same issue again when executed more runs. Refer to the below screenshots for the…
-
It's taking more time for execution while pointing to virtual environment
Hi Team, Currently, we have created a virtual environment by virtualizing some services and we do load tests by pointing to the real and virtual environments. But during execution, I observe it's taking more time when we point to the virtual server than the real one. Please find the attached screenshot for the time taken…
-
How to automate switching of environment between real and virtual
Hi Team, I have a requirement wherein every sprint i need to execute load test by pointing to the real and virtual environments. so for that, someone needs to switch the environment and provision it in CTP every time. But I need to remove the manual effort here. Is there any way or any batch script where we can mention if…
-
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.
-
[Help] Parameterize Object Names in JSON Message Responder
Hi, I am trying to parameterize the object name in a JSON message responder response as shown in the following image: If I switch to literal input mode and use the ${} Syntax, I just get the the variable name sent back in the response. (Yes, data source correlation is set up for this example and the responder can access…
-
How to call Custom JAR method with arguments
I am using JAR inside the JSON Message Responder "Response" tab to return the response. One of the method in the JAR expects the method arguments. 1. How can I send the arguments to method inside the JAR, from the JSON Message Responder? 2. In local machine, I can set the Custom JAR file path in the System Properties. In…
-
2 response for same request one web service and one MQ in same responder
Hi wanted to check can we have one responder giving 2 responses webservice call synch response from webservices and aysch MQ response for same request in Virtualize.
-
Asynchronous responder
how to create Asynchronous xml message responder in Parasoft Virtualize
-
Do SOATest call API's internally? Like selenium internally call API for UI automation
Wanted to know that does SOATest internally call APIs to perform particular action SOATestUI. If yes is there is any way to automate it
-
simulator for file transfer, flat files Parasoft Virtualize
can we simulate file transfer , flat files in Parasoft Virtualize . need info regarding same
-
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…
-
Cannot instantiate class: com.ibm.mq.jms.context.WMQInitialContextFactory
We are trying to use JNDI connections in queue browser by specifying connectionFactory= com.sun.jndi.fscontext.RefFSContextFactory in parasoft Virtualise queue browser but I am getting error as below for I am using com.ibm.mq.allclient-9.1.5.0.jar as well as fscontext-4.2.jar Cannot instantiate class:…
-
Parasoft License
Hi wanted to know if we get Parasoft floating server license can 100 different users do development in SOATest using same license or they need individual license on their mahcines
-
How to add to traffic file into one and use that to create virtual asset
Hi team, Can anyone help me to merge two traffic files into one. traffic files are attached. thanks Nihar Arisal
-
rabbit mq listener in parasoft Virtualise
Hi i am new to parasoft Virtualise , wanted to understand how to configure rabbit mq listener do we need to configure any external jar and write java code for listener in parasoft Virtualise for getting queue details
-
Xml json request type in Virtualize
Hi i am new to Virtualise , how to handle request type as either xml or json using one message responder in Parasoft Virtualise . what should i set so that message responder can recognise request type as xml or json both kind of request types in single responder
-
how to configure json response in Virtulaise for x-www-form-urlencoded request from SOAtest
Hi i have x-www-form-urlencoded request setup in parasoft soatest , wanted to understand how to develop json response in parasoft virtualise since expected response type for the request is json.This will be a unique integration as request and response types are different in the same call. The request is…
-
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?
-
Parasoft virtualize groovy scripting example to read the json element
I am using multiple responses in JSON responder where the response is mapped one to one. Now I am in need of dynamic value in response like timestamp, value based on the random number and etc. It is should be based on input values. I tried varies example to get input string values in Groovy scripts without much success Ex:…
-
parasoft virtualize server - start/stop
I'm new to parasoft virtualize but I follow the mechanical steps to create the virual asset. After closing the parasoft IDE and opening again, double clicking the URL of the virutal asset does not open the full window of the GET request in the Editor view. The i noticed server was not started. I started virualize server.…
-
How can we validate token for customer
Hi, I am new to parasoft virtualize and wanted to know if we can validate token for particular customer? I want to see if token is matching with customer otherwise throws error message.
-
JSON output response based on the dynamic date ranges in the request
Requirement: Each calendar day will have a different json response, for 90 days. Based on the to and from dates given in the request I have to pick the response, combine and send the result. * How to and where to save all the responses. * For different date ranges how to combine the responses. * Some dates are having no…
-
Dynamically create proxies, record traffic, and create assets using the REST API
I was recently at a customer engagement and they had the following requirement: We would like to create proxies on the fly, record traffic, create the asset, then delete the proxy. Parasoft has a powerful REST API that can easily facilitate this. This script does the following 1. Creates a new Proxy in record mode 2. Grabs…
-
How to validate the date given in the request
Below is request URL http://localhost:9080/accountsdetails?startTime=2019-09-27 I want to validate startTime whether it is older than 7 days from the current date or not. If it is older I want to return error message or with some responder.
-
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…
-
Conditional Check for Incoming Request and Custom Response
Is it possible to set up a responder to respond multiple ways based on the incoming request format? Example: A SOAP based request sent yields type "A" response, and a REST based request yields type "B" response. The response is from the same responder If this is possible, can it be detailed as to how to do this?
-
Rest API version
Hi, I am working on a virtualization project using Parasoft virtualize. The API version follows the semver 2.0.0 Please let me know if this is compatible with Parasoft virtualize tool 9.8 version
-
How to differentiate between stub response and real response
Hi All, We are trying to Parasoft Virtualize in our test env, use case is as follows, If request data is found it in Data repository PS will send stub response back, but if data is not found it will forward the request to real endpoint, . My query here is how to identify if the response came back is from PS (stub) or from…
-
I need to perform bulk deployment of stubs in parasoft virtualise
Bulk deployment of stubs need to be done in parasoft virtualise , presently i am deploying each stub individually which is taking too much time. So is there any method in parasoft virtualise so that i can deploy all my stubs at once on my server.
-
Read files from Secured remote directory(Linux)
Hi Team, I need the some option in Parasoft. That should function as same as"File Transfer Listener" or "File Event Listener". But one addition is to read file from secured remote directory(Linux). "File Transfer Listener" or "File Event Listener" - Both will work for reading the files from Local directory I am using…
-
how can we use the POST method in virtual services for dynamic response.
we want to test the post method with dynamic input and also want the same responce from the virtual service 1) We are using service( https://petstore.swagger.io/v2/pet ) for post method with below request body: { "id": 4, "category": { "id": 0, "name": "string" }, "name": "Avik", "photoUrls": [ "string" ], "tags": [ {…