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:
- Right click on the project level and verify that following screen is populated:
- On the preceding screen select the option Deploy As War.
- Verify that the user is presented with the following popup:
- On the preceding popup, select the above options as per your machine and click on the OK button.
- 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.
- 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.