问题描述
每当我导航到链接
您需要使用后处理器
添加正则表达式提取器的详细信息。
此处,您可以签入详细说明
因此,您可以提取任何数据。
希望,这可以解决您的问题。
whenever I navigate to the link http://43.252.88.109:4006/BracketICT/testengine.aspx after starting the test from http://43.252.88.109:4006/BracketICT/?t=aZCcbzidJJKfFgrkk1RYPH0zHTl+MtTuoGeiUw0hEw48nLZUoPrfntO29VV2daEiR3cPbu25/Xf2a3Q1UMZs1tMlk3PvhYZb/aXd43cpH0Sp0Z1yTrWlkWOmJXsjTloRGTwk/LMZHkqQhW9CBVpyUsA==&uniqueID=dGdck61pZFjpiV7I05aERpx8kdvC0ymx&dev=1696661&reuse=1696661
there is a uniqueiD that is generated in the form data whenever i select any radio button and click on next. Also the next page that is generated has the same url i.e. http://43.252.88.109:4006/BracketICT/testengine.aspx where a new question is generated and hence a new unique ID on every page on redirection.
How do i extract the uniqueID parameter everytime from form Data i.e. Dynamic in nature?
You need to use post processors Regular Expression Extractor to extract the value.
Add the Regular Expression Extractor in the request generating the uniqueID.
Add the details for the Regular Expression Extractor.
Here, you can check out in details the value of each field from Regular Expression Extractor
Regular Expression : &uniqueID=(.*?)&dev
Check out Regular Expressions for details.
- (Optional) Add a Beanshell PostProcessor to check the extracted value in the logs.
So, like this you can extract any data.
Hope, this resolves your concern.
这篇关于如何在重定向器上的jmeter中传递动态表单数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!