Message Governor

The purpose of this test is to verify that we can limit our message
rate when sending messages to the exchanges.

1) Setup configuration so that the limits are human reachable. Use
the following configuration for jetfix:



JetFIX {
   value {
     connection {
     # Exchange simulator connection
        name: "sim"
        platform: SIM
        socket_connect_host_ip: "127.0.0.1"
        socket_connect_port: @Ports.exchange_sim_fix_port
        sender_compid: "SPARK" # this is the FIX session name
        sender_subid: "BTS"
        target_compid: "BTS"
        target_subid: "BTS"
        end_time: "07:48:00"
        start_time: "07:52:00"
        raw_data: "1JE9X"
        use_cme_secure_logon: false
        seconds_to_pause : 1

# max of 3 order operations (creates or updates only) for each 5 second
        max_order_msgs_per_window: 3
        window_duration_msecs: 5000
     }
   }
}

2) Start the system and try to enter more then 3 orders in five 5
seconds. You should be stopped at order 4, with a msg stating the
messaging rate limit was breached.

3) Wait 5 seconds and try again, you should be able to enter new orders

4) Try again, but this time use a single order and try to change it
more than 3 times in 5 seconds. Similarly the 4th change should fail
with appropriate messages being shown in the ladder, activity log and
order book.

5) Wait a bit, and try to change the order again, it should work.

