jmeter獲取響應數據中參數值的常用方式(JSON提取器 、正則表達式提取器 、XPath提取器 、Bean Shell PostProcessor)
阿新 • • 發佈:2019-01-09
選擇 正則表達 pos alt 正則表達式 格式 processor info 表達
JSON提取器:
XPath提取器:
返回數據格式是HTML的時候,選擇使用此種方式。
正則表達式提取器:
圖中Field to check勾選的是Response Headers,獲取的是請求頭裏的參數值。
Bean Shell PostProcessor腳本獲取方式:
jmeter獲取響應數據中參數值的常用方式(JSON提取器 、正則表達式提取器 、XPath提取器 、Bean Shell PostProcessor)