FlexDeploy - SoapUI Plugin Guide

The SoapUI plugin provides a means to run SoapUI test suites and load tests defined in SoapUI project files. The entire project must be present, not just an exported test. It must contain one or more test suites, with one or more tests cases or load tests.

Supported Versions

The SoapUI plugin has been tested with SoapUI version 5.1.3, 5.2.0, and 5.2.1 running on Windows and Linux Endpoints.Test runner runs best with version 5.1.3, but the test results will be identical across the versions of SoapUI. SoapUI Pro is not required.

SoapUI should be run manually at least once on the endpoint before running it with the plugin. This is necessary to choose whether or not to accept sending usage information to the developers. If you don't run it once first, the plugin operations will hang. This indicates the need to run it manually.

Setting up Testing Instance

You can install SoapUI on your Build or Development servers for execution of Tests. This should be defined in FlexDeploy as Testing Instance. See Creating/Editing a Test Instance. You can use this Testing Instance as Override on your Test Definition, which means that if you are running Build or Deploy on any server/environment and as part of the Workflow you execute tests, execution will transfer to specific Testing Instance for execution of Tests.

Key Features

  • Use existing SoapUI test suites and load tests
  • Aggregates test results for each execution

Plugin Operations

Special considerations

Make sure to Disable Usage Statistics as shown below on SoapUI installation.

In order to validate SoapUI installation, you can run following commands with example project file.

# change path appropriately
/opt/SmartBear/SoapUI-5.5.0/bin
# /var/tmp will be where output will be written
./testrunner.sh -rjf /var/tmp <project.xml file name>

You will notice some errors during execution due to the fact that SoapUI installs some plugins during first invocation of testrunner. Once you execute SoapUI project file, go to home folder and delete plugins folder from .soapuios. Here are commands for Unix.

  • cd $HOME
  • cd .soapuios
  • rm -rf plugins

SoapUI Docker Plugin

Don't have a SoapUI installation available for FlexDeploy?  No problem.  All you need is a docker install and you can make use of our SoapUI plugin for running on Docker.

Using the plugin

The SoapUI Docker plugin functions exactly the same as the traditional java based SoapUI plugin with the notable exception that it needs to be run on an Endpoint that is configured as a Docker Host or a K8s cluster.