RE: [SPAM] [Quickfix-developers] Infinite resend loop
Brought to you by:
orenmnero
From: James C. D. <jc...@co...> - 2004-04-22 02:38:05
|
I thought the attached (Shown below also) test would fail. Am I missing something?=20 # 22 Session Reject increments incoming sequence number iCONNECT #Logon I8=3DFIX.4.0=0135=3DA=0134=3D1=0149=3DTW=0152=3D<TIME>=0156=3DISLD=0198=3D= 0=01108=3D30=01 E8=3DFIX.4.0=019=3D57=0135=3DA=0134=3D1=0149=3DISLD=0152=3D00000000-00:00= :00=0156=3DTW=0198=3D0=01108=3D30=0110=3D 0=01 # Send a good messages I8=3DFIX.4.0=0135=3DD=0134=3D2=0149=3DTW=0152=3D<TIME>=0156=3DISLD=0111=3D= ID=0121=3D3=0138=3D100=0140=3D1=0154=3D1=0155=3D INTC=01 E8=3DFIX.4.0=019=3D81=0135=3DD=0134=3D2=0149=3DISLD=0152=3D00000000-00:00= :00=0156=3DTW=0111=3DID=0121=3D3=0138=3D1 00=0140=3D1=0154=3D1=0155=3DINTC=0110=3D0=01 #Send a message with good length, MsgSeqNum,and Check sum but bad enum = value 54=3DX I8=3DFIX.4.0=0135=3DD=0134=3D3=0149=3DTW=0152=3D<TIME>=0156=3DISLD=0111=3D= ID=0121=3D3=0138=3D100=0140=3D1=0154=3DX=0155=3D IVP=01 #Expect a reject E8=3DFIX.4.0=019=3D105=0135=3D3=0134=3D3=0149=3DISLD=0152=3D00000000-00:0= 0:00=0156=3DTW=0145=3D3=0158=3DValue is incorrect (out of range) for this tag (54)=0110=3D0 #Send a good message again with the MsgSeqNum incremented I8=3DFIX.4.0=0135=3DD=0134=3D4=0149=3DTW=0152=3D<TIME>=0156=3DISLD=0111=3D= ID=0121=3D3=0138=3D100=0140=3D1=0154=3D1=0155=3D IVP=01 E8=3DFIX.4.0=019=3D80=0135=3DD=0134=3D4=0149=3DISLD=0152=3D00000000-00:00= :00=0156=3DTW=0111=3DID=0121=3D3=0138=3D1 00=0140=3D1=0154=3D1=0155=3DIVP=0110=3D0=01 # logout message and response I8=3DFIX.4.0=0135=3D5=0134=3D5=0149=3DTW=0152=3D<TIME>=0156=3DISLD=01 E8=3DFIX.4.0=019=3D45=0135=3D5=0134=3D5=0149=3DISLD=0152=3D00000000-00:00= :00=0156=3DTW=0110=3D0=01 eDISCONNECT Jim =20 James C. Downs Connamara Systems, LLC 53 W. Jackson Blvd Suite 1627 Chicago, IL 60604 312 - 282 - 7746 www.connamara.com -----Original Message----- From: James C. Downs [mailto:jc...@co...]=20 Sent: Wednesday, April 21, 2004 6:31 AM To: 'Joerg Thoennes'; 'Oren Miller' Cc: 'Kovalenko, Michael'; 'qui...@li...' Subject: RE: [SPAM] [Quickfix-developers] Infinite resend loop Joerg, I think the test case we need to create is as follows: Message has CORRECT body length, check sum, and sequence number; but = FAILS message validation, e.g. MSgType=3D&. Quick fix should send session level reject with clear reason, and = increment the incoming sequence number to expect on the next message. Does this look correct? If so we should create a test for this test = case. We should also review the existing test cases to ensure that we have proper coverage for message rejection. Also are we considering all FIX versions or just 4.2 forward? Jim =20 James C. Downs Connamara Systems, LLC 53 W. Jackson Blvd Suite 1627 Chicago, IL 60604 312 - 282 - 7746 www.connamara.com -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of = Joerg Thoennes Sent: Wednesday, April 21, 2004 4:52 AM To: Oren Miller Cc: Kovalenko, Michael; 'qui...@li...' Subject: Re: [SPAM] [Quickfix-developers] Infinite resend loop Oren Miller wrote: > Ok. This answers my question. Looks like it's pretty clear what has=20 > to be done. Thanks. Oren, does this mean your are planning to add session level rejects for all = case except body length or checksum errors? That would resolve some of our customers complaints. Thanks, J=F6rg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux = tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. = Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |