-2

I am testing my application on jmeter but after we run the test the login is unsuccessful so how i can i extract the request verification token with single user so that i can login and test the application .enter image description here

  • Can you share the requests and data that a regular login through a browser (or other means)? – João Farias Jul 3 at 14:14
0

It might be the case the location of the Regular Expression Extractor is not correct, according to JMeter Scoping Rules it's being applied to all samplers, make sure that this is something you want.

In general using regular expressions for parsing HTML is not the best idea, consider using i.e. CSS Selector Extractor instead it allows using CSS Selectors for getting the data from HTML documents in more easy/robust/readable way, the relevant configuration would be:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.