# @testcase 14.g
# @condition Recieve message in which the following are not true: header+body+trailer is the order
# @expected Send Reject (session-level) message referencing incorrect message structure. Increment inbound MsgSeqNum. Generate an error condition in test output.

iCONNECT
# logon message and response
I8=FIX.4.135=A34=149=TW52=<TIME>56=ISLD98=0108=2
E8=FIX.4.19=5635=A34=149=ISLD52=00000000-00:00:0056=TW98=0108=210=0

#------------------------
# begin message exchange
#------------------------

# new order message with all body tags first
I8=FIX.4.135=D11=id21=340=154=155=MSFT60=<TIME>34=249=TW52=<TIME>56=ISLD
# expect a reject
E8=FIX.4.19=9435=334=249=ISLD52=00000000-00:00:0056=TW45=258=Tag specified out of required order (34)10=0

# new order message with one body tag first
I8=FIX.4.135=D55=MSFT34=349=TW52=<TIME>56=ISLD11=id21=340=154=160=<TIME>
# expect a reject
E8=FIX.4.19=9435=334=349=ISLD52=00000000-00:00:0056=TW45=358=Tag specified out of required order (34)10=0

#------------------------
# end message exchange
#------------------------

# logout message and response
I8=FIX.4.135=534=449=TW52=<TIME>56=ISLD
E8=FIX.4.19=4535=534=449=ISLD52=00000000-00:00:0056=TW10=0

eDISCONNECT