Ask a Question

SoapUI command line Mock Deployment

0 Kudos

SoapUI command line Mock Deployment

Description:

Need the ability to deploy the mock via a command line vs the UI.

 

Business need: the ability to integrate the Mock test cases along with Continuous Integration automated test.  As part of CI build need the ability to deploy the SoapUI Mock upon check in.  Once checked in the mock can be packaged as a war and then deployed to a Apache or TC container for use with automated regression suite.

 

 

1 Comment
KarelHusa
Super Contributor

@samuel_perez, SoapUI comes with a script wargenerator.bat. I use this script to build a WAR file.

 

The deployment is platform dependent, e.g. I deploy the mocks to Wildfly application server with a Groovy script (you can use Wildfly CLI as well).

 

I use Gradle to automate the build and deployment.

 

You can also explore the wargenerator.bat and achieve the same with Java/Groovy and customize the process according to your needs.

 

What actually are you missing?

 

Karel

 

Announcements
Welcome to the SoapUI Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here