Execute SOAPUI Scripts inside Docker Container

Pre-requisites:
  1. Follow below link to Integrate Extent Report with SOAPUI https://www.linkedin.com/pulse/integration-extent-report-soapui-akshay-sharma
  2. Installation of Docker is required.
  3. You need a "Linux container" in order to work this.
How to use this image:
  1. Pull the latest image from docker hub using below link,
** Note that this image will take time to get download and setup.
  1. Create a folder named "Reports" in where your SOAPUI Project is stored.
  2. Use the below command to execute your SOAPUI project within a container.
docker run -it -v :/usr/local/opt akshayshar/soapui-executor /usr/local/SmartBear/SoapUI-5.5.0/bin/testrunner.sh /usr/local/opt/<NameOfSoapUIProject.xml>
E.g. docker run -it -v /home/dexter/SoapUI:/usr/local/opt akshayshar/soapui-executor /usr/local/SmartBear/SoapUI-5.5.0/bin/testrunner.sh /usr/local/opt/REST-Project-1-soapui-project.xml
  1. Navigate to the "Reports" folder and you can see that a new HTML file is created.
Connect with me on LinkedIn for any discussion: https://www.linkedin.com/in/akshaysharma16/

No comments:

Post a Comment

Automate & Intergrate

Welcome to my Blog, Automation & Integrate is the blog where you can find all about the new automation trends and various integration...