Forum Discussion
saketc
11 years agoNew Contributor
HI,
Apologies for the delay in replying.
I define property - "sessionidProp" in Test Case 1, and define another property called "sessionidProp" in Test Case 2.
The Test Case1 fetches the sessionId from a Response. And then does a property transfer to its property called "sessionIdProp"
According to this link http://www.loadui.org/Load-Testing-soap ... rring.html,
the property names on both test cases should be same.
". Please note that it's crucial that both of the TestCases have a TestCase Property with the same name!"
But it doesnt seem to work for me.
That is one problem.
Another problem is that, in continuation with the above test case.
If I write a groovy script which just reads the current property "sessionidProp" from Test Case1 & Sets it to "sessionIdProp" of Test Case2, i.e
TestCase1.sessionIdProp --> TestCase2.sessionIdProp. This works fine in a normal test Run on soapui.
In LoadUI pro, I wire the Test Case1 to Test Case2. And apply a load.
But TestCAse2.sessionIdProp is not set correctly.
Which bring me to the question -
In LoadUI, does each TestCase run in its own Thread for each Request ?
How does one flow any Information between Test Cases in loadui.
I am using the latest versions - SOAP UI Pro 4.6.3(Trial) & Load UI Pro 2.6.6 trial.
Thanks & Regards
S
Apologies for the delay in replying.
I define property - "sessionidProp" in Test Case 1, and define another property called "sessionidProp" in Test Case 2.
The Test Case1 fetches the sessionId from a Response. And then does a property transfer to its property called "sessionIdProp"
According to this link http://www.loadui.org/Load-Testing-soap ... rring.html,
the property names on both test cases should be same.
". Please note that it's crucial that both of the TestCases have a TestCase Property with the same name!"
But it doesnt seem to work for me.
That is one problem.
Another problem is that, in continuation with the above test case.
If I write a groovy script which just reads the current property "sessionidProp" from Test Case1 & Sets it to "sessionIdProp" of Test Case2, i.e
TestCase1.sessionIdProp --> TestCase2.sessionIdProp. This works fine in a normal test Run on soapui.
In LoadUI pro, I wire the Test Case1 to Test Case2. And apply a load.
But TestCAse2.sessionIdProp is not set correctly.
Which bring me to the question -
In LoadUI, does each TestCase run in its own Thread for each Request ?
How does one flow any Information between Test Cases in loadui.
I am using the latest versions - SOAP UI Pro 4.6.3(Trial) & Load UI Pro 2.6.6 trial.
Thanks & Regards
S