Hello Everyone …
I have a situation where I need to
- Capture the JSON response from REST GET call which has around 30 key values.
- Update 3 keys to Null in that JSON object
- And use that JSON as a request body to next POST rest call .
For #1 I am using the .check(jsonPath("$.records[*]")…ofType[Map[String,Any]].find.saveAs("LineItemJSON”)) to
capture the whole JSON in a MAP . Can someone guide me how I can update some keys in the JSON object so that I
Can update it and then use it as request body for the successive call.
Appreciate all the help
Thanks
Arruneesh