Unique property name for each thread with context.ThreadIndex
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2018
04:15 AM
12-17-2018
04:15 AM
Unique property name for each thread with context.ThreadIndex
Hello
It is necessary for me, during a load test, in each thread, to have a property with a unique name so that it can be accessed by a thread during the execution of a certain number of steps.
In this manual written about the context.ThreadIndex property.
I tried to use it, but when using such a script:
testRunner.testCase.setPropertyValue ("EmployeePersonId" + context.ThreadIndex, result))
I only create the EmployeePersonId0 property, and all threads use it to write their variable. And I need to create EmployeePersonId0, EmployeePersonId1, EmployeePersonId2, EmployeePersonId3 ...
And each thread used its own variable.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019
06:45 AM
01-31-2019
06:45 AM
@technomage,
Would you mind showing / explain why or how the properties are going to be used?
Regards,
Rao.
Would you mind showing / explain why or how the properties are going to be used?
Regards,
Rao.
