Coder Social home page Coder Social logo

csegedicsaba / docker-soapui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ddavison/docker-soapui

0.0 1.0 0.0 25 KB

Run SoapUI Tests through a Docker container

Home Page: https://hub.docker.com/r/ddavison/soapui/

Shell 5.61% Python 48.04% HTML 35.62% Dockerfile 10.73%

docker-soapui's Introduction

Docker SoapUI

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

Run tests

With this container running, you can now fire off SoapUI tests by sending the SoapUI project file forwards the 3000 port to the container.

$ curl --form "project=@/path/to/soapui-project.xml" \
       http://localhost:3000

Optionally, you can specify the test suite, send a global properties configuration file and send testrunner options.

$ curl --form "project=@/path/to/soapui-project.xml" \
       --form "suite=TestSuite" \
       --form "[email protected]" \
       --form "option=-r" \
       http://localhost:3000

Develop/Test

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.

Response Codes

Code Message Description
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
552 No SoapUI Project You did not specify the project POST parameter with the proper SoapUI XML data. Remember: This needs to be the actual file itself sent as multipart/form-data. E.g: curl -F "[email protected]"
500 Internal Server Error An exception occured while running the SoapUI Tests

docker-soapui's People

Contributors

ddavison avatar larswongfrandsen avatar stainii avatar waterscar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.