Edit mock

Create mock

Basis information

An ExternalTask is always mocked in the end-to-end tests, since external service access cannot be carried out in the context. To create the mock, it is mandatory to specify a clearly identifying name and assign it to a service task.

External mock name is required.

External mock name already taken.

Input-Output-Rules for the mock

Mocks for ExternalTasks can be generated. For this, a list of input-output rules must be given. The mock is then generated on this basis. If the mock is controlled as part of a test case, the rules are checked. If a defined rule matches the variable values of the process instance, the associated output variables will be setted. In this way, real behavior can be simulated in the test environment. The rules are considered exclusively. So a maximum of one rule can apply.

Input-Output rule {{i + 1}}

If the following conditions are met:

Comparator is required.

Variable value is required.

Proposals : [{{getVariableProposals(getComparisonVariable(i, c)) | variableProposals}}]

No conditions have currently been defined.

Then set the following outputs:

Variablenwert wird benötigt.

Proposals : [{{getVariableProposals(getVariablesVariable(i, v)) | variableProposals}}]

No outputs have currently been defined.



Please fix the open errors first!

Cancel Cancel Save external service mock