SmartBear / soapui

SoapUI is a free and open source cross-platform functional testing solution for APIs and web services.
http://www.soapui.org
Other
1.58k stars 611 forks source link

-RJUnit-Style HTML Report and -FPDF not work in SoapUI TestRunner #798

Open etkinator opened 8 months ago

etkinator commented 8 months ago

use the examle from site https://www.soapui.org/docs/test-automation/running-from-command-line/functional-tests/ result in command line is -RJUnit-Style HTML Report 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:162) at com.eviware.soapui.tools.AbstractSoapUIRunner.validateCommandLineArgument(AbstractSoapUIRunner.java:131) at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:115) at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:122)

use the example from site https://www.soapui.org/docs/test-automation/running-functional-tests/ 08:51:18.496 [main] ERROR com.eviware.soapui.tools.SoapUITestCaseRunner - org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -FPDF 08:51:18.540 [main] ERROR com.eviware.soapui.SoapUI - An error occurred [Unrecognized option: -FPDF], see error log for details 08:51:18.542 [main] ERROR soapui.errorlog - org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -FPDF org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -FPDF at org.apache.commons.cli.Parser.processOption(Parser.java:363) ~[commons-cli-1.2.jar:1.2] at org.apache.commons.cli.Parser.parse(Parser.java:199) ~[commons-cli-1.2.jar:1.2] at org.apache.commons.cli.Parser.parse(Parser.java:85) ~[commons-cli-1.2.jar:1.2] at com.eviware.soapui.tools.AbstractSoapUIRunner.initFromCommandLine(AbstractSoapUIRunner.java:162) ~[soapui-5.7.2.jar:5.7.2] at com.eviware.soapui.tools.AbstractSoapUIRunner.validateCommandLineArgument(AbstractSoapUIRunner.java:131) [soapui-5.7.2.jar:5.7.2] at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:115) [soapui-5.7.2.jar:5.7.2] at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:122) [soapui-5.7.2.jar:5.7.2] org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -FPDF 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:162) at com.eviware.soapui.tools.AbstractSoapUIRunner.validateCommandLineArgument(AbstractSoapUIRunner.java:131) at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:115) at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:122)