本文介绍了jmeter中的正则表达式提取器,用于从响应中提取多个值.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该文本是我的Jmeter请求的响应.我必须得到ReportstepID,其中dataurl="TC/ReviewAdditionalInfo.aspx?.ReportIDFacility ID's是参数.

The text is a response from my Jmeter request. I have to get the ReportstepID where dataurl="TC/ReviewAdditionalInfo.aspx?.ReportID,Facility ID's are parameters.

dataload="0" dataurl="TC/ReviewAdditionalInfo.aspx?ReportID=319844&FacilityID=201217&ReportStepID=2916158&RptShortName=TC"
dataload="1" dataurl="ReviewFeeExemption.aspx?ReportID=319844&FacilityID=201217&ReportStepID=2916162&RptShortName=TC"

推荐答案

添加正则表达式:

正则表达式:ReviewAdditionalInfo.aspx \?ReportID =(\ d +)& FacilityID =(\ d +)& ReportStepID =(\ d +)

Regular expression: ReviewAdditionalInfo.aspx\?ReportID=(\d+)&FacilityID=(\d+)&ReportStepID=(\d+)

模板$ 3 $

第一场比赛

这篇关于jmeter中的正则表达式提取器,用于从响应中提取多个值.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 07:05