LoadTest
I use soapUI 4.5.1.
I have a TestSuite with 4 steps, see below, and a Load Test.
Now I will say what each TestStep do in this context.
- Properties; I create one variable "number" and set a value ( eg: 100);
- Groovy Script : I increment this variable with (+1) and set the new value;
- Property Transfer : I transfer the value from variable "number" and put on element in XML inside the Request.
My goal it is run the LoadTest "LoadTest-Request" and check the time for each request on interval of 60 seconds.
My problem it is that each request don't update with the new value executed on Step "Property Transfer".
Hi,
It seems you are setting the property against a property TestStep, can you try setting it against the TestCase instead e.g.
//set it with testRunner.testCase.setPropertyValue("numberprop", String. valueOf(number)) //can get it with def number = Integer.parseInt(context.expand('${#TestCase#numberprop}'))
?
OK, one thread - I think it still creates a clone of the TestCase, has been a while since I tried it.
Regards,
Rupert