Jmeter当前线程号? [英] Jmeter Current Thread Number?
本文介绍了Jmeter当前线程号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在通过HTTP请求使用线程数= 5的线程组.
I am using a Thread Group with Number Of Threads = 5 with an HTTP request.
在请求中,我想包含一个带有线程号值的参数,例如
In the request I want to include a parameter with the value of the thread number, e.g.,
"pageno": ${threadno}
我想获得像${threadno}
这样的线程号.
I want to get the thread number like ${threadno}
.
我该怎么做?
推荐答案
线程号可用:
${__threadNum}
请参阅:功能参考
这篇关于Jmeter当前线程号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文