Can an entire object from a REST API response be used in the next REST API?

How can this be done? via data bank or script or.....?

Tagged:

Best Answer

Answers

  • walkaboutsdwalkaboutsd Posts: 2

    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.

  • amink1amink1 Posts: 3

    @jakubiak Could you please provide the steps for json databank?
    My requirement is to save a payload from one request using an id and retrieve the data using that id using another request.
    Thanks in advance

  • benken_parasoftbenken_parasoft Posts: 973 ✭✭✭

    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.

Sign In or Register to comment.