2

I have a challenge of using maven surfire plugin for SOAP webservices testing. What I need to check is whether this plugin can be used while running webservices tests in CI environment. I will appreciate any suggestions.

Many thanks for your comments and feedback.

3
  • What language and test library your current SOAP web services tests are using?
    – dzieciou
    Jul 9, 2017 at 6:24
  • I found you've asked same question here: stackoverflow.com/questions/44946246/…. Please, do not cross-post a question on multiple Stack Exchange sites. More explanation and how to migrate questions you can find here: meta.stackexchange.com/questions/64068/…
    – dzieciou
    Jul 9, 2017 at 6:44
  • Sorry for that, I'm new at StackExchange and still learning rules here ;) Thanks for sharing link about how to cross-post questions on Stack. Jul 10, 2017 at 9:26

2 Answers 2

1

Maven Surefire plugin can handle any tests written with JUnit or TestNG. This means whatever your JUnit/TestNG are doing, including SOAP Web servce testing, they can be run with Maven Surefire plugin.

Maven Surefire can be used in CI environment (e.g. Jenkins). You just define your CI job with mvn test to execute tests.

2

Take a look at Karate which easily integrates into a standard Java / Maven project. You can actually generate the standard JUnit XML report format which most CI tools understand. Or you have the option of integrating 3rd party reports via Maven. The test execution is via the Maven surefire plugin.

And yes, Karate has excellent support for SOAP and XML.

Disclaimer: I am the dev.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.