I have a threadgroup with 100 thread (users), and loop count of 10. I have a cookie manger with default setting. The users are anonymous (not logged in), but I want to track the number of users hitting the site in application insights, as it will generate new .net session tokens.
When I run the test, i would expect cookies to be local to each threads loop iteration.
So I would expect cookies to be "cleared" on each thread 10 times, and so I would expect to generate 1,000 .net session cookies on my application.
however, I don't, I see 1.
In the cookie manager, there are two options:
- Clear cookies each iteration
- Use thread group configuration to control cookie clearing.
Both are unchecked.
But this makes no sense - I want the cookies to be cleared on each iteration for each user.
Should I check one or both of these? do I need to set anything on the thread group?
In the thread group, I have "user same user on each iteration" unchecked - each iteration should be considered a new user.
Also, does it mater where the cookie manger goes? I have always put it at the top, above the threadgroup, but perhaps it is supposed to go under the thread group?
Ideas?