Forum Discussion
SmartBear_Suppo
12 years agoSmartBear Alumni (Retired)
Hi,
Try removing the -c option since that is to run an individual test case. Also, when using any of the testrunner options please put a space in between the option and value.
I tried one of my test cases from cmd line and ran test suite with code in Setup Script and it worked.
C:\Program Files\SmartBear\SoapUI-4.6.2\bin>testrunner "C:\SoapUI\SOAPUI Projec
s\SOAP-Attachement-MIME-soapui-project.xml" -s "MimeAttachmentSOAP TestSuite"
SoapUI 4.6.2 TestCase Runner
Configuring log4j from [C:\Program Files\SmartBear\SoapUI-4.6.2\bin\soapui-log4j
.xml]
17:33:20,019 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\User
s\Marcus.James\soapui-settings.xml]
17:33:20,569 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/SOAPUI%20P
rojects/SOAP-Attachement-MIME-soapui-project.xml]
17:33:20,969 INFO [SoapUITestCaseRunner] Running SoapUI tests in project [SOAP
Attachement MIME]
17:33:20,969 INFO [SoapUITestCaseRunner] Running TestSuite [MimeAttachmentSOAP
TestSuite], runType = SEQUENTIAL
17:33:21,209 INFO [log] failing test suite
17:33:21,219 INFO [SoapUITestCaseRunner] TestSuite [MimeAttachmentSOAP TestSuit
e] finished with status [FAILED] in 250ms
Regards,
Marcus
SmartBear Support
Try removing the -c option since that is to run an individual test case. Also, when using any of the testrunner options please put a space in between the option and value.
I tried one of my test cases from cmd line and ran test suite with code in Setup Script and it worked.
C:\Program Files\SmartBear\SoapUI-4.6.2\bin>testrunner "C:\SoapUI\SOAPUI Projec
s\SOAP-Attachement-MIME-soapui-project.xml" -s "MimeAttachmentSOAP TestSuite"
SoapUI 4.6.2 TestCase Runner
Configuring log4j from [C:\Program Files\SmartBear\SoapUI-4.6.2\bin\soapui-log4j
.xml]
17:33:20,019 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\User
s\Marcus.James\soapui-settings.xml]
17:33:20,569 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/SOAPUI%20P
rojects/SOAP-Attachement-MIME-soapui-project.xml]
17:33:20,969 INFO [SoapUITestCaseRunner] Running SoapUI tests in project [SOAP
Attachement MIME]
17:33:20,969 INFO [SoapUITestCaseRunner] Running TestSuite [MimeAttachmentSOAP
TestSuite], runType = SEQUENTIAL
17:33:21,209 INFO [log] failing test suite
17:33:21,219 INFO [SoapUITestCaseRunner] TestSuite [MimeAttachmentSOAP TestSuit
e] finished with status [FAILED] in 250ms
Regards,
Marcus
SmartBear Support
Related Content
- 9 years ago
- 11 years ago
- 8 years ago
- 12 years ago
Recent Discussions
- 18 days ago