1# Do not reverse routing field if it is empty
2
3iCONNECT
4#Logon
5I8=FIX.4.435=A34=149=TW52=<TIME>56=ISLD98=0108=30
6E8=FIX.4.49=6135=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=3010=0
7
8# Send an order with OnBehalfOfCompID (115) empty
9I8=FIX.4.435=D34=249=TW52=<TIME>56=ISLD115=11=ID21=338=10040=154=155=INTC60=<TIME>
10# Expect to see a reject with reverse route DeliverToCompID (128) not present
11E8=FIX.4.49=10735=334=249=ISLD52=00000000-00:00:00.00056=TW45=258=Tag specified without a value371=115372=D373=410=0
12
13# Send an order with DeliverToCompID (128) empty
14I8=FIX.4.435=D34=349=TW52=<TIME>56=ISLD128=11=ID21=338=10040=154=155=INTC60=<TIME>
15# Expect to see a reject with reverse route OnBehalfOfCompID (115) not present
16E8=FIX.4.49=10735=334=349=ISLD52=00000000-00:00:00.00056=TW45=358=Tag specified without a value371=128372=D373=410=0
17
18# Send an order with OnBehalfOfCompID (115) and OnBehalfOfSubID (116) empty
19I8=FIX.4.435=D34=449=TW52=<TIME>56=ISLD115=JCD116=11=ID21=338=10040=154=155=INTC60=<TIME>
20# Expect to see a reject with reverse route DeliverToCompID (128) set and DeliverToSubID (129) not present
21E8=FIX.4.49=11535=334=449=ISLD52=00000000-00:00:00.00056=TW128=JCD45=458=Tag specified without a value371=116372=D373=410=0
22
23# Send an order with DeliverToCompID (128) and DeliverToSubID (129) empty
24I8=FIX.4.435=D34=549=TW52=<TIME>56=ISLD128=JCD129=11=ID21=338=10040=154=155=INTC60=<TIME>
25# Expect to see reverse route OnBehalfOfCompID (115) and OnBehalfOfSubID (116) not present
26E8=FIX.4.49=11535=334=549=ISLD52=00000000-00:00:00.00056=TW115=JCD45=558=Tag specified without a value371=129372=D373=410=0
27
28# Send an order with OnBehalfOfCompID (115) and OnBehalfOfSubID (116) set and OnBehalfOfLocationID (144) empty
29I8=FIX.4.435=D34=649=TW52=<TIME>56=ISLD115=JCD116=CS144=11=ID21=338=10040=154=155=INTC60=<TIME>
30# Expect to see reverse route DeliverToCompID (128) and DeliverToSubID (129) set and DeliverToLocationID (145) not present
31E8=FIX.4.49=12235=334=649=ISLD52=00000000-00:00:00.00056=TW128=JCD129=CS45=658=Tag specified without a value371=144372=D373=410=0
32
33# Send an order with DeliverToCompID (128) and DeliverToSubID (129) set and DeliverToLocationID (145) empty
34I8=FIX.4.435=D34=749=TW52=<TIME>56=ISLD128=JCD129=CS145=11=ID21=338=10040=w54=155=INTC60=<TIME>
35# Expect to see reverse route OnBehalfOfCompID (115) and OnBeHalfOfSubID (116) set and OnBehalfOfLocationID (144) not present
36E8=FIX.4.49=12235=334=749=ISLD52=00000000-00:00:00.00056=TW115=JCD116=CS45=758=Tag specified without a value371=145372=D373=410=0
37# logout message and response
38I8=FIX.4.435=534=849=TW52=<TIME>56=ISLD
39E8=FIX.4.49=4935=534=849=ISLD52=00000000-00:00:00.00056=TW10=0
40
41eDISCONNECT
42