Skip to content

soapui

soapui/soapui@v1

Process ‘soapui’ action.

soapui actions have a mandatory project input.

If the action is used more than once in a job, it is up to the caller to ensure no previous test execution results remains before executing a new test.

It is also up to the caller to attach the relevant reports so that publishers can do their job too, by using the actions/get-files@v1 action or some other means.

Example

- uses: soapui/soapui@v1
  with:
    project: foo
- uses: soapui/soapui@v1
  with:
    project: foo
    testcase: bar
    testsuite: baz
    user: user
    host: host:port
    endpoint: https://host:port/foo
    system-properties:
      key1: value1
      key2: value2
    global-properties:
      key3: value3
      key4: value4
    project-properties:
      key5: value5
      key6: value6
    target: foo/bar

    extra-options: any other option

Inputs

  • project (required)

    The project to run.

  • testcase (optional)

    The test case in the project to run (-c option).
    If you do not specify this argument, the runner will launch all the tests present in the parent test suite.

  • testsuite (optional)

    The test suite in the project to run (-s option).
    If you skip this argument, the runner will execute all the test suites in your project.

  • user (optional)

    The user to use in test requests authorization (-u option).
    This argument overrides user names specified in your test project.

  • host (optional)

    The host and port to use in test requests (-h option).
    You can specify the host by using its IP address or name.
    This argument overrides endpoints specified in the project file.

  • endpoint (optional)

    The endpoint to use in test requests (-e option).
    This argument overrides the endpoints specified for TestSteps in your test project.

  • system-properties (optional)

    Define the value(s) of system properties (-D options).
    The specified value overrides the variable value during the run.

  • global-properties (optional)

    Define the value(s) of global properties (-G options).
    The specified value overrides the variable value during the run.

  • project-properties (optional)

    Define the value(s) of project properties (-P options).
    The specified value overrides the variable value during the run.

  • target (optional)

    The root directory where the runner saves reports (-f option).

  • extra-options (optional)

    Any other option.

soapui/execute@v1

An ‘execute’ action for use by generators.

execute actions have a mandatory test input.

Examples

This first example runs all tests present in “testcaseName” included in “testsuiteName”:

- uses: soapui/execute@v1
  with:
    test: path/to/test.xml#testsuiteName#testcaseName

This second example runs all tests present in all test cases included in “testsuiteName”:

- uses: soapui/execute@v1
  with:
    test: path/to/test.xml#testsuiteName#

Inputs

  • test (required)

    the datasource to use