forked from connamara/quickfixn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(connamara#80) AT: logon with reset after disconnect
- Loading branch information
1 parent
300d4b3
commit 5c80bed
Showing
5 changed files
with
71 additions
and
7 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[DEFAULT] | ||
Verbose=Y | ||
FileLogPath=log | ||
ConnectionType=acceptor | ||
SocketAcceptPort=5005 | ||
SocketReuseAddress=Y | ||
StartTime=00:00:00 | ||
EndTime=00:00:00 | ||
SenderCompID=ISLD | ||
TargetCompID=TW | ||
ResetOnLogon=N | ||
FileStorePath=store | ||
[SESSION] | ||
BeginString=FIX.4.4 | ||
DataDictionary=..\spec\fix\FIX44.xml |
40 changes: 40 additions & 0 deletions
40
AcceptanceTest/definitions/server/fix44noreset/SessionResetAfterDisconnect.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Issue #80: logon with reset _after_disconnect_ | ||
|
||
iCONNECT | ||
# logon with reset, because this config has ResetOnLogon=N | ||
I8=FIX.4.435=A34=149=TW52=<TIME>56=ISLD98=0108=30141=Y | ||
E8=FIX.4.49=6735=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=30141=Y10=0 | ||
I8=FIX.4.435=034=249=TW52=<TIME>56=ISLD | ||
I8=FIX.4.435=034=349=TW52=<TIME>56=ISLD | ||
I8=FIX.4.435=034=449=TW52=<TIME>56=ISLD | ||
I8=FIX.4.435=034=549=TW52=<TIME>56=ISLD | ||
I8=FIX.4.435=034=649=TW52=<TIME>56=ISLD | ||
I8=FIX.4.435=034=749=TW52=<TIME>56=ISLD | ||
I8=FIX.4.435=034=849=TW52=<TIME>56=ISLD | ||
I8=FIX.4.435=034=949=TW52=<TIME>56=ISLD | ||
|
||
#Send TestRequest, expect HeartBeat response | ||
I8=FIX.4.435=134=1049=TW52=<TIME>56=ISLD112=1 | ||
E8=FIX.4.49=5535=034=249=ISLD52=<TIME>56=TW112=1 | ||
|
||
#Logout and response | ||
I8=FIX.4.435=534=1149=TW52=<TIME>56=ISLD | ||
E8=FIX.4.49=4935=534=349=ISLD52=00000000-00:00:00.00056=TW10=0 | ||
|
||
eDISCONNECT | ||
iCONNECT | ||
|
||
#send a Logon with ResetSeqNumFlag set to Y and with MsgSeqNum of 1 | ||
I8=FIX.4.435=A34=149=TW52=<TIME>56=ISLD98=0108=30141=Y | ||
#Expect a response with a Logon with ResetSeqNumFlag set to Y and with MsgSeqNum of 1. | ||
E8=FIX.4.49=6735=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=30141=Y10=0 | ||
|
||
#Send TestRequest (MsgSeqNum = 2) expect to receive HeartBeat (MsgSeqNum = 2) | ||
I8=FIX.4.435=134=249=TW52=<TIME>56=ISLD112=1 | ||
E8=FIX.4.49=5535=034=249=ISLD52=<TIME>56=TW112=1 | ||
|
||
# logout message and response | ||
I8=FIX.4.435=534=349=TW52=<TIME>56=ISLD | ||
E8=FIX.4.49=4935=534=349=ISLD52=00000000-00:00:00.00056=TW10=0 | ||
|
||
eDISCONNECT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters