Hi everyone
I would like to know if it is possible to save all of a json content with the “saveas”
and then feed another request with the some of the content of this json :
For exemple from the request below
.check(jsonPath("$.members).findAll.saveAs(“member”)
and then in others requests use multiple parameters such as :
${members[0].name}
${members[1].age}
{
“squadName”: “Super hero squad”,
“homeTown”: “Metro City”,
“formed”: 2016,
“secretBase”: “Super tower”,
“active”: true,
“members”: [
{
“name”: “Molecule Man”,
“age”: 29,
“secretIdentity”: “Dan Jukes”,
“powers”: [
“Radiation resistance”,
“Turning tiny”,
“Radiation blast”
]
},
{
“name”: “Madame Uppercut”,
“age”: 39,
“secretIdentity”: “Jane Wilson”,
“powers”: [
“Million tonne punch”,
“Damage resistance”,
“Superhuman reflexes”
]
}
]
}
Thanks in advance for your help