User Help System
Failover for Request Type of Subscription with Query
The purpose of this test is to verify the client system can properly handle a failover event using a Query for recovery purposes. This includes identifying a failover response, subscribing with a new token, and receiving duplicate trades as part of the failover process (deduping).
This test is mandatory if you selected Query for Missed Messages in the first interview question.
- To run the test
- On the Test Case tab, use the Instrument(s) drop down menu to choose an instrument and channel and click SELECT.
- Select START TEST.
- Submit a proper Initial Unfiltered Query Request using Start Time (ReqType="1" SubReqType="1") .
- Receive an empty batch file (<Batch>).
- Submit a continuous subscription request (RegTyp="3", SubReqTyp="1").
- Receive a Trade Capture Report (TransTyp="0", TrdTyp="0"). Validate the Product Code (ID), Trade Quantity (LastQty), and Last Update Time (LastUpdateTm).
- Submit a continuous subscription request (RegTyp="3" SubReqTyp="1").
- Receive a TrdCaptRptReqAck message with x-cme-token expiration message and HTTP response status code 406.
- Submit a proper Query Request with a Start Time (StartTm) that is at least one minute prior to the Last Update Time (LastUpdateTm) of the last trade received (ReqType="1" SubReqType="0").
- Confirm you received a duplicate trade from step 6.