How to pass field value from request to response in REST Json Script ?

Hi ,

I am using IBM RIT,
I am creating stub using REST. I have a scenario,where I need to pass some random data in request every time and the same random number should reflect in the respective response.
i.e.

If my request has a field called “accountid” whose value I am giving is “12345”. I need same value “12345” should be there in the “accountid” field in response .

The tag value changes in every execution.

Could anyone help me in this ,please?

Related:

Leave a Reply