I have a problem where testRunner / context / log are not available anymore in the script after running another testcase in this script (error e.g. groovy.lang.MissingPropertyException: No such property: context for class: Script1).
Since the situation is quite complicated, I have made a project illustrating the problem if you run the testcase 'start'. Can you help me out what is the problem here? I'm using SoapUI-5.4.0.
there is nothing really compicated with your script at first. I usually set a context property using this
after that you can access this property by using
Have you tried this approach?
Yes i am agreed with @nmrao, the way you have created your framework is quite tricky because when you run in this cyclic way it just losses the Context.
So the main problem which i found is with context.testvar="5" in your handle groovy script.
So reconsider about the design of your framework.