Service Test State Diagram
Service tests follow a simple state diagram. KCIs should be sent to the tenant as the service problem transitions from one state to the other.
RECEIVED_BY_GATEWAY
A service test request has been received by the gateway and has passed basic message validation by the gateway. The gateway will generate a service test identifier and return to the tenant. The message will be sent to the supplier.
SENT_TO_SUPPLIER
A service test request has been received by the gateway and sent on to the supplier but the supplier has not accepted the service test request yet.
FAILED_TO_SEND
The gateway could not send the service test request to the supplier - implies the supplier API is down. This is a terminal state.
IN_PROGRESS
The service test request has been accepted by the supplier and a KCI will be sent with test results when the service test is completed.
REJECTED
A service test request is rejected if it fails business level validation checks by the supplier (e.g. service information incomplete). This is a terminal state.
COMPLETED
The service test has been completed and the test results have been sent via KCI.