jmeter关联需要注意的地方

1,正则表达式提取器,在下一个http请求的路径格式:/S?wd=${title}

 

 

 

 

2,xpath提取器,在下一个http请求的路径格式:/S?wd=${title}

 

 

 

 

 

0
,3,json提取器,在下一个http请求的路径格式:/S?wd=${city}
 

 

 


 

0
 
4,跨线程组关联,添加beanshell取样器(jmeter属性)(需要添加函数(使用函数助手,设置函数${__setProperty(city_P,${city},)}
${__property(city_P,,)}),
 
ip:www.weather.com.cn      路径:/data/sk/101010100.html

 

 

 

 

 

 

${__setProperty(city_P,${city},)}
${__property(city_P,,)}
0
 

 

 

posted @ 2022-04-22 12:04  hello20008  阅读(30)  评论(0)    收藏  举报