Hi guys I am using API Gateway 9.1 & I making multiple API calls from one Service. I need to mash up the response & send one JSON response. I can do that with Return Template Response to Executor Assertion.
Ex- I make two API calls & each call gives different responses,
Response of API Call1 :
Response of API Call2 :
So I can use Evalute JSON Assertion extract & form a response using Return Template Response to Executor Assertion.
But sometimes the Response of API Call2 can contain multiple fileds which needs to be updated in final response,
Sometimes Response of API Call2 :
In this case how can I dynamically add the new fields to my response dynamically?