Hi,Greeting everyone!
In order to avoid multiple exec being called in my Gatling script, I’m trying to allow resources in parallel. (I have set throttle in the code for load testing. I do not want certain calls in the scenario, to be included in the throttle target. Hence trying to make use of .resources() to fetch these calls in parallel.**)
But the correlations done from these HTTP resources are not retrieved. While configuring the code with multiple exec calls for each HTTP requests, the correlations are working as expected.
I want to extract values from the resources to be passed to the next request.
Is it possible to retrieve values and do checks on the resources? Can someone please help me with this?
Code snippet having issue :
Getting error :
---- Errors --------------------------------------------------------------------
> REDIRECTION_1: Failed to build request: No attribute named 're 1 ( 5.56%)
direction_1’ is defined
> REDIRECTION_2: Failed to build request: No attribute named 're 1 ( 5.56%)
direction_2’ is defined
> LOGIN: Failed to build request: No attribute named 'Correlatio 1 ( 5.56%)
nParameter’ is defined
Code snippet which is working fine :
Regards,
Tenu