There are multiple images, please refer Tags
Latest SoapUI version: 5.4.0
docker pull nmrao/soapui or
docker pull nmrao/soapui:5.4.0
NOTE: Same instruction mentioned works for latest as well, just use image name as nmrao/soapui instead of using specific version
Earlier version : 4.5.1
docker pull nmrao/soapui:4.5.1
docker pull nmrao/soapui:4.5.1
Hello-World example, which is present inside the container and shows the test summary. Use below command to run:
docker run --name testsoap451 -d nmrao/soapui:4.5.1
And see the docker log using docker logs testsoap451
NOTE: before proceeding further, remove the named container docker rm -f testsoap451 otherwise, you may see conflict errordocker run --name testsoap451 -d nmrao/soapui:4.5.1 demo-soapui-project.xml
By default, results are stored at /tmp/Results directory of container.
Run docker rm -f testsoap451 to remove container.Other sample shown in the above recording uses volume mount as we want to preserve the test results even after container is removed.
The same commands(from recording) are given below:
For that, go to a fresh directory and create a new directory, say artifacts.
Below commands also removes container, once the test execution is completed, as --rm switch is used.
NOTE: In the below, ${PWD} may not work if you are running on windows plat form. You may use present directory path using forward slash as path separator.
/artifacts/Results directory
docker run --name testsoap451 --rm -ti -v ${PWD}/artifacts:/drive --env "RESULTS=/drive/Results" nmrao/soapui:4.5.1 demo-soapui-project.xmlIn all the above cases, SOAPUI_HOME/bin/testrunner.sh is used to execute the soapui project.
ant and Generate Junit style HTML report in local machine
docker run --name testsoap451 --rm -ti -v ${PWD}/artifacts:/drive --env "RESULTS=/drive/Results" --entrypoint ant nmrao/soapui:4.5.1--
In the present directory you already created a directory called artifacts.
Create a directory called projects under artifacts, say mkdir artifacts/projects and copy your soapui projects which you may want to run.
Use below command (via ant): note to change value of your-soapui-project.xml as you needed.
docker run --name testsoap451 --rm -ti -v ${PWD}/artifacts:/drive --env "RESULTS=/drive/Results" --entrypoint ant nmrao/soapui:4.5.1 -Dsoapui.project=/drive/projects/your-soapui-project.xml
Content type
Image
Digest
Size
169.6 MB
Last updated
almost 9 years ago
docker pull nmrao/soapui