I am new to Jmeter. I am trying to test a functionality of my application by setting multiple threads, using stepping thread group. I somehow, managed to get the folder creation like sample-1, sample-2 and so on where 1,2.. are the numbers of threads.One of the HTTP Requests requires body data which has file path as a json parameter.Is there any way to access the threadNum function inside the post body data or any other way in which i can change the filepath parameter for every thread without changing it manually?
My body data looks like: [{"filePath":"sample-1/file-1.txt", "id":123},{"filePath":"sample-2/file-2.txt", "id":124}....}]