StresStimulus handles cookie correlation automatically. Every time a server response contains a Set-Cookie header, StresStimulus acts accordingly and sets the request cookie value in all subsequent requests. However, in some rare instances the request cookie value is set by some client side script and can't be automatically correlated. For example, an application can have a client script that after every click, sets a timeout cookie to a few minutes into the future to monitor user inactivity. While load testing such test case, the recorded value of this cookie can't be used because the server will think the VU is inactive. In these cases, you can use the Set-Cookie object to manually parameterize the cookie value.
To use the set-cookie object:
- No labels