Jmeter:__VIEWSTATE,__VIEWSTATEGENERATOR和__EVENTVALIDATION正则表达式不起作用

时间:2018-09-10 16:53:22

标签: jmeter

我有一系列HTTP请求采样器,其中我使用了__VIEWSTATE,__VIEWSTATEGENERATOR和__EVENTVALIDATION的正则表达式提取器,它们可以正常工作并获取响应数据。

但是在执行后的第一步中,我会收到错误“ generalError:Invalid viewstate”(仅用于此步骤),并且我的正则表达式变量显示在错误消息中-ViewState:$ {eventValidation}

我尝试了很多正则表达式

<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="(.+?)" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="([-;,':\*\/\}\{\=\[\]\)\(0-9a-zA-Z]*)" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="([^'"]+)" />

以上三种类型均失败。

实际记录的__VIEWSTATE参数值为

/wEPDwUKLTk1MjY2MTc3Mw9kFgJmD2QWAgIDD2QWDgICDw8WAh4EVGV4dAUNUFJBVElLIEdPVVJBVmRkAgQPFgIeB1Zpc2libGVoZAIGDxYCHwAFlwc8YSBocmVmPScjJyBkYXRhLWlkPSc0MDAwKk9yZ1N1bW1hcnkuYXNweCcgIGlkPSdsaW5rMScgY2xhc3M9J3JlcG9ydF9saW5rJyB0aXRsZT0nT3JnYW5pemF0aW9uYWwgRGFzaEJvYXJkJz48ZGl2IGNsYXNzPSdyZXBvcnQtYm94X2FjdGl2ZSc+T3JnYW5pemF0aW9uYWw8ZGl2IGNsYXNzPSdvcmdpbWdfYWN0aXZlJz48L2Rpdj48L2Rpdj48L2E+PGEgaHJlZj0nIycgZGF0YS1pZD0nNDAwMSpQcmFjdGljZU92ZXJ2aWV3LmFzcHgnICBpZD0nbGluazInIGNsYXNzPSdyZXBvcnRfbGluaycgdGl0bGU9J1ByYWN0aWNlIERhc2hCb2FyZCc+PGRpdiBjbGFzcz0ncmVwb3J0LWJveCc+UHJhY3RpY2U8ZGl2IGNsYXNzPSdwcmFpbWcnPjwvZGl2Pj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FHWN0bDAwJGdyZExvb2t1cFllYXJTaW5nbGUkREREBSBjdGwwMCRncmRMb29rdXBZZWFyU2luZ2xlJERERCRndgUTY3RsMDAkYnRuVmlld1JlcG9ydAUaY3RsMDAkTWFpbkNvbnRlbnQkU3BsaXR0ZXIFQmN0bDAwJE1haW5Db250ZW50JFNwbGl0dGVyJEFTUHhDYWxsYmFja1BhbmVsMSRBU1B4RGFzaGJvYXJkVmlld2VyMQUjY3RsMDAkTWFpbkNvbnRlbnQkQVNQeFBvcHVwQ29udHJvbDEFNGN0bDAwJE1haW5Db250ZW50JEFTUHhQb3B1cENvbnRyb2wxJGRkbEV4cG9ydEdyZCREREQFMGN0bDAwJE1haW5Db250ZW50JEFTUHhQb3B1cENvbnRyb2wxJGJ0bkV4cG9ydEdyZAUxY3RsMDAkTWFpbkNvbnRlbnQkQVNQeFBvcHVwQ29udHJvbDEkQVNQeEdyaWRWaWV3MQVBY3RsMDAkTWFpbkNvbnRlbnQkQVNQeFBvcHVwQ29udHJvbDEkQVNQeEdyaWRWaWV3MSREWEZpbHRlclJvd01lbnWvw9p8AjNAVpNNPO8yCRnMOv+oPcj4lLahyNr23EDC4w==

请注意,上面的值包含多个“ /////”

显示的错误是:0|/*DX*/({'generalError':'Invalid viewstate. \r\n\tClient IP: 61.12.77.210\r\n\tPort: 60301\r\n\tReferer: \r\n\tPath: /PPODevX/OrgSummary.aspx\r\n\tUser-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\r\n\tViewState: ${eventValidation}'})

请告诉我是否还有其他要求

预先感谢

当我对__VIEWSTATE,__ VIEWSTATEGENERATOR,__ EVENTVALIDATION进行硬编码时,我得到了正确的响应数据。

请在下面的屏幕快照中找到硬编码结果。

1. HTTP Request Parameters - Hard Coded

使用CSS / Jquery提取器变量的屏幕截图

1. HTTP Request Parameter - CSS/JQUERY

2. VIEWSTATE - CSS/JQUERY

3. VIEWSTATEGENERATOR - CSS/JQUERY

4. EVENTVALIDATION - CSS/JQUERY

使用CSS / JQUERY响应数据

0|/*DX*/({'generalError':'Invalid viewstate. \r\n\tClient IP: 61.12.77.210\r\n\tPort: 17420\r\n\tReferer: \r\n\tPath: /PPODevX/OrgSummary.aspx\r\n\tUser-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\r\n\tViewState: ${VIEWSTATE}'})

1 个答案:

答案 0 :(得分:0)

CSS/JQuery Extractor元素用于以下配置:

CSS/JQuery Extractor