bhasha
8 years agoOccasional Contributor
Does the clone method for TestSteps lock the request being cloned?
I am executing test cases in parallel. Instead of having the requests in each test case I drive them using Groovy.
I have a set of base requests that the test cases share. When the test case uses a request it clones the request from the base requests to it's test case, executes it, and then deletes it.
I believe the clone method is locking the request so when two test cases attempt to clone the base request at the EXACT same time then they both fail.
So I have two questions:
Has anyone else experienced this?
Is there a way to do a read-only lock so that the clone can be executed more than once at the exact same time?
Thanks in advance for your time.