Load Test Clearing Cookie before each session

2 posts, 1 answers
  1. David
    David avatar
    44 posts
    Member since:
    Jun 2019

    Posted 26 Sep 2019 Link to this post

    I wanted to see if a cookie is cleared before each session runs in a load test?

    We have sticky session in our load balancer and I'm looking to update our test so that it doesn't go all to one server.

  2. Answer
    Elena avatar
    1188 posts

    Posted 01 Oct 2019 Link to this post

    Hi David,

    There are some specifics for load testing in Test Studio in regards your query and I will be happy to discuss these with you.

    At first here is a short note about the cookies - basically, the cookies are some small files stored on the local disc and used by the browser when revisiting a certain page. Load testing in Test Studio, however, is actually not using a browser session and thus, is not using these cookies, that may have been stored on a computer. \

    Here is how Test Studio load test is dealing with the cookies - these should be set as dynamic targets. That means, you will need to review the user profile and locate the first request, which has the session id cookie in its response. Then, you can create a custom target for each next request that uses the session id cookie with source that first request's response and destination cookie with the particular name. 

    I hope this information will be helpful for you. Though, in case you have any further questions, please, do not hesitate to get back to me.

    Thank you for your cooperation in advance.

    Progress Telerik

    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top