Ask a Question

Workspace null in SOAPUI while running from unix

SOLVED
k15
New Member

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.

 

2 REPLIES 2

Hi @k15,

 

Try to use this code:

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


Kirill Zakharov
Customer Care Team

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Olga_T
SmartBear Alumni (Retired)

Hi all,

 

@KirillZakharov, thank you for the suggestion.

 

@k15, have you had a chance to try this? Does this help?


Olga Terentieva
SmartBear Assistant Community Manager

cancel
Showing results for 
Search instead for 
Did you mean: