cancel
Showing results for 
Search instead for 
Did you mean: 

Missing SoapUI Project file.. in Testrunner.bat

New Contributor

Missing SoapUI Project file.. in Testrunner.bat

Hi,

I am trying to run TestSuite using command line in Windows XP. When i try to run a TestSuite
in SoapUi Pro using Launch Testrunner (Launched by right clicking on the TestSuite and selecting 'Launch Testrunner') it works fine i.e i get message 'Execution finished successfully'. But when i try to run the command generated by Launch Testrunner in the command prompt i get the following error

soapUI Pro 3.5.1 TestCase Runner
usage: testrunner [options] <soapui-project-file>
-o Opens the JUnit-Style and/or Coverage Report in a browser (with the
-j and/or -g options)
-F Report format. Used with -R. Valid options PDF, XLS, HTML, RTF,
CSV, TXT, and XML (comma-seperated)
-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
-G Sets global property with name=value
-I Do not stop if error occurs, ignore them
-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
-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..

What does it mean by 'Missing soapUI project file'?
Do i need to do any path settings in Launch Testrunner before running it to get the command.
Kindly help..

Thanks in advance.
19 REPLIES 19
New Contributor

Re: Missing SoapUI Project file.. in Testrunner.bat

The above query is real urgent........
Please help me..
Occasional Contributor

Re: Missing SoapUI Project file.. in Testrunner.bat

Hello Ole,
Looks most of the people getting above error while running test from cmd.

Please help us to resolve this issue

Urgent
Thanks
Contributor

Re: Missing SoapUI Project file.. in Testrunner.bat

Can we have the command linne used ?
An good advice is to dig in their code.
Your problem is due to this line :
http://www.soapui.org/xref/com/eviware/soapui/tools/AbstractSoapUIRunner.html#118
Try understand with that what was wrong.
An other solution is to use the maven plugin.
New Contributor

Re: Missing SoapUI Project file.. in Testrunner.bat

Hi everyone,

I found solution to above query. I installed soapUI-3.6.1 and was able to run the testcase from cmd.
So i guess the above problem is encountered with soapUI-Pro 3.5.1 evaluation version

Thanks all
Regards
Sujay
Occasional Contributor

Re: Missing SoapUI Project file.. in Testrunner.bat

Hi Ole,

Able to launch test runner from TFS successfully and able to generate test results as expected, but I am looking code coverage nodes need to display with in the logs, is there any way to capture coverage nodes with in the logs?

Right now displays below test summary

SoapUI 3.6.1 TestCaseRunner Summary
-----------------------------
Time Taken: 2808ms
Total TestSuites: 1
Total TestCases: 1 (0 failed)
Total TestSteps: 10
Total Request Assertions: 95
Total Failed Assertions: 0
Total Exported Results: 0

I would like to include Covered Nodes summary on above results(right now it displays on the browser)

Number of Nodes 36
Covered Nodes 19 53%
Asserted Nodes 3 8%

Thanks for your help
SR
Occasional Contributor

How to Capture Code Coverage Results with in the Logs?

Hi Ole,

Able to launch test runner from TFS successfully and able to generate test results as expected, but I am looking code coverage nodes need to display with in the logs, is there any way to capture coverage nodes with in the logs?

Right now displays below test summary

SoapUI 3.6.1 TestCaseRunner Summary
-----------------------------
Time Taken: 2808ms
Total TestSuites: 1
Total TestCases: 1 (0 failed)
Total TestSteps: 10
Total Request Assertions: 95
Total Failed Assertions: 0
Total Exported Results: 0

I would like to include Covered Nodes summary on above results(right now it displays on the browser)

Number of Nodes 36
Covered Nodes 19 53%
Asserted Nodes 3 8%

Thanks for your help
SR

Re: Missing SoapUI Project file.. in Testrunner.bat

Hi,

sorry, this isn't possible from the command-line, but it's a good idea, please add it to the feature requests board!

regards,

/Ole
eviware.com


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.
Occasional Contributor

Re: Missing SoapUI Project file.. in Testrunner.bat

Ole,
Thanks for the Replay Sure I will add this question in to future request.

Please let me know once this is in place


-SR
Occasional Contributor

Re: Missing SoapUI Project file.. in Testrunner.bat

Ole, I know you already told that it is not possible to display coverage results with in the logs but i forgot to specified that we are using soapUi Pro version.

Just wanted to check with you that is you answer applicable for soapUI pro users as well or is there any way to get coverage results with in the logs from soapUI pro??

Thanks for your help
SR
New Here?
Join us and watch the welcome video:
Top Kudoed Authors