问题
My Test structure in Jmeter Thread group (2 users)
- Http request
- Listener
For each iteration same form_key values are getting in response which should not be. How to get unique form_key in response for each iteration Jmeter Test result screenshot
回答1:
I cannot reproduce your issue using one of the online Magento demo instances, in particular this one: http://demo-acm-2.bird.eu/customer/account/login/
As you can see, each time form_key
is different for each user for each iteration.
If you're using HTTP Cookie Manager - make sure to tick "Clear cookies each iteration" box
Also make sure to properly setup the HTTP Request sampler, to wit put http
or https
into "Protocol", server name or IP to the relevant field, path, etc.
来源:https://stackoverflow.com/questions/62561129/same-response-data-for-all-iterations-even-though-cookie-is-cleared