Same response data for all iterations even though cookie is cleared

孤街醉人 提交于 2020-06-29 03:59:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!