Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

PI GUID E2E Inbound is a test that will inject the message to the SAP PI or SAP PO middleware platform. It can also perform validation of the middleware platform outbound message as well as validate database entries created by the message processing in the backend ABAP based system.

...

Parameter name

Description

Example

Database validation ruleset

Reference database validation ruleset object name.

Database validation ruleset specify how related backend validation should be performed. Specify tables, fields and join conditions for the backend validation.

Buttons allow navigation to the chosen database validation ruleset and creation of a new database validation ruleset
Link to be added

GENERIC_SO

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.

Link to be added

Create button allows variable creation.

...

Parameter name

Description

Example

Rule

Free text for rule name

Rule1

Expression Type

Expression type. Available options:

  • unspecified

  • XPath

  • Flat expression

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)

IDoc Status Validations

...

IDOC Status Validation parameters are used to override default status handling rules for Inbound and Outbound IDOC test types.

Default status handling is based on system settings configured in tables STACUST & STALIGHT:

...

)

...

Read Status traffic light (STALIGHT) from STALIGHT

...

STALIGHT

...

Int4 Suite Test Result

...

1 - Yellow

...

Waiting for IDOC to be processed.

If maximum number of attempts exceeded Test is marked as Failed

...

2 - Green

...

Test marked as Failed

...

3 - Red

...

Test marked as Passed

Individual statuses can be specified in Automation Object rules to override the above logic.

Parameter name

Description

Example

IDoc Status

IDoc Status

53

Rule

Describes behaviour of Int4 Suite for IDoc status

Success - Mark as Passed

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

...