Forum Discussion
Westpac_Banking
13 years agoOccasional Contributor
Hi Erik,
I am also facing the same problem while trying to run the SoapUI project file from Terminal.
Error Message: Missing soapUI project file..
OS: Mac OS X
OS Version: 10.7.5
SOAPUI: SOAPUI-Pro-4.5.1
Please find the steps followed below.
1. Right click on SOAPUI project and clicked on Launched TestRunner
Under Basic Tab
2. Selected a TestSuite and TestCase.
3. Clicked on Browse button and selected the bin folder of the soapui pro installation as attached below
/Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app/bin
4. Checked "Ignore Errors" checkbox.
Under Reports Tab
5. Checked "Print Report" checkbox.
6. Entered values for Report to Generate and Report Format as below.
Report to Generate: SonarTestReport
Report Format: PDF
7. Clicked on the button "Launch"
8. SoapUI TestRunner is launched and it executed as expected with the TestCaseRunner Summary as below.
Running soapUI TestRunner for [SonarWebServices]
directory: /Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app/bin
command: sh -c ./testrunner.sh -sSonar-Webservices -cgetCorrespondanceRequest -r -RSonarTestReport -FPDF -EDefault -I /Users/imguser/Desktop/SonarWebService-soapui-project.xml
Find the full log in the attachment below.
9. Launched the Terminal
10. Went to the SoapUI Pro bin directory /Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app/bin
11. Pasted "sh -c ./testrunner.sh -sSonar-Webservices -cgetCorrespondanceRequest -r -RSonarTestReport -FPDF -EDefault -I /Users/imguser/Desktop/SonarWebService-soapui-project.xml" and enter
12. Getting error as below.
imgusers-Mac-mini-37:bin imguser$ sh -c ./testrunner.sh -sSonar-Webservices -cgetCorrespondanceRequest -r -RSonarTestReport -FPDF -EDefault -I /Users/imguser/Desktop/SonarWebService-soapui-project.xml
================================
=
= SOAPUI_HOME = /Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app
=
================================
soapUI Pro 4.5.1 TestCase Runner
usage: testrunner [options] <soapui-project-file>
-F Report format. Used with -R. Valid options PDF, XLS, HTML, RTF,
CSV, TXT, and XML (comma-separated)
-v Sets password for soapui-settings.xml file
-t Sets the soapui-settings.xml file to use
-A Turns on exporting of all results using folders instead of long
filenames
-D Sets system property with name=value
-E Sets the environment
-G Sets global property with name=value
-I Do not stop if error occurs, ignore them
-M Creates a Test Run Log Report in XML format
-P Sets or overrides project property with name=value
-R Report to Generate
-S Saves the project after running the tests
-a Turns on exporting of all results
-c Sets the testcase
-d Sets the domain
-e Sets the endpoint
-f Sets the output folder to export results to
-g Sets the output to include Coverage HTML reports
-h Sets the host
-i Enables Swing UI for scripts
-j Sets the output to include JUnit XML reports
-m Sets the maximum number of TestStep errors to save for each
testcase
-o Opens generated report(s) in a browser
-p Sets the password
-r Prints a small summary report
-s Sets the testsuite
-u Sets the username
-w Sets the WSS password type, either 'Text' or 'Digest'
-x Sets project password for decryption if project is encrypted
Missing soapUI project file..
imgusers-Mac-mini-37:bin imguser$
It would be great if you could help me out to resolve this issue.
Please do let me know in case of any further details required.
Thanks,
Udhaya
I am also facing the same problem while trying to run the SoapUI project file from Terminal.
Error Message: Missing soapUI project file..
OS: Mac OS X
OS Version: 10.7.5
SOAPUI: SOAPUI-Pro-4.5.1
Please find the steps followed below.
1. Right click on SOAPUI project and clicked on Launched TestRunner
Under Basic Tab
2. Selected a TestSuite and TestCase.
3. Clicked on Browse button and selected the bin folder of the soapui pro installation as attached below
/Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app/bin
4. Checked "Ignore Errors" checkbox.
Under Reports Tab
5. Checked "Print Report" checkbox.
6. Entered values for Report to Generate and Report Format as below.
Report to Generate: SonarTestReport
Report Format: PDF
7. Clicked on the button "Launch"
8. SoapUI TestRunner is launched and it executed as expected with the TestCaseRunner Summary as below.
Running soapUI TestRunner for [SonarWebServices]
directory: /Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app/bin
command: sh -c ./testrunner.sh -sSonar-Webservices -cgetCorrespondanceRequest -r -RSonarTestReport -FPDF -EDefault -I /Users/imguser/Desktop/SonarWebService-soapui-project.xml
Find the full log in the attachment below.
9. Launched the Terminal
10. Went to the SoapUI Pro bin directory /Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app/bin
11. Pasted "sh -c ./testrunner.sh -sSonar-Webservices -cgetCorrespondanceRequest -r -RSonarTestReport -FPDF -EDefault -I /Users/imguser/Desktop/SonarWebService-soapui-project.xml" and enter
12. Getting error as below.
imgusers-Mac-mini-37:bin imguser$ sh -c ./testrunner.sh -sSonar-Webservices -cgetCorrespondanceRequest -r -RSonarTestReport -FPDF -EDefault -I /Users/imguser/Desktop/SonarWebService-soapui-project.xml
================================
=
= SOAPUI_HOME = /Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app
=
================================
soapUI Pro 4.5.1 TestCase Runner
usage: testrunner [options] <soapui-project-file>
-F Report format. Used with -R. Valid options PDF, XLS, HTML, RTF,
CSV, TXT, and XML (comma-separated)
-v Sets password for soapui-settings.xml file
-t Sets the soapui-settings.xml file to use
-A Turns on exporting of all results using folders instead of long
filenames
-D Sets system property with name=value
-E Sets the environment
-G Sets global property with name=value
-I Do not stop if error occurs, ignore them
-M Creates a Test Run Log Report in XML format
-P Sets or overrides project property with name=value
-R Report to Generate
-S Saves the project after running the tests
-a Turns on exporting of all results
-c Sets the testcase
-d Sets the domain
-e Sets the endpoint
-f Sets the output folder to export results to
-g Sets the output to include Coverage HTML reports
-h Sets the host
-i Enables Swing UI for scripts
-j Sets the output to include JUnit XML reports
-m Sets the maximum number of TestStep errors to save for each
testcase
-o Opens generated report(s) in a browser
-p Sets the password
-r Prints a small summary report
-s Sets the testsuite
-u Sets the username
-w Sets the WSS password type, either 'Text' or 'Digest'
-x Sets project password for decryption if project is encrypted
Missing soapUI project file..
imgusers-Mac-mini-37:bin imguser$
It would be great if you could help me out to resolve this issue.
Please do let me know in case of any further details required.
Thanks,
Udhaya