If the Http Request I am testing does not use any cookies, will using a cookie manager give better results? In Jmeter documentation using cookie manager is considered a good practice, but in this particular case it's my understanding that it shouldn't make a difference.
Asked
Active
Viewed 44 times
0
-
If you are sure the http request need not any cookies, then the cookie manager can be ignored. In fact, you still can use it and set the option: clear cookes each iteration. – SeanH May 21 '22 at 14:59
1 Answers
0
Well-behaved JMeter test must represent a real user using the real browser accessing the system under test with 100% accuracy, it includes:
- Sending proper headers (including cookies)
- Downloading embedded resources and caching them
- Simulating user think times using Timers
- Simulating AJAX requests
- etc.
If the application you're testing doesn't use cookies, i.e. neither sends Set-Cookie
header itself nor parses Cookie
headers from the incoming requests then using HTTP Cookie Manager doesn't make any sense, it will only give you some overhead.

Dmitri T
- 159,985
- 5
- 83
- 133