zhenrong
16 years agoNew Contributor
SOAPUI 3.5 - can't load my own workspace file from a commandline
We recently upgraded from SOAPUI 2.0.2 to SOAPUI 3.5 and some of our existing working automation tests broke. I'm hoping this is just something simple that we missed.
Two problems:
1. We have ant target which we call to invoke SOAPUI GUI if we see some of our automation tests fail (we run via Eclipse), that ant target basically is same as soapui.bat but we pass in the workspace file like this:
ant -Dworkspace.file=test-soapui-workspace.xml soapui.gui
This always works for us when we use 2.0.2 version, with 3.5, I noticed that it just ingore this arg and always pick up the defauly workspace file instead, which is default-soapui-workspace.xml
2. I used the JRE that comes with SOAPUI 3.5, everytime when I run above command(ant -Dworkspace.file=test-soapui-workspace.xml soapui.gui), I get the following:
Unable to locate tools.jar. Expected to find it in C:\Program Files\eviware\soapUI-3.5\lib\tools.jar
If I change to use the JDK (1.5.12), it works.
Any idea/suggestion as how I can solve these two problems?
Thanks,
Zhenrong
Two problems:
1. We have ant target which we call to invoke SOAPUI GUI if we see some of our automation tests fail (we run via Eclipse), that ant target basically is same as soapui.bat but we pass in the workspace file like this:
ant -Dworkspace.file=test-soapui-workspace.xml soapui.gui
This always works for us when we use 2.0.2 version, with 3.5, I noticed that it just ingore this arg and always pick up the defauly workspace file instead, which is default-soapui-workspace.xml
2. I used the JRE that comes with SOAPUI 3.5, everytime when I run above command(ant -Dworkspace.file=test-soapui-workspace.xml soapui.gui), I get the following:
Unable to locate tools.jar. Expected to find it in C:\Program Files\eviware\soapUI-3.5\lib\tools.jar
If I change to use the JDK (1.5.12), it works.
Any idea/suggestion as how I can solve these two problems?
Thanks,
Zhenrong