Docker container that houses a configurable version of SoapUI and runs test suites / cases
How to Use
Run the container
$ docker run -d -p 3000:3000 ddavison/soapui
With this container running, you can now fire off SoapUI tests by sending the SoapUI project file
3000 port to the container.
$ curl --form "project=@/path/to/soapui-project.xml" \ --form "suite=TestSuite" \ http://localhost:3000
I use Vagrant to mimic the environment of Docker.
$ vagrant up $ vagrant ssh # sudo -i # cd /vagrant # ./server.py
Continuous Integration / Response Codes
After the tests are ran, you will receive the stdout and stderr from the SoapUI test runner,
as well as an HTTP status code to determine the result of the test run.
|200||OK||All SoapUI Tests ran successfully and passed|
|550||Test Failure(s)||You have failures in the SoapUI Test suite / cases. You can check the content of the request to determine what failed|
|551||No Suite||You did not specify the
|552||No SoapUI Project||You did not specify the
|500||Internal Server Error||An exception occured while running the SoapUI Tests|
Does it support TestSuite that requires certificate from a keystore?
I'm trying to use your image for my tests and want to generate my own Dockerfile, what I written in Dockerfile is:
RUN /bin/sh cd <go to my test dir> \
curl <command to run my soap suite tests>
and my after build, I tried to run my image using :
docker run -d -p <my Local Image Id>
But nothing happened, although without creating my image I was able to run tests successfully using base image. Can you please help.
Got this to work quickly as documented. Thanks!
Is there a way using the curl command to run the Load Test that is defined within the suite?
what issue you are facing?
I have some issues regarding dockerising this image.Can Anyone please help on this.