RequestVerificationToken is not idetifying/or getting assigned to variable by JMeter in a ASP MVC 5 Project

眉间皱痕 提交于 2019-12-04 19:41:26

In Regular expression '-' has a meaning & it has to be escaped properly if it is expected in your __RequestVerificationToken value.

So, the correct regular expression would be

input name="__RequestVerificationToken" type="hidden" value="([A-Za-z0-9+=/\-\_]+?)"

I created a temp variable & verified above regular expression. It works fine. If it does not work for you, Please provide the HTTP response if possible.

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