Regular expression extractor issue in Jmeter for the following
Jmeter中的正则表达式提取器问题如下
I would like to extract cuen from the following code.I have taken like this
我想从以下代码中提取出来。我这样做了
href="/EPSF/EPSFEmpIndex.jsp?cuen=\"(.*)\"\"
Please help for this
请帮忙
href="/EPSF/EPSFEmpIndex.jsp?cuen=}>aff>(faaafa>aa^>>ffcfaaff>ffaf>f>aa>>>fa>a>fa>a>aa|<f{(>(f" onMouseOver="window.status=''; return true" onClick="window.status=''; return true" onMouseOut="window.status='';return true" title="IPSF 2014-2015" target=mainfrm>IPSF 2014-2015
I would like to extract from this page and pass to next screen
我想从这个页面中提取并传递到下一个屏幕
" [1]: http://i.stack.imgur.com/1jRzn.jpg "
“[1]:http://i.stack.imgur.com/1jRzn.jpg”
1 个解决方案
#1
1
Use Regular expression extractor with below regular expression,
使用正则表达式提取器和正则表达式,
cuen\=(.*)" onMouseOver
In regex extractor you can provide which occurance you want to extract. Match no. is the name of parameter and its value shoud be 1 in your case for first match.
在正则表达式提取器中,您可以提供要提取的内容。比赛号码是参数的名称,在第一次匹配的情况下,它的值应为1。
use this as reference : Regular Expression Extractor
使用它作为参考:正则表达式提取器
#1
1
Use Regular expression extractor with below regular expression,
使用正则表达式提取器和正则表达式,
cuen\=(.*)" onMouseOver
In regex extractor you can provide which occurance you want to extract. Match no. is the name of parameter and its value shoud be 1 in your case for first match.
在正则表达式提取器中,您可以提供要提取的内容。比赛号码是参数的名称,在第一次匹配的情况下,它的值应为1。
use this as reference : Regular Expression Extractor
使用它作为参考:正则表达式提取器