Sequence of administrative messages

Imported from previous forum

My question deals about responding to administrative messages in case of "out of sequence" detection.

Let’s consider the following situation:

Party A and B have an active FIX connection.
Party A and B have agreed to reset the sequence numbers to 1.
Party A initiates this process by sending a Test Request with the ResetSeqNbrFlag set to ‘Y’.
In the normal case Party B responds with a Hartbeart messageb to verify Sequence Numbers
Now consider the case where Party B detects a SequenceNumber error in the Test Request.
What does Party B send back?

  1. first the repons to the Test Request, being a Hartbeat and then a Resend Request

  2. immediatly send the Resend Request and answer later to the Test Request.

Furthermore I presume that the sequence resetting cycle is abandonned.

The same scenario is applicable for logout initiation.

ResetSeqNumFlag (vs. “ResetSeqNbrFlag”) is a field on the Logon vs. TestRequest message. Logon messages have different non-expected MsgSeqNum processing rules than TestRequest and the response to the initiator’s Logon is a Logon vs. Heartbeat as response to a TestRequest.

I am not sure that I fully understand the question. Please refer to the “SESSION PROTOCOL” section of the spec for “Logon” (especially the “When using the ResetSeqNumFlag …” bullet point) and “Logout” message specifics and the “Message Recovery” section’s “Response by Message Type”. If this does not help, please re-post your question.

> My question deals about responding to administrative messages in case of “out of sequence” detection.
>
> Let’s consider the following situation:
>
> Party A and B have an active FIX connection.
> Party A and B have agreed to reset the sequence numbers to 1.
> Party A initiates this process by sending a Test Request with the ResetSeqNbrFlag set to ‘Y’.
> In the normal case Party B responds with a Hartbeart messageb to verify Sequence Numbers
> Now consider the case where Party B detects a SequenceNumber error in the Test Request.
> What does Party B send back?
>
> 1) first the repons to the Test Request, being a Hartbeat and then a Resend Request
>
> 2) immediatly send the Resend Request and answer later to the Test Request.
>
> Furthermore I presume that the sequence resetting cycle is abandonned.
>
> The same scenario is applicable for logout initiation.
>