vvidovic/soapui-mockservicerunner
Docker image build on the mockservicerunner from the SoapUI 5.5.0
10K+
Docker container based on mockservicerunner from the SoapUI 5.5.0.
# ./soapui is a local directory containing the my-soapui-project.xml file
docker run --rm -p 8080:8080 -v $PWD/soapui:/home/soapui/project vvidovic/soapui-mockservicerunner:latest -a "/" -p "8080" /home/soapui/project/my-soapui-project.xml
Dockerfile:
FROM vvidovic/soapui-mockservicerunner
COPY soapui/my-soapui-project.xml /home/soapui/my-soapui-project.xml
CMD ["-a", "/", "-p", "8080", "/home/soapui/my-soapui-project.xml"]
Build:
docker build . -t my-mock-ws
Run:
docker run --rm -p 8080:8080 my-mock-ws:latest
ENTRYPOINT
of this container is the
SoapUI mockservicerunner.sh
script. Run a container without additional parameters to find out available command line arguments.
$ docker run --rm vvidovic/soapui-mockservicerunner
================================
=
= SOAPUI_HOME = /opt/SoapUI
=
================================
2021-06-05 15:00:59,781 [main] WARN com.eviware.soapui.SoapUI - Could not find jfxrt.jar. Internal browser will be disabled.
SoapUI 5.5.0 MockService Runner
usage: mockservicerunner [options] <soapui-project-file>
-a <arg> Sets the url path to listen on
-b Turns off blocking read for termination
-D <arg> Sets system property with name=value
-G <arg> Sets global property with name=value
-m <arg> Specified the name of the MockService to run
-p <arg> Sets the local port to listen on
-P <arg> Sets or overrides project property with name=value
-s <arg> Sets the soapui-settings.xml file to use
-S Saves the project after running the mockService(s)
-v <arg> Sets password for soapui-settings.xml file
-x <arg> Sets project password for decryption if project is encrypted
Missing SoapUI project file..
docker pull vvidovic/soapui-mockservicerunner