Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-236

Make the time interval when Test Request being sent configurable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: Engine
    • Labels:
      None

      Description

      We've been going through a certification process with TransactTools (http://www.openfix.net/), and encountered a different expected behaviour with sending Test Requests.

      In the TransactTools test, they skip a heartbeat message and expect our quickfix engine (Ie QFJ) to send a test request:
      "We suppressed our last heartbeat message.
      In response we expected to receive a test request message from you within 9 seconds (30% of the HeartBeatInt field) but did not."

      Seems like they expect it to be sent within HeartBeatInt+9secs. Looking at the code in SessionState.isTestRequestNeeded(), it calculates the Test Request delay as 1.5 * (HeartBeatInt + numTestRequestsSent + 1), which translates into HeartBeatInt * 1.5 (for first request) = 30 + 15secs, which is over the +9 seconds that's expected.

      Is there a known spec for this formula or was it something "reasonable" but not necessarily standard? Maybe it's something we need to make configurable to satisfy different expectations form counterparties?

        Attachments

        1. qfj-236.patch
          13 kB
          Toli Kuznets
        2. qfj-236.patch
          12 kB
          Toli Kuznets

          Activity

            People

            • Assignee:
              toli Toli Kuznets
              Reporter:
              toli Toli Kuznets
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: