Forum Discussion
Nikolaj
13 years agoOccasional Contributor
Thanks for the answer!
When I start Groovy script as a TestCase step:
Error occurs: java.lang.NullPointerException: Cannot invoke method getLoadTestByName() on null object
What am I doing wrong ?
An as example attached soapui project
When I start Groovy script as a TestCase step:
def loadTest = testRunner.testCase.testSuite.getTestCaseByName('TestCase1').getLoadTestByName('LoadTest1')
loadTest.run()
Error occurs: java.lang.NullPointerException: Cannot invoke method getLoadTestByName() on null object
What am I doing wrong ?
An as example attached soapui project