...
Default serialization
During test case execution for non-SAP Middlewares by default the test message is being send over the Int4 IFTT Dispatcher.
The serialization take place by validating the whole payloads of the message that Int4 IFTT sends to the Dispatcher and the new input message from the interface processing that gets saved to Int4 IFTT. Specifically the whole message payload before sent to the dispatcher, is being hashed and the hash-string is saved in order to compare it with the new hashed input message. That way, you are able to make any changes to the original message just before re-running the test case in order to fulfill your testing requirements.
Serialization by variable values
There are cases when the serialization cant be performed based on the whole payload. In that case there is the possibility to correlate the input messages using message variables.
For that purpose the following configuration for the given Automation Object must be performed.
Add a new variable to the Automation Object
Configure the following Action:
Populate variable before execution
Locate new message using variable value
Generate value for new message (optional) - This action is recommended in order to avoid posting duplicates
Note |
---|
Please note that in this case the action “Locate new message using variables“ will correlate the input messages, in addition to Outbound Interface Types where the correlation of variable value is being done on the output message. |
Serialization by CorrelationId
In case when custom HTTP headers can be passed to the original process, for example during a direct SOAP call from Int4 IFTT, the serialization can be achieved by a correlation ID which is generated from Int4 IFTT during test case execution, unique for each test case. It allows to identify all the related messages in the most immediate way.
This HTTP header can be further passed with the rest of the additional details into the SavePayload process and so for save this information in Int4 IFTT.
Info |
---|
For all three cases the output messages are fetched based on the execution id of the processing input and output messages. |