SAP Advanced Event Mesh Outbound
SAP Advanced Event Mesh Outbound is a test that will listen for messages coming to tested queue or topic and will search for the message based on conditions specified in the Variables of Automation Object. It will check the outbound message triggered by other test case or manual action.
Top of the screen with Automation Object (AO) ID, description and test type.
Basic Information
Â
Â
Parameter name | Description | Example |
Message VPN | Message VPN id | testservice |
Variables
Variables are the container for values that can be used during testing. Each variable contains two values, the one that is calculated based on the reference message/document and the one that is calculated ad-hoc during test case execution.
Variables & Variable processing
Create button allows variable creation.
Parameter name | Description | Example |
Name | Variable technical name | VARIABLE_1 |
---|---|---|
Description | Free text for variable description | Variable One |
Type | Type of variable processing | Read & Replace Find message Custom |
Scope | Scope determines the processing of procedures that generate unique values like, e.g., GUID or NUM_RANGE.
| Test Case Test Run |
Payload Validations
Output payloads after processing by SAP Advanced Event Mesh are validated against previously stored references. This configuration enables adding rules with exceptions that will allow for differences.
File Type | Processing |
XML | |
JSON | |
Flat Files, X12, EDIFACT | Int4 Flat File Syntax or REGEX |
Parameter name | Description | Example |
Description | Free text for the exception rule | Field1 |
---|---|---|
Expression Type | Expression type. Available options:
This field is optional for all interfaces where there is a single type of output. However, for interfaces that output might be both XML and flat file, it is mandatory to specify the expression type. | XPath |
Expression | Path pointing to the field/node where the exception should be applied. | //ORDER/DATE/text()Â (XPATH expression) or START_TAG(BGM+220+)&&END_TAG(+)&& (Flat file expression) or $.order.date (JSONPath expression) REGEX(BGM\+220\+(.*)\+) (REGEX expression) |
Rule | Rule to be applied to the field. | Â |
| Marks the compared fields with yellow color as a "warning". | Â |
| In case compared values are different Int4 Suite compares them with specified variable. If reference/current value pair from comparison matches variable values result is marked as "warning". Variable name used for checking the values has to be specified in the Processing Parameter column. | Â |
| In case compared values are different Int4 Suite compares them with specified values in the Mapping Object. If reference/current value pair from comparison matches mapping values result is marked as "warning". Mapping Object name used for checking the values has to be specified in the Processing Parameter column. | Â |
| Even if it is different in the content, it is not highlighted. | Â |
Parameter | Used in correlation with Warning Rules. | Â |
Execution Settings
Parameter name | Description | Example |
Debug Log | Int4 Suite will provide additional, more technical information in Test Execution Report during the running of the test cases if this parameter is set. Therefore, it is recommended to set this option initially and deactivate it when object definition is confirmed after executing the first test cases | Â |
---|---|---|
Display wait popup before validation | Wait Flag indicating if Int4 Suite should stop test case execution after sending test case message to middleware. Int4 Suite will show the confirmation box, and the user will decide to continue. This setting can execute manual follow-up actions before running the next test case or checking the validations. This setup works only with Execute via SAP GUI option of execution | Â |
Delay between execution and validation
Parameter name | Description | Example |
For each test case | Delay (in seconds) between test case execution ( sending message) and checking the results. | 10 |
---|---|---|
Once per test run | Delay (in seconds) between test run execution ( sending messages) and checking the results. | 60 |
Data Scrambling
A scramble list is a part of an automation object. For compliance purposes, for example, GDPR purposes, it's required to hide some of the test case fields. Thanks to the anonymizer feature, it's possible to select fields that hold sensitive values and decide what action should be taken to prevent them from being compromised.
Parameter name | Description | Example |
Rule Type | Rule type. Available options:
| Test Case Creation |
---|---|---|
Rule | Specify scrambling rule name for identification. | NAME |
Method | Choose a scrambling method from a list. Available methods:
| HASH |
Expression Type | Expression type. Available options:
This field is optional for all interfaces where there is a single type of output. However, for interfaces that output might be both XML and flat file, it is mandatory to specify the expression type. | XPath |
Expression | Path pointing to the field/node where the exception should be applied. | //ORDER/DATE/text()Â (XPATH expression) or START_TAG(BGM+220+)&&END_TAG(+)&& (Flat file expression) or $.order.date (JSONPath expression) REGEX(BGM\+220\+(.*)\+) (REGEX expression) |
Parameter | Specify Processing Parameter suitable for a chosen scrambling method. | X (for Mask method), SHA1 (for HASH Method) |
Parameters
Parameter name | Description | Example |
SAP Adv. Event Mesh Fetch From  | Fetching from Queue or Topic. When Fetching from Queue, program will do the following:
When Fetching from Topic, program will do the following:
| Queue, Topic |
SAP Adv. Event Mesh Queue | SAP Advanced Event Mesh Queue ID, where the message should be published. Value help will show Queues available in the Selected Message VPN. Applicable only if Queue was selected in SAP Adv. Event Mesh Post to parameter. | TestQueue1 |
SAP Adv. Event Mesh Topic pattern  | Topic name where the message should be published. Value help will show Topics that selected Queue subscribes to. Applicable only if Topic was selected in SAP Adv. Event Mesh Post to parameter. | int4suite/demo/s4/beh/us/salesorder/Created/v1 |
SAP Adv. Event Mesh REST Delivery Point  | Rest Delivery Point id created for Int4 Suite Applicable only if Queue was selected in SAP Adv. Event Mesh Fetch From parameter. | rdp_TestSystem |
© 2017 - 2022 Int4 AG All rights reserved