Dynamic responses
Discussion List
-
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…
-
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?
-
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…
-
Saving Dynamic JSON output in CSV in Columns
hi is there any way to save complete dynamic JSON output in csv in columns . right now i used write file and saved in CSV but it is saving in one row. my expectation is to save all json values in csv with 2 columns , field name and field value. i cant use data bank because json file is dynamic, one file might have 10 field…
-
Is it possible to handle binary form data in a responder?
We have an API that expects multiform form-data to upload a file. I'd like to create a stub for it. Is it possible to handle the response differently based on the binary file content?
-
Dynamic Think Time
Hi Everyone, Im trying to simulate a service that would be sending out empty "attachments" simulating the live system (where it sends actual attachments with varying sizes) and would like to simulate dynamic ThinkTimes For example, 1. 2 documents, it should send out the response after 2 secs 2. 6 documents, it should send…
-
Ideas/Suggestions - Dynamic Parameters
I have a requirement where responses should be very dynamic based on the request. Based on the incoming request elements , elements/array of elements in response should vary. I m trying to minimize the no of res ponders and manual data setup. Currently i m achieving this scenario by using xpath(function count/exists), Data…
Popular Tags
- SOAtest 454
- legacy 440
- Virtualize 207
- C/C++test 179
- scripting 106
- .parasoft 82
- unit testing 64
- Parasoft Virtualize 61
- Announcement 61
- static analysis 58
- jtest 57
- dotTEST 48
- assertions 47
- C++ test 43
- API Testing 39
- cli 38
- automation 37
- data source 37
- xpath 35
- java 33
- reporting 33
- LoadTest 32
- SOAtest Virtualize 32
- ctp 30
- JSON 29