# @testcase 14.a
# @condition Recieve message with a field identifier (tag number) not defined in the specification (not user defined)
# @expected Send Reject (session-level) message referencing invalid tag number. Increment inbound MsgSeqNum. Generate an error condition in test output.

iCONNECT
# logon message and response
I8=FIXT.1.135=A34=149=TW52=<TIME>56=ISLD98=0108=21137=8
E8=FIXT.1.19=6735=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=21137=810=0

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

# heartbeat message with a field that is not in the specification, but is in the correct range
I8=FIXT.1.135=034=249=TW52=<TIME>56=ISLD999=HI
# expect a reject
E8=FIXT.1.19=9635=334=249=ISLD52=00000000-00:00:00.00056=TW45=258=Invalid tag number371=999372=0373=010=0

# heartbeat message with a field that is below the valid range for fields
I8=FIXT.1.135=034=349=TW52=<TIME>56=ISLD0=HI
# expect a reject
E8=FIXT.1.19=9435=334=349=ISLD52=00000000-00:00:00.00056=TW45=358=Invalid tag number371=0372=0373=010=0

# heartbeat message with a field that is negative
I8=FIXT.1.135=034=449=TW52=<TIME>56=ISLD-1=HI
# expect a reject
E8=FIXT.1.19=9535=334=449=ISLD52=00000000-00:00:00.00056=TW45=458=Invalid tag number371=-1372=0373=010=0

# heartbeat message with a field that is above the valid range for specification defined fields (user defined is not implemented yet)
I8=FIXT.1.135=034=549=TW52=<TIME>56=ISLD5000=HI
# expect a reject
E8=FIXT.1.19=9735=334=549=ISLD52=00000000-00:00:00.00056=TW45=558=Invalid tag number371=5000372=0373=010=0

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

# logout message and response
I8=FIXT.1.135=534=649=TW52=<TIME>56=ISLD
E8=FIXT.1.19=4935=534=649=ISLD52=00000000-00:00:00.00056=TW10=0

eDISCONNECT
