Jmeter Current Thread Number

jmetermultithreading

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}

I want to get the thread number like ${threadno}.

How can I do that?

Best Solution

The thread number is available as:

${__threadNum}

See: functions reference