alibaba82
17 years agoSuper Contributor
Dynamically changing Datasource file
Hello,
I am running a load test with 5 threads. I have 5 external text files Which contain data for my requests.
I want thread0 to access file0.txt, thread1 to access file1.txt ... and so on. Is it possible to write some groovy script before the datasource step that will modify the File location for each thread's context so that the datasource in thread0 will be c:\...\file0.txt etc etc
Thanks
Ali
I am running a load test with 5 threads. I have 5 external text files Which contain data for my requests.
I want thread0 to access file0.txt, thread1 to access file1.txt ... and so on. Is it possible to write some groovy script before the datasource step that will modify the File location for each thread's context so that the datasource in thread0 will be c:\...\file0.txt etc etc
Thanks
Ali