StresStimulus automatically correlates all server side cookies during test runs. However, StresStimulus does not automatically correlate client side cookies. This section describes how to enable automatic client side cookie correlation.

    Client Side Cookies

    Most cookies are created by the server (server side) and sent to the client in a response via the Set-Cookie response header. Then on subsequent requests, the browser sends the cookies back to the server. Sometimes, cookies are created in the browser (client side) and sent to the server in requests. StresStimulus automatically correlates all server side cookies by extracting the values from the Set-Cookie response header and sending these values in subsequent requests. Unfortunately, client side cookie values can't be extracted since the values don't exist in Set-Cookie responses. However, in some instances the value of the client side cookie can still be extracted from a response, just not from the Set-Cookie response header. In this case, add the cookie name to the Cookie section in the Autocorrelation pattern box. Now after every recorded test case, this cookie will be automatically correlated.

     

    Icon

    If the after adding the cookie name to the list it is not autocorrelated, then create a autocorrelation pattern for the value to extract as described here.

    • No labels