Forum Discussion
12 years ago
Hello,
Is the fix planned for the non-pro version of SoapUI ? When can we hope such a fix ?
Additional question:
jsoderstrom talked about 2 different tests cases A and B sharing the same cookies. What about a unique test case A executed several times in parallel (load test) ?
Imagine a test case A with the following steps:
- Step 1 : get a page P1 (returning a cookie C)
- Step 2 : get a page P2 (sending the cookie C to retrieve the page properly)
Now, imagine the test case A is run twice in parallel (let's name the 2 instances A1 and A2) and the following sequence of actions is done:
a) A1 : step 1 >> value of cookie C = C1
b) A2 : step 1 >> value of cookie C = C2
c) A1 : step 2
d) A2 : step 2
Which cookie value will be sent in c) ? Will we have C1 (the expected value) or C2 (which corresponds to the last value retrieved by an instance of the test case, but is not the correct value) ?
In other words, with the fix mentioned by Erik, will each instance of a same test case have its own cookies or not ? (especially in case or parallel execution)
Thanks in advance.
Regards.
Is the fix planned for the non-pro version of SoapUI ? When can we hope such a fix ?
Additional question:
jsoderstrom talked about 2 different tests cases A and B sharing the same cookies. What about a unique test case A executed several times in parallel (load test) ?
Imagine a test case A with the following steps:
- Step 1 : get a page P1 (returning a cookie C)
- Step 2 : get a page P2 (sending the cookie C to retrieve the page properly)
Now, imagine the test case A is run twice in parallel (let's name the 2 instances A1 and A2) and the following sequence of actions is done:
a) A1 : step 1 >> value of cookie C = C1
b) A2 : step 1 >> value of cookie C = C2
c) A1 : step 2
d) A2 : step 2
Which cookie value will be sent in c) ? Will we have C1 (the expected value) or C2 (which corresponds to the last value retrieved by an instance of the test case, but is not the correct value) ?
In other words, with the fix mentioned by Erik, will each instance of a same test case have its own cookies or not ? (especially in case or parallel execution)
Thanks in advance.
Regards.
Related Content
- 2 years ago
- 14 years ago
- 3 years ago