Forum Discussion

Pritish_Panda's avatar
Pritish_Panda
Contributor
9 years ago
Solved

Commend Line Execution of SoapUI Project .

Hi ,

 

I am trying to execute a SoapUI Rest project from command line but unfortunately my Rest project is not getting executed .

 

D:\Zaloni\SoupUI download\ReadyAPI-1.4.1\bin>testrunner.bat -FPDF -R"Project Report" -fE:\SoapUI Work\SOAP_UI_FrameWork_NG_Pro\Reports\CMDReport E:\SoapUI Work\SOAP_UI_
FrameWork_NG_Pro\Project_Names\Test-CMD-Running-soapui-project.xml 

 

This is ,how I have been executing .....

 

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
usage: testrunner [options] <project-file>
-A Turns on exporting of all results using folders instead of
long filenames
-a Turns on exporting of all results
-c <arg> Sets the testcase
-D <arg> Sets system property with name=value
-d <arg> Sets the domain
-E <arg> Sets the environment
-e <arg> Sets the endpoint
-F <arg> Report format. Used with -R. Valid options PDF, XLS, HTML,
RTF, CSV, TXT, and XML (comma-separated)
-f <arg> Sets the output folder to export results to
-G <arg> Sets global property with name=value
-g Sets the output to include Coverage HTML reports
-H <arg> Adds a custom HTTP Header to all outgoing requests
(name=value), can be specified multiple times
-h <arg> Sets the host
-I Do not stop if error occurs, ignore them
-i Enables Swing UI for scripts
-j Sets the output to include JUnit XML reports
-l <arg> Installs an activated license file
-M Creates a Test Run Log Report in XML format
-m Sets the maximum number of TestStep errors to save for each
testcase
-O Do not send usage statistics
-o Opens generated report(s) in a browser
-P <arg> Sets or overrides project property with name=value
-p <arg> Sets the password
-R <arg> Report to Generate
-r Prints a small summary report
-S Saves the project after running the tests
-s <arg> Sets the testsuite
-t <arg> Sets the soapui-settings.xml file to use
-u <arg> Sets the username
-v <arg> Sets password for soapui-settings.xml file
-w <arg> Sets the WSS password type, either 'Text' or 'Digest'
-x <arg> Sets project password for decryption if project is encrypted
Missing project file...

 

 

 

This the responce I am getting .. Can any one help me on this .. What is issue here .

 

 

  • Hi Pritish_panda,

     

    From my understanding you need to quote the value you want to specify after the –f parameter:

    D:\Zaloni\SoupUI download\ReadyAPI-1.4.1\bin>testrunner.bat 
    -FPDF  
    -R"Project Report"  
    -f"E:\SoapUI Work\SOAP_UI_FrameWork_NG_Pro\Reports\CMDReport" 
     E:\SoapUI Work\SOAP_UI_FrameWork_NG_Pro\Project_Names\Test-CMD-Running-soapui-project.xml

     

    Does it help?

3 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Pritish_panda,

     

    From my understanding you need to quote the value you want to specify after the –f parameter:

    D:\Zaloni\SoupUI download\ReadyAPI-1.4.1\bin>testrunner.bat 
    -FPDF  
    -R"Project Report"  
    -f"E:\SoapUI Work\SOAP_UI_FrameWork_NG_Pro\Reports\CMDReport" 
     E:\SoapUI Work\SOAP_UI_FrameWork_NG_Pro\Project_Names\Test-CMD-Running-soapui-project.xml

     

    Does it help?