Jmeter当前线程数? [英] Jmeter Current Thread Number?

查看:18
本文介绍了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆