i have identified the dynamic values in my website which i am handling through "regular expression extractor" still when i run the website the login request fails and throw error as token not found. please help,i m struggling...[this image contain the regEx extractor part and the failed login request also][1]
Asked
Active
Viewed 157 times
0
-
there is sensitive data in image please remove the current image and upload a new one with sensitive data masked. Also, to help you further please share response of request `/-7` with sensitive data masked – Rahul Jadhav Jun 29 '21 at 07:30
-
screenshot for `/-7` ? – Rahul Jadhav Jun 29 '21 at 13:00
1 Answers
0
We cannot help you without seeing the response (at least partial) which you're getting for the /-7
request containing this hidden input with the token, you can try locating it using "RegExp Tester" mode of the View Results Tree listener and see whether your regular expression matches something or not
One thing is obvious: using regular expressions for extracting data from HTML is not the best idea, I would recommend considering switching to CSS Selector Extractor instead:

Dmitri T
- 159,985
- 5
- 83
- 133