Forum Discussion
JimL
15 years agoContributor
Hi Finan,
So, your "id_generator" acts as a kind of semaphore/mutex, but also generates a unique id each time it is run?
Re.
When creating a new run test case test step, I can see where I can select return properties, but I don't see anywhere to set "SINGLETON_AND_WAIT" when creating a new test step?
There's a setting for "Run Mode", with 3 choices (radio buttons):
- Create isolated copy for each run (Thread safe)
- Run primary Test case (fail if already running)
- Run primary Test case (wait for running to finish, Thread safe)
Is the "SINGLETON_AND_WAIT" one of the above 3 Run Modes?
Thanks!
Jim
P.S. We're using non-Pro SOAPUI...
So, your "id_generator" acts as a kind of semaphore/mutex, but also generates a unique id each time it is run?
Re.
You can add a runTestCase testStep in your loadTestCase, set the property id as return value and set the runmode of the testStep to "SINGLETON_AND_WAIT" (First selectable option).
When creating a new run test case test step, I can see where I can select return properties, but I don't see anywhere to set "SINGLETON_AND_WAIT" when creating a new test step?
There's a setting for "Run Mode", with 3 choices (radio buttons):
- Create isolated copy for each run (Thread safe)
- Run primary Test case (fail if already running)
- Run primary Test case (wait for running to finish, Thread safe)
Is the "SINGLETON_AND_WAIT" one of the above 3 Run Modes?
Thanks!
Jim
P.S. We're using non-Pro SOAPUI...