A test plan with below fields a Thread group Cookie manager HTTP request sampler listener to see result url: https://www.partylite.co.uk/jasmine-jade-3-wick-jar-candle.html Result: Same form key for all users even though cookie clear checkbox is checked
Created attachment 37328 [details] Jmeter screenshot
I believe this question should be asked on the users mailing list, as it seems to be about the usage of JMeter. To answer anything about your question, we probably need the most simple test plan that exhibits your problem. Remember that JMeter is not a "Browser" and will not execute client side logic.
Felix Schumacher this is a simple problem. Since I'm getting same response data in all iterations. If you open this url https://www.partylite.co.uk/jasmine-jade-3-wick-jar-candle.html in jmeter it should return unique form_key values in each iteration. Basically server related cookies are not cleared for each iteration. Requesting for your best solution.
Created attachment 37329 [details] simple test plan for website Hi Anand, I made a simple test plan (that I asked you to provide) for this. It seems to me, that: * the application is not sending cookies (therefore the cookie manager is useless for this example) * the application is behind a cache (look at the X-Cache, X-Served-By, X-Cache-Hits and Vary Header) that is caching the requests and * as the Accept-Encoding and the (not-existant) cookie is the same, we get a cached response (after the first one) So it looks like an application problem (not sending a cookie, wrong entry into the application, etc.) rather than a JMeter problem.
This looks like a user question, the discussion should be continued on the users mailing list. Feel free to reopen the ticket, if you are sure, that this is a bug.
Hi Felix, Application is sending cookie. You can see the cookie values in application tab of the browser. I have added screenshot also. Please check and confirm why the form_key value is showing same value for all users (thread/iteration).
Created attachment 37330 [details] Application cookie Screenshot
In jmeter, if we use cookie manager and clear cookie after each iteration option is checked then the server related cookie data should be unique for all users. But that is not happening
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5347