dvjensen17
10 years agoOccasional Contributor
Groovy Test Step not running while integrated into Jenkins.
I developed my test suites on Windows Ready API! 1.4.1 and use SVN to place those test suites in a repository. I configured the pom.xml so that the test suite is running but there are Groovy Test Ste...
- 10 years ago
I mean try with the changes as modifed in below script (earlier suggested to use context in place of testRunner, not sure though why Jenkins unable to determine context while soapUI can work fine)
//Get existing value def count = testRunner.testCase.testSuite.project.properties['createAccountCount'].value as int //Set the next value and put it back to project property testRunner.testCase.testSuite.project.properties['createAccountCount'].value = (count+1).toString()