Solved
Forum Discussion
NewAutoTester
Contributor
Hi,
When we run the ReadyAPI test via testrunner.bat with default parameters we could see the events is triggered whereas from cucumber it does not.
testrunner.bat command used:
"C:\Program Files\SmartBear\ReadyAPI-2.6.0\bin\testrunner.bat" -sTestSuite1 "-cTestCase1" -r -a -j -f${WORKSPACE} "-RJUnit-Style HTML Report" -FXML "-EDefault environment" "C:\Users\<userID>\Soap UI\SoapUIProject"
Below are the commands that are used in cucumber to run the test cases.
WsdlProjectPro project = new WsdlProjectPro("src/test/resources/xml/SoapUIProject"); WsdlTestCase testCase = project.getTestSuiteByName("TestSuite1").getTestCaseByName("TestCase1"); WsdlTestCaseRunner runner = testCase.run(new PropertiesMap(), false);
Thank You.
nmrao
5 years agoChampion Level 3
Haven't done myself using cucumber.
You may want to see this article?
http://www.thinkcode.se/blog/2011/11/16/testing-a-web-service-with-soapui-junit-maven-and-cucumber
You may want to see this article?
http://www.thinkcode.se/blog/2011/11/16/testing-a-web-service-with-soapui-junit-maven-and-cucumber
Related Content
- 8 years agoarupacharya1784
- 11 years agomvandenberg2