标签:beans ble 处理 jmeter targe ima target 控制 body
1 import java.util.regex.Matcher;
2 import java.util.regex.Pattern;
3
4 ip = vars.get("ip");
5 subs = "\"ip\"";
6 Pattern pattern = Pattern.compile(subs);
7 Matcher matcher = pattern.matcher(ip);
8 int count=0;
9 while(matcher.find()){
10 count++;
11 }
12 System.out.println(count);
|
标签:beans ble 处理 jmeter targe ima target 控制 body
原文地址:http://www.cnblogs.com/hc1020/p/7717258.html