Function : __threadNum

The thread number function simply returns the number of the thread currently being executed. These numbers are independent of ThreadGroup, meaning thread #1 in one thread group is indistinguishable from thread #1 in another thread group, from the point of view of this function.

There are no arguments for this function.

Syntax : ${__threadNum}

Please download the example script from below link :

https://www.dropbox.com/sh/c0utecr4t87ez7v/2m4OIULEkV