JMeter: How to know why my regular expression extractor in JMeter is not extracting the data

后端 未结 1 1506
萌比男神i
萌比男神i 2021-01-24 08:59

I would like to know why regular expression extractor in JMeter is not extracting the data after parameterization. Response message: Internal Server Error

1条回答
  •  盖世英雄少女心
    2021-01-24 09:54

    Your regexp is probably wrong.

    To debug it, run your test then use View Results Tree and select Regexp Tester:

    You can then test your regexps and see what happens.

    As I don't have the response content that contains the 2 tokens, I can only guess that regexp should be :

    • name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="([^"]+?)" , see https://regex101.com/r/aG1gX2/1

    • name="__VIEWSTATE" id="__VIEWSTATE" value="([^"]+?)" , see https://regex101.com/r/iM5cZ3/1

    0 讨论(0)
提交回复
热议问题