Forum Discussion

marsri's avatar
13 years ago

Run SoapUI within the web application

SoapUI admirers,

I have been using SoapUI for a while. I have a question
- Is there any way i can integrate SoapUI in side a Java Web Application ? Is it possible to write a program (runs on web) which takes WSDL location as input and display web service operations, upon which the user can use the operations (Such as Ping).
Our web application calls differnet instances of Multiple Web Services (CXF) and we dont ping the services everytime / periodically.

We want to see if we can write a web application so that testers and developers can quickly verify the web service availability through web by entering the web service end point or WSDL location.

Any thoughts???

Have a good day.
  • tjdurden's avatar
    tjdurden
    Frequent Contributor
    Hi marsri,

    Yes, SoapUI has CLI integration (TestRunner), so can be called quite easily by an external tool. There's various ways to approach this, but you could hook SoapUI into jUnit and run this through a CI tool, or your own custom tools. Might be worth taking a glance at http://www.soapui.org/Test-Automation/functional-tests.html as well as http://www.junit.org/taxonomy/term/9 for a starting point, but what you're suggesting is certainly possible, although I'd look to see if there's existing tools out there to accomplish your goal before writing something from scratch.

    Kind regards,
    Tim