Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

Basic SoapUI Example

Below is a simple workflow for executing all tests in a SoapUI project stored on GitHub. You can paste this directly into the YAML of an existing or new test, just make sure to update the name and namespace for your environment if needed.

  • The spec.content property defines the location of the SoapUI project on GitHub
  • The spec.container property defines default resources for any container created in this workflow
  • the spec.steps property defines a single step that runs the test.
Basic SoapUI Workflow
kind: TestWorkflow
apiVersion: testworkflows.testkube.io/v1
metadata:
name: soapui-sample
namespace: testkube
labels:
docs: example
spec:
content:
git:
uri: https://github.com/kubeshop/testkube
revision: main
paths:
- test/soapui/executor-smoke/soapui-smoke-test.xml
container:
resources:
requests:
cpu: 512m
memory: 256Mi
steps:
- name: Run tests
run:
image: smartbear/soapuios-testrunner:5.7.2
env:
- name: COMMAND_LINE
value: -r /data/repo/test/soapui/executor-smoke/soapui-smoke-test.xml

After execution, you can see the log output from the SoapUI runner under the executions panel Log Output tab:

SoapUI Log Output