# 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. ![Service Problem State Diagram](/assets/serviceteststate.649573aa46026d4c8c8e129ec7367aa718ab870822a5ab97e9ca9259d7652e8e.9c1bb791.png) ### 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.