Forum Discussion

MasterBlaster's avatar
MasterBlaster
New Contributor
11 years ago

Complex testcase + Load Tests

Description: I made customized test -at the beginning I read some properties from text file and based on this information I add/remove some assertion. It works well in single test.
However, now I need to run some load tests and this solution needs to be rebuild. The test case is shared among all threads and the change made by one thread is overwritten by another one. (I guess this is intended feature.)

Question: Is there any way to "change the test case" just for the running thread? Some isolated instance, shadow copy...

Possible solution: The only way I see, is to create "fixed assertion" and to transform textfile variables into local ones (context.*) and use them in assertion or script assertion.

Thank you for any comments.
No RepliesBe the first to reply