ERROR: cannot get error line number!
Hello,
i get an error message with NullPointerException if I try to run test case from another project, like:
def workspace = testRunner.getTestCase().getTestSuite().getProject().getWorkspace()
def SimulatorProject = workspace.getProjectByName(inproject)
if (SimulatorProject == null) {
log.info "Input parameter ERROR: Project " + inproject + " is not found in workspace"
testRunner.fail("Input parameter ERROR: Project " + inproject + " is not found in workspace")
return
}
def SimulatorTS = SimulatorProject.getTestSuiteByName(intestsuite)
def SimulatorTC = SimulatorTS.getTestCaseByName(intestcase)
def runner = SimulatorTC.run(properties, false)
This happens after switching from SoapUI 5.1.2 to Ready!API. I guess this connected with new feature TestRunHistory which probably seems to work not properly.
Anybody same experience or ideas how to fix the problem?
I trying first set Test History Limit Size to 0 in preferences. But this hang up Ready!API totally.