Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHello,
Each thread runs test case only once. In SetUp script for loadtest load property file and add properties to test case ( book1, book2, etc)
than in request you could have :
So, each thread will send one request with one book based on thread index.
Let me know does it helps,
robert
Each thread runs test case only once. In SetUp script for loadtest load property file and add properties to test case ( book1, book2, etc)
than in request you could have :
<pub:BookBuyRequest>
<!--Optional:-->
<com:bookId>12</com:bookId>
<!--Optional:-->
<com:bookName>${#TestCase#book${#ThreadIndex}}</com:bookName>
<!--Optional:-->
<com:Language>GBR</com:Language>
</pub:BookBuyRequest>
So, each thread will send one request with one book based on thread index.
Let me know does it helps,
robert