码迷,mamicode.com
首页 > Web开发 > 详细

jmeter获取响应数据中参数值的常用方式(JSON提取器 、正则表达式提取器 、XPath提取器 、Bean Shell PostProcessor)

时间:2019-01-09 17:35:25      阅读:327      评论:0      收藏:0      [点我收藏+]

标签:info   inf   格式   com   pos   数值   response   headers   技术   

 JSON提取器:

技术分享图片

 

XPath提取器:

返回数据格式是HTML的时候,选择使用此种方式。

技术分享图片

 

 

正则表达式提取器:

图中Field to check勾选的是Response Headers,获取的是请求头里的参数值。

技术分享图片

 

Bean Shell PostProcessor脚本获取方式:

技术分享图片

 

jmeter获取响应数据中参数值的常用方式(JSON提取器 、正则表达式提取器 、XPath提取器 、Bean Shell PostProcessor)

标签:info   inf   格式   com   pos   数值   response   headers   技术   

原文地址:https://www.cnblogs.com/zeqi666/p/10245454.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!