Thread: Re: Re: [Quickfix-developers] About passing test cases provided by openfix.net
Brought to you by:
orenmnero
|
From: rohan j. p. <roh...@re...> - 2005-09-26 06:01:47
|
=A0=0AHi,=0A What you are telling is right sir, i am unable to recieve th= e messages from the OpenFix Test Suite while testing for cases =0A1 - Fiel= d Includes SOH character=0A2 - Invalid First three fields.=0A=0AIn the abov= e 2 cases, i think quickfix engine is ingnoring the messages, and because o= f that i think these messages can't make it to the session layer. Since my = application is not getting these messages, i am not able to send a reject m= essage or so, as requested by the open fix test suite and so i am failing t= he tests in these 2 cases. =0A=0AThe Test case "Support third party address= ing" is not used in our project(and over that its optional) so i am thinkin= g of ignoring it.=0A=0AThe Test case "Synchronize Sequence Numbers" is also= an optional test case, and so i am thinking of ignoring it too.=0A=0AThe T= est case "Missing Conditionally required field", i think i can handle it wi= th some efforts from my side.=0A=0A=0APlease give me suggestions if i am wr= ong.=0AThanks in Advance=0Awith regards=0Arohan=0A=0A=0AOn Fri, 23 Sep 2005= Caleb Epstein wrote :=0A>On 23 Sep 2005 11:17:21 -0000, rohan joel pais <r= oha...@re...>=0A>wrote:=0A> >=0A> > I have developed an quickfix= application which acts as a server. And now i=0A> > am testing this applic= ation using www.openfix.net <http://www.openfix.net>=0A> > .=0A> >=0A> > I = have tested almost all cases except the cases mentioned below=0A> >=0A> > 1= - Synchronize Sequence Numbers.=0A> > 2 - Support third party addressing.= =0A> > 3 - Invalid First three fields.=0A> > 4 - Field Includes SOH charact= er=0A> > 5 - Missing Conditionally required field.=0A> >=0A> > First i thou= ght the above cases (Except 2) will be handled by the quickfix=0A> > engine= , but it doesn't handle.=0A> >=0A>You'll need to provide specifics about th= e tests and what problems you ran=0A>into (logfiles and event logs would be= helpful). Certain things can probably=0A>be made to work with configuratio= n options, but others may not be do-able=0A>because of the design of the Qu= ickFIX library. For example, corrupted=0A>messages will never make it into = the Session layer.=0A>=0A>=0A>--=0A>Caleb Epstein=0A>caleb dot epstein at g= mail dot com=0A |
|
From: Dale W. <wil...@oc...> - 2005-09-26 16:30:48
|
Hi Rohan,
rohan joel pais wrote:
>
> Hi,
> What you are telling is right sir, i am unable to recieve the
> messages from the OpenFix Test Suite while testing for cases
> 1 - Field Includes SOH character
> 2 - Invalid First three fields.
>
According to the standard (FIX 4.2 w/ errata, page 30)
Note: The receiving application should disregard any message that is
garbled, cannot be parsed or
fails a data integrity check. Processing of the next valid FIX
message will cause detection of a
sequence gap and a Resend Request will be generated. Logic should be
included in the FIX engine to
recognize the possible infinite resend loop, which may be
encountered in this situation.
The errors you describe, including SOH in a non-data field, or
misordering the first three fields produce messages do not pass basic
data integrity tests, so sending a reject would violate the standard.
I believe the validation suite is in error in expecting a reject. After
all, a reject message must identify the sequece number of the message to
be rejected and you can't parse the message, you don't really know what
sequence number to reject, right?
Unfortunately this may not help in your situation, so if you MUST
generate a reject, you'll probably have to hack the QuickFIX code. At
least this is Open Source so you have that option.
<plug> If you decide you need to modify the QuickFIX code and are
uncomfortable with the idea of doing this yourself, OCI, the company I
work for, does this kind of work on a contract basis. Let me know
privately if you want to explore this option da...@oc... </plug>
Dale
>
> In the above 2 cases, i think quickfix engine is ingnoring the
> messages, and because of that i think these messages can't make it to
> the session layer. Since my application is not getting these messages,
> i am not able to send a reject message or so, as requested by the open
> fix test suite and so i am failing the tests in these 2 cases.
>
> The Test case "Support third party addressing" is not used in our
> project(and over that its optional) so i am thinking of ignoring it.
>
> The Test case "Synchronize Sequence Numbers" is also an optional test
> case, and so i am thinking of ignoring it too.
>
> The Test case "Missing Conditionally required field", i think i can
> handle it with some efforts from my side.
>
>
> Please give me suggestions if i am wrong.
> Thanks in Advance
> with regards
> rohan
>
>
> On Fri, 23 Sep 2005 Caleb Epstein wrote :
> >On 23 Sep 2005 11:17:21 -0000, rohan joel pais <roh...@re...>
> >wrote:
> > >
> > > I have developed an quickfix application which acts as a server.
> And now i
> > > am testing this application using www.openfix.net
> <http://www.openfix.net>
> > > .
> > >
> > > I have tested almost all cases except the cases mentioned below
> > >
> > > 1 - Synchronize Sequence Numbers.
> > > 2 - Support third party addressing.
> > > 3 - Invalid First three fields.
> > > 4 - Field Includes SOH character
> > > 5 - Missing Conditionally required field.
> > >
> > > First i thought the above cases (Except 2) will be handled by the
> quickfix
> > > engine, but it doesn't handle.
> > >
> >You'll need to provide specifics about the tests and what problems
> you ran
> >into (logfiles and event logs would be helpful). Certain things can
> probably
> >be made to work with configuration options, but others may not be do-able
> >because of the design of the QuickFIX library. For example, corrupted
> >messages will never make it into the Session layer.
> >
> >
> >--
> >Caleb Epstein
> >caleb dot epstein at gmail dot com
>
--
-----------------------------------------------------
Dale Wilson, Senior Software Engineer
Object Computing, Inc. (OCI)
http://www.ociweb.com/ http://www.theaceorb.com/
----------------------------------------------------
|