This is a migrated thread and some comments may be shown as answers.

Load Test Clearing Cookie before each session

1 Answer 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 26 Sep 2019, 07:51 PM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Elena
Telerik team
answered on 01 Oct 2019, 08:37 AM

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.

Regards,
Elena
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or