Citrus test case
Citrus test case
| Type | object |
|---|---|
| File match |
*.citrus.yaml
*.citrus.test.yaml
*.citrus.it.yaml
*.citrus-test.yaml
*.citrus-it.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/citrus-test-case/latest.json |
| Source | https://citrusframework.org/schema/json/testcase/citrus-testcase.json |
Validate with Lintel
npx @lintel/lintel check
Properties
The test name.
The test actions.
The test author.
The test description.
List of endpoints for this test.
The final test actions.
The test status.
The test variables.
Definitions
The SOAP attachment charset.
The SOAP attachment content.
The SOAP attachment content id.
The SOAP attachment content type
The SOAP attachment content loaded from a file resource.
2 nested properties
The path expression to evaluate.
The expected expression result value.
Extract elements from the message body into test variables.
Extract elements from the message header into test variables.
The message header name.
The message header type to create typed message headers.
Http accept header.
Http content type.
Sets a data dictionary that transforms message content before it is being processed.
List of path expressions to evaluate on the message content before processing the message.
When enabled the header case is not verified.
The message headers.
The message name. Named messages may be referenced in subsequent test steps.
List of Http query parameters.
Http request path.
The reference to a schema in the bean registry that should be used for validation.
The schema repository holding the schema.
Enables the schema validation.
The message type. Gives the validator a hint which validatory are capable of performing proper message validation.
Http version.
Http content type.
Sets a data dictionary that transforms message content before it is being processed.
List of path expressions to evaluate on the message content before processing the message.
When enabled the header case is not verified.
The message headers.
The message name. Named messages may be referenced in subsequent test steps.
Http reason phrase.
The reference to a schema in the bean registry that should be used for validation.
The schema repository holding the schema.
Enables the schema validation.
The Http status code.
The message type. Gives the validator a hint which validatory are capable of performing proper message validation.
Http version.
Sets a data dictionary that transforms message content before it is being processed.
List of path expressions to evaluate on the message content before processing the message.
When enabled the header case is not verified.
The message headers.
The message name. Named messages may be referenced in subsequent test steps.
The reference to a schema in the bean registry that should be used for validation.
The schema repository holding the schema.
Enables the schema validation.
The message type. Gives the validator a hint which validatory are capable of performing proper message validation.
List of elements to build the selector expression.
Selector expression value.
The SOAP fault detail content.
The SOAP fault detail loaded from a file resource.
The SOAP request accept header.
List of SOAP attachments for this message.
The SOAP request content type.
Sets a data dictionary that transforms message content before it is being processed.
List of path expressions to evaluate on the message content before processing the message.
When enabled the header case is not verified.
The message headers.
Enables SOAP MTOM.
The message name. Named messages may be referenced in subsequent test steps.
The SOAP request path.
The reference to a schema in the bean registry that should be used for validation.
The schema repository holding the schema.
Enables the schema validation.
The SOAP action.
The message type. Gives the validator a hint which validatory are capable of performing proper message validation.
The SOAP version.
List of SOAP attachments for this message.
The SOAP response content type.
Sets a data dictionary that transforms message content before it is being processed.
List of path expressions to evaluate on the message content before processing the message.
When enabled the header case is not verified.
The message headers.
The message name. Named messages may be referenced in subsequent test steps.
The SOAP response reason phrase.
The reference to a schema in the bean registry that should be used for validation.
The schema repository holding the schema.
Enables the schema validation.
The SOAP response status.
The message type. Gives the validator a hint which validatory are capable of performing proper message validation.
The SOAP version.
Generic test action.
2 nested properties
The reference to the test action in the bean registry.
The reference to the test action in the bean registry.
Agent service test actions.
3 nested properties
2 nested properties
2 nested properties
Sequence of test actions to execute.
Ant run test action.
6 nested properties
Path to the Ant build file.
Optional reference to a build listener.
Test action description printed when the action is executed.
The build target to call.
2 nested properties
Ant build properties.
Adds a build property file.
Apply template test action.
3 nested properties
The name of the template.
Load the template from given file resource.
Template parameters, passed to the template as test variables.
Assert exception test action.
4 nested properties
Nested test actions that raise the exception.
Test action description printed when the action is executed.
The type of the Java exception.
The expected exception message.
Async test action.
4 nested properties
Sequence of test actions to execute.
Test action description printed when the action is executed.
Test actions executed when async container has failed.
Test actions executed when async container is successful.
Test actions related to Apache Camel.
14 nested properties
Name of the Camel context.
Connects with the Camel control bus to run operations.
6 nested properties
The control bus action to execute.
Test action description printed when the action is executed.
Runs another Camel language expression.
The expected action result.
The route id
Runs a simple expression
Create components in the Camel registry.
3 nested properties
The Camel component script loaded from a file resource.
The Camel component name.
The script that defines the Camel component.
Create a new Camel context.
2 nested properties
When enabled the context is automatically started after creation.
The name of the Camel context.
Create a new Camel route in the context.
4 nested properties
Route definitions loaded from a file resource
The route id.
Inline route definition.
Camel route context to load multiple routes.
Test action description printed when the action is executed.
Manage Camel infra services.
2 nested properties
Runs a Camel infra service.
Stops a Camel infra service.
Connect with Camel JBang to run commands.
9 nested properties
The Apache Camel version.
Camel JBang cmd operations.
Runs a Camel integration with customized parameters.
The Kamelets version.
Camel Kubernetes plugin related operations.
Manage Camel JBang plugins.
Runs a Camel integration.
Stops a Camel integration.
Verify the Camel integration status and log messages.
Remove given Camel routes.
1 nested properties
The Camel route ids to remove.
Starts the given Camel context.
1 nested properties
The Camel context name.
Start existing Camel routes in the context.
1 nested properties
The Camel route ids to start.
Stops the given Camel context.
1 nested properties
The Camel context name.
Stop given Camel routes.
1 nested properties
The Camel route ids to stop.
Catch exception test action.
3 nested properties
Nested test actions that may raise an exception.
Test action description printed when the action is executed.
The exception type to catch.
Conditional test action.
3 nested properties
Test actions that get executed when the condition matches.
The condition to evaluate.
Test action description printed when the action is executed.
Create endpoints test action.
22 nested properties
Test action description printed when the action is executed.
The endpoint name. When set this endpoint is retrievable via this name in the bean registry.
List of properties for this endpoint.
The endpoint type.
The URI with properties defining the endpoint.
Create variables test action.
2 nested properties
List of test variables.
Test action description printed when the action is executed.
Delay test action.
3 nested properties
Test action description printed when the action is executed.
Time to sleep in milliseconds.
Time to sleep in seconds.
Runs test actions after the test.
2 nested properties
Test actions to execute after the test.
Test action description printed when the action is executed.
Echo test action.
2 nested properties
The message to print.
Test action description printed when the action is executed.
Expect timeout test action.
4 nested properties
The message endpoint to consume messages from.
Optional message selector expression to selectively consume messages.
Message selector to selectively consume messages.
2 nested properties
Selector elements building the selector expression.
Selector expression value.
Time in milliseconds to wait for messages.
Fail test action.
2 nested properties
Test action description printed when the action is executed.
Error message describing the failure.
Groovy test action.
Http related test actions.
8 nested properties
The Http client.
Test action description printed when the action is executed.
Receive an Http request as a server.
17 nested properties
Explicit message header validator.
List of message header validators used to validate the message.
Message select expression to selectively consume messages.
Http request timeout.
Validate expressions.
Explicit message validator.
List of message validators used to validate the message.
Receive an Http response as a client.
10 nested properties
Explicit message header validator.
List of message header validators used to validate the message.
Message selector expression to selectively consume the Http response.
Timeout while waiting for the Http response.
Validate expressions.
Explicit message validator.
List of message validators used to validate the message.
Send a Http request as a client.
11 nested properties
When enabled the send operation does not block while waiting for the response.
Http request URI.
Send an Http response as a server.
2 nested properties
The Http server.
Iterate test action.
6 nested properties
Sequence of test actions to execute.
Condition that keeps the iteration running.
Test action description printed when the action is executed.
Test variable holding the current iteration index.
Index starts with this value.
The step added to the index for each iteration.
JBang test actions.
11 nested properties
Test action description printed when the action is executed.
Knative test actions.
19 nested properties
1 nested properties
1 nested properties
3 nested properties
5 nested properties
1 nested properties
1 nested properties
3 nested properties
1 nested properties
1 nested properties
Test action description printed when the action is executed.
4 nested properties
4 nested properties
1 nested properties
Kubernetes test actions.
25 nested properties
2 nested properties
1 nested properties
Connects to this Kubernetes service.
4 nested properties
Creates and exposes a client that connects to this service. The client can be referenced by this name.
Local port on the host machine. Creates a local port forward to the Kubernetes service.
The Kubernetes service name to connect to
The exposed service port used to connect to.
3 nested properties
3 nested properties
7 nested properties
3 nested properties
2 nested properties
3 nested properties
6 nested properties
1 nested properties
6 nested properties
2 nested properties
1 nested properties
1 nested properties
Test action description printed when the action is executed.
1 nested properties
2 nested properties
10 nested properties
8 nested properties
4 nested properties
Load properties test action.
1 nested properties
The properties source.
1 nested properties
Properties file resource.
OpenAPI related test actions.
9 nested properties
The OpenAPI specification source. Can be a local file resource or an Http endpoint URI.
Sets the Http client used to send requests.
Test action description printed when the action is executed.
Receives a client request as a server.
10 nested properties
The expected API operation.
Explicit message header validator.
List of message header validators used to validate the message.
Enables the schema validation.
Message selector expression to selectively consume messages.
The timeout while waiting for incoming Http requests.
Additional message validation expressions.
Explicit message validator.
List of message validators used to validate the message.
Receives a response as a client.
11 nested properties
The OpenAPI operation that defines the expected response.
Explicit message header validator.
List of message header validators used to validate the message.
Enables the schema validation.
Message selector expression to selectively consume messages.
Expected response status.
Timeout in milliseconds while waiting for the server response.
Explicit message validator.
List of message validators used to validate the message.
Send a request as a client.
6 nested properties
The API operation to call.
When enabled send operation does not block while waiting for the response.
Enables the schema validation.
Http endpoint URI overwrite.
Sends a response as a server.
5 nested properties
The OpenAPI operation that generates the response.
Enables the schema validation.
The response to generate.
Sets the Http server that provides the Http API.
Parallel test action.
2 nested properties
Test actions to execute.
Test action description printed when the action is executed.
PLSQL test actions.
5 nested properties
Test action description printed when the action is executed.
3 nested properties
Print test action.
2 nested properties
The message to print.
Test action description printed when the action is executed.
Purge test action.
6 nested properties
The name of the endpoint to purge.
List of endpoints to purge.
Message selector to purge only matching messages.
Message selector to find matching messages that should be purged.
2 nested properties
Select on given elements.
Selector expression value.
Wait this time between reading attempts.
Timeout when reading messages from the endpoint.
Purge JMS queue test action.
7 nested properties
The JMS connection factory.
Test action description printed when the action is executed.
The JMS queue to purge.
List of JMS queues to purge.
Time to wait between message consume attempts.
Request timeout while consuming messages from the queue.
Receive message test action.
15 nested properties
The message endpoint name or URI used to receive the message.
Test action description printed when the action is executed.
Explicit message header validator.
List of message header validators used to validate the message.
List of expressions to identify message elements that should be ignored during validation.
Optional XML namespace to validate.
Message select expression to selectively receive a message.
Receive timeout.
Validation expressions evaluated on the message.
Explicit message validator.
List of message validators used to validate the message.
Repeat test action.
5 nested properties
Sequence of test actions to execute.
Test action description printed when the action is executed.
Test variable holding the current iteration index.
Index starts with this value.
Condition that ends the iteration.
Repeat on error test action.
6 nested properties
Sequence of test actions to execute.
Automatically sleep the time in milliseconds with each attempt.
Test action description printed when the action is executed.
Test variable holding the current iteration index.
Index starts with this value.
Condition that ends the iteration.
Selenium test actions.
25 nested properties
3 nested properties
2 nested properties
1 nested properties
2 nested properties
Test action description printed when the action is executed.
3 nested properties
3 nested properties
2 nested properties
1 nested properties
1 nested properties
5 nested properties
1 nested properties
2 nested properties
7 nested properties
1 nested properties
2 nested properties
2 nested properties
1 nested properties
1 nested properties
4 nested properties
Send message test action.
6 nested properties
The message endpoint name or URI.
Test action description printed when the action is executed.
When set the send operation does not block while waiting for the response.
Sequential test action.
2 nested properties
Sequence of test actions to execute.
Test action description printed when the action is executed.
Sleep test action.
3 nested properties
Test action description printed when the action is executed.
Time to sleep in milliseconds.
Time to sleep in seconds.
SOAP Web Services related test actions.
10 nested properties
Expects a SOAP fault response as a client.
6 nested properties
The SOAP fault actor.
The SOAP fault code.
The SOAP fault details.
The SOAP fault string.
Explicit message validator.
Sets the SOAP Http client.
Test action description printed when the action is executed.
Receives a SOAP request as a server.
10 nested properties
Explicit SOAP attachment validator.
Explicit message header validator.
List of message header validators used to validate the message.
Message selector expression to selectively consume messages.
Timeout while waiting for the incoming SOAP request.
Explicit message validator.
List of message validators used to validate the message.
Receives a SOAP response as a client.
11 nested properties
Explicit SOAP attachment validator.
Explicit message header validator.
List of message header validators used to validate the message.
Message selector to selectively consume messages.
Timeout while waiting for the SOAP response message.
Message validation expressions.
Explicit message validator.
List of message validators used to validate the message.
Sends a SOAP fault response as a server
2 nested properties
The SOAP fault response message to send.
Sends a SOAP request as a client.
4 nested properties
When enabled the send operation does not block while waiting for the response.
Http endpoint URI overwrite.
Sends a SOAP response as a server.
2 nested properties
Sets the SOAP Http server.
SQL test actions.
7 nested properties
Test action description printed when the action is executed.
3 nested properties
Start server test action.
2 nested properties
Stop server test action.
2 nested properties
Stop time test action.
3 nested properties
Test action description printed when the action is executed.
The time line identifier.
Suffix added to the value test variable.
Stop timer test action.
2 nested properties
Name identifying the timer.
Test action description printed when the action is executed.
Testcontainers test actions.
5 nested properties
2 nested properties
Test action description printed when the action is executed.
6 nested properties
1 nested properties
Timer test action.
8 nested properties
Sequence of test actions to execute.
Automatically stop the timer when the test is finished.
Initial delay to wait before starting the timer.
Test action description printed when the action is executed.
Do not block the test while the timer is running.
The id of the timer.
Timer interval in milliseconds.
Number of timer executions.
Trace variables test action.
2 nested properties
Name of the test variable to include.
Test variable names to include.
Transform test action.
5 nested properties
The XSLT document performing the transformation.
3 nested properties
Optional charset used when reading the file.
The XSLT document file.
The XSLT document as inline data.
Test action description printed when the action is executed.
Set the target variable for the result.
The XML document to transform
3 nested properties
Optional charset used when reading the file.
The XML document file.
XML document as inline data.
Set the target variable for the result.
Wait for test action.
7 nested properties
Test action description printed when the action is executed.
Interval in milliseconds to check for the given wait condition.
Time to wait for the condition to become satisfied.
JsonPath validation expression.
List of expected namespaces.
Message validation expression.
Expected expression result type.
Script that builds the expected validate value.
4 nested properties
The charset used to load the file resource.
The script content.
The script content loaded as a file resource.
The script type.
Expected message validation expression value.
Xpath validation expression.