Deploying mock services to an external server

We can deploy mock services to any servlet container example: Tomcat

To do that we need to extract the WAR file from the SoapUI project and then move the WAR file to Tomcat where it can be accessible to any consumer of the mock service.

Extracting the WAR file:

  1. Right click on the project level and verify that following screen is populated:
    Deploying mock services to an external server
  2. On the preceding screen select the option Deploy As War.
  3. Verify that the user is presented with the following popup:
    Deploying mock services to an external server
  4. On the preceding popup, select the above options as per your machine and click on the OK button.
  5. In the WAR directory selected you will now get your War File and the dependent file generated with the name of the WAR file mentioned.
  6. Once you have the generated the WAR file you may now deploy it to a Tomcat instance.

With this we have come to the end of this chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset