Forum Discussion

Luzid's avatar
Luzid
New Contributor
13 years ago

Script doesnt work in LOADUI

Hi
I have this short script as a teststep in a testcase:
testRunner.testCase.testSuite.setPropertyValue("counter", (Integer.toString(Integer.parseInt(testRunner.testCase.testSuite.getPropertyValue("counter"))+1)))

When I run the testcase in SOAPUI loadtesting it works fine, but in LOADUI it doesnt do anything. Does anyone have any idea what I have done wrong?

1 Reply

  • Luzid's avatar
    Luzid
    New Contributor
    nevermind, solved it. I had to rightclick on the SOAPUI load test and then select convert to LOADUI testCase. Loading the project file and then selecting the testcase in the SOAPUI runner didnt work.