Forum Discussion

DouglasY's avatar
DouglasY
Occasional Contributor
5 years ago

SoapUI testrunner ERROR com.eviware.soapui.SoapUI - An error occurred [Unrecognized option: -F]

I am configuring my testrunner command line per the instructions in 

https://www.soapui.org/test-automation/running-from-command-line/functional-tests.html

 

I'm getting an error. Is the page linked above correct for SoapUI 5.5.0 testrunner?  

Note: I have tried with and  without a space between the option "-F" and the style "XML", i.e.:

  -F XML

  -FXML

 

How can I fix this? 

 

/usr/platform/SoapUI-5.5.0/bin/testrunner.sh -I -j -f output -F XML -a -Gnode1=linuxhost1 -Gnode2=linuxhost2 -s 'Smoke Test Launch TestSuite' 5010-837-Smoke-Test-Project-soapui-project.xml
================================
=
= SOAPUI_HOME = /usr/platform/SoapUI-5.5.0
=
================================
SoapUI 5.5.0 TestCase Runner
2020-04-17 13:03:13,770 [main] ERROR com.eviware.soapui.tools.SoapUITestCaseRunner - org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -F
2020-04-17 13:03:13,771 [main] ERROR com.eviware.soapui.SoapUI - An error occurred [Unrecognized option: -F], see error log for details
2020-04-17 13:03:13,771 [main] ERROR soapui.errorlog - org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -F
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -F
at org.apache.commons.cli.Parser.processOption(Parser.java:363)
at org.apache.commons.cli.Parser.parse(Parser.java:199)
at org.apache.commons.cli.Parser.parse(Parser.java:85)
at com.eviware.soapui.tools.AbstractSoapUIRunner.initFromCommandLine(AbstractSoapUIRunner.java:151)
at com.eviware.soapui.tools.AbstractSoapUIRunner.validateCommandLineArgument(AbstractSoapUIRunner.java:120)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:111)
at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:122)
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -F
at org.apache.commons.cli.Parser.processOption(Parser.java:363)
at org.apache.commons.cli.Parser.parse(Parser.java:199)
at org.apache.commons.cli.Parser.parse(Parser.java:85)
at com.eviware.soapui.tools.AbstractSoapUIRunner.initFromCommandLine(AbstractSoapUIRunner.java:151)
at com.eviware.soapui.tools.AbstractSoapUIRunner.validateCommandLineArgument(AbstractSoapUIRunner.java:120)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:111)
at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:122)