Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Can an entire object from a REST API response be used in the next REST API?
walkaboutsd
Posts: 2 ✭
in SOAtest
Best Answer
-
Add a XML or JSON Data Bank (depending on payload format), and extract the root element of the payload.
5
Answers
-
One of the services I'm having a problem with imported via OpenAPI as something other than json. That is stopping the use of the data bank fields.
jakubiak confirmed for me json data bank will work and that I had an issue I did not realize.
Thanks.
0 -
If you haven't done so already, I recommend reviewing the SOAtest tutorial. In particular, the Scenario Testing section has an example of how to build scenarios using Data Banks. That example uses an XML Data Bank but the same principles apply to the JSON Bank.
1