Simulation

reliability into b2b messaging

Process simulation is required to make sure that message processing works as expected. Content validation can be easily combined into simulation logic using Truugo's Web Services API.

Content validation in simulation process

Data interchange process can be simulated by a simple application which receives a sender's document and returns an appropriate response message. For example a response for an order message can be decided in a following way: If Truugo's test report states that a message is valid, an order response message will be returned and otherwise a technical application response message with an appropriate feedback.

Simulation

Simulator implementation

A simulator is straightforward to implement - at its simplest. It needs two parameters to identify a use case "Send Order" and a test scenario "Receive Order Response" or "Receive Invoice". In addition, a simulator needs a switch to make a decision which response message shall be returned in each case. Truugo test report's status code (Failed/Passed) can be used as an input parameter for a decision rule to select a response message.

Response messages are an essential part of a simulator's operation. A straightforward implementation can be reached by using XSL transformations and a bunch of default values and case-specific XML data files.

Implement yourself or order from us

You can implement a simulator based on Truugo validation service by acquiring access to Truugo's Web Services API.