MUnit Tools to perform testing on mule
Configurations
Config
Default configuration
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Name |
String |
The name for this configuration. Connectors reference the configuration with this name. |
x |
Operations
Assert That
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Expression |
Any |
x |
||
Is |
x |
|||
Message |
String |
|
Fail
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Message |
String |
|
Mock When
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Processor |
String |
x |
||
With Attributes |
Array of With Attribute |
|
||
Then Return |
|
Run Custom
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Assertion |
String |
x |
||
Expression |
Any |
x |
||
Params |
Any |
|
Verify Call
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Processor |
String |
x |
||
With Attributes |
Array of With Attribute |
|
||
Times |
Number |
|
||
At Least |
Number |
|
||
At Most |
Number |
|
Types
With Attribute
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Attribute Name |
String |
x |
||
Where Value |
Any |
x |
Event
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Payload |
||||
Attributes |
||||
Error |
||||
Variables |
Array of Variable |
|||
Session Properties |
Array of Property |
|||
Inbound Properties |
Array of Property |
|||
Outbound Properties |
Array of Property |
|||
Inbound Attachments |
Array of Attachment |
|||
Outbound Attachments |
Array of Attachment |
Payload
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Value |
Any |
x |
||
Media Type |
String |
|||
Encoding |
String |
Event Attributes
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Value |
Any |
Event Error
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Type Id |
String |
|||
Cause |
Any |
Variable
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Key |
String |
x |
||
Value |
Any |
x |
||
Media Type |
String |
|||
Encoding |
String |
Property
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Key |
String |
x |
||
Value |
Any |
x |
||
Media Type |
String |
|||
Encoding |
String |
Attachment
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Key |
String |
x |
||
Value |
Any |
x |
||
Media Type |
String |
|||
Encoding |
String |