Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHi,
when you are using load test every test case is running in separate thread.
And ThreadIndex property is counting from 0 to number of threads you choosen.
You can use this ThreadIndex property to fetch indexed row from your file.
Example:
on test case level add 5 properties :
book - value0
book1 - value1
book2 - value2
book3 - value3
book4 - value4
then in test request
12
${#TestCase#book${#ThreadIndex}}
GBR
when you run load test with 5 threads you will have requests like this
...
book0
...
...
book1
...
...
book2
...
Hope this helps
Regards Nebojsa
eviware.com
when you are using load test every test case is running in separate thread.
And ThreadIndex property is counting from 0 to number of threads you choosen.
You can use this ThreadIndex property to fetch indexed row from your file.
Example:
on test case level add 5 properties :
book - value0
book1 - value1
book2 - value2
book3 - value3
book4 - value4
then in test request
when you run load test with 5 threads you will have requests like this
...
...
...
...
...
...
Hope this helps
Regards Nebojsa
eviware.com