I have recorded a load test script (mobile_app) and see that dynamic cookie has been generated in very first URL in HTTP Request Header instead of being in HTTP Response Header. Same cookie is getting generated in HTTP Response Header in 3rd URL. Due to which I am unable to extract and assign the variable for the same and it has expiry time as well of 24 hours. If I am extracting the cookie variable and assigning it then it is showing error.
Generally we handle the variables when it gets generated first in HTTP Response Header from where we extract and assign to the URL where it gets generated in HTTP Request Header. But in this case it is getting generated first in HTTP Request Header and later in HTTP Response Header due to which we are unable to extract and assign it from there and if we do so it shows an error.
Can you please help me to understand how should I handle this dynamically generated cookie which has expiry time of 24 hours?