Forum Discussion

k15's avatar
k15
New Member
5 years ago

Workspace null in SOAPUI while running from unix

i am trying to run below :

 

project = testRunner.getTestCase().getTestSuite().getProject().getWorkspace().getProjectByName("Automation Base")

While this runs successfully when i do it from SOAPUI GUI but when i am triggering same script from unix, its not returning workspace.

testRunner.getTestCase().getTestSuite().getProject().getWorkspace() is null.

 

  • Hi k15,

     

    Try to use this code:

    project = new WsdlProject("Full path to the project")