Hi,
Is it possible in gatling to capture the json (i guess we can use jsonPath to parse the json response from the header) and modify for some business logic and then resubmit that in next request?
Thanks,
Hari
Hi,
Is it possible in gatling to capture the json (i guess we can use jsonPath to parse the json response from the header) and modify for some business logic and then resubmit that in next request?
Thanks,
Hari
Not directly: you’ll have to parse the json response in order to save the values you’re interested in and re-inject them into the next request.
Cheers,
Stéphane
Thanks for the quick response. It is possible to change the json response and resubmit instead of just submitting.
Lets say
{
“a” = “test”
}
was the response and i need to change that into
{
“a” = “Perftest”
}
and resubmit it.
Nope, you have to do it in two steps.
This use case is way too specific for having a dedicated built-it.