...
Type of the Virtualization Object is the key value defining what type of virtualization behavior will be perform.
Type | Description |
Inject | Allow injection of the collected messages to middleware platform or the ABAP backend. Messages are collected from reference environment and can be injected to other environments. For example collected in production system and injected to test system. Injection is a manual process, there is no automatic triggering. Collection of historic data is automatic. |
---|---|
Asynchronous | Create asynchronous response for the triggering message. Response can be manually controlled or automatic. Responses can be generated via configuration (mapping) or via historic message search. |
Response profile of Virtualization Object is the key value for the asynchronous Virtualization Object type. It is defining how the response for triggering message should be created.
Response profile | Description |
History Based | Response messages are collected from the reference environment. When triggering message is catched, Int4 Messenger is scanning response messages collected from the reference environment for the response that will match the triggering message. Found message is saved as a response. |
---|---|
Configuration Based | Response is created by processing triggering message through the mapping. Result of the mapping is saved as a response. |
Processing
Processing consist of Automation Object that is used to monitor triggering messages - Trigger Object and Automation Object that is used to inject message - Response Object.
...
a) History Based - values found for the trigger object needs to be found in the collected responses. Many pairs of values Trigger/Response can be defined as a key for this search. Result of the search is the response that is send back as a virtualized response.
...
Parameter | Description |
Trigger Value | Expression (XPath, JSONPath or REGEX) that is used to fetch values from the triggering message |
---|---|
Response Value | Expression (XPath, JSONPath or REGEX) that is used to fetch values from the collected response messages |
b) Configuration Based
...
Parameter | Description |
Mapping Type | Two mapping types are available a) Integration Platform Mapping - mapping is performed via integration platform supported by Int4 Suite or Generic HTTP service (test type 54) b) XSLT Mapping - mapping is performed via XSLT mapping in ABAP backend where Int4 Messenger is installed |
---|---|
Mapping | Int4 Suite Test Case number that contains either reference to the Integration Platform Mapping or XSLT mapping |