Hi All,
Could you please help me out on how to achieve the following scenario,
Json body:
{
“profile”:{
“firstName”:“xxx”,
“id”:“1111”,
“lastName”:“yyy”
}
-
I need to repeat the above Json array based on the profile records present in previous API request. ( if there are 10 profile, the Json body in next request should be repeated 10 )
-
I referred some of the examples and read the https://gatling.io/docs/current/session/expression_el/ document but couldn’t achieve it
Kindly help me out
Alternative solution tried by me:
- To get the total profile record count
- Multiply the json array block by the record count
Not entirely completed the alternate one, but it seems some kind of lengthy workaround.
Regards,
Aravind G