JMeter - MVC : Form posting model that contains dymanic data

◇◆丶佛笑我妖孽 提交于 2020-01-17 03:03:11

问题


Trying to use jmeter to web stress my website. I want to post the page using Jmeter but it has to pass a model that is dymanic data that is generated when that page is loaded. There is also some form data that is passed.

Any ideas how i do this in Jmeter?

Thanks in Advance

Sleeper


回答1:


You can use a regular expression extractor to scrape the data for re-use. Your structure would look like this:

- GET PAGE
-- Regular Expression Extractor
- SUBMIT PAGE

http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor



来源:https://stackoverflow.com/questions/5745902/jmeter-mvc-form-posting-model-that-contains-dymanic-data

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