{
    "_tests":[
    {
      "_name": "Latency of varying number of participants: 1 consumer - 1 producer - PERSISTENT",
      "_queues":[
        {
          "_name": "direct://amq.direct//latency-varying-consumers?durable='true'",
          "_durable": true
        }
      ],
      "_clients":[
        {
          "_name": "producingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer1",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_deliveryMode": 2,
                      "_messageSize": 1024,
                      "_maximumDuration": 60000,
                      "_interval": 1000
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "_name": "consumingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer1",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },


    {
      "_name": "Latency of varying number of participants: 1 consumer - 10 producers - PERSISTENT",
      "_queues":[
        {
          "_name": "direct://amq.direct//latency-varying-consumers?durable='true'",
          "_durable": true
        }
      ],
      "_clients":[
        {
          "_name": "producingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer1",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection2",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session2",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer2",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection3",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session3",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer3",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection4",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session4",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer4",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection5",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session5",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer5",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection6",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session6",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer6",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection7",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session7",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer7",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection8",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session8",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer8",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection9",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session9",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer9",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection10",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session10",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer10",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "_name": "consumingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer1",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },

    {
      "_name": "Latency of varying number of participants: 10 consumers - 10 producers - PERSISTENT",
      "_queues":[
        {
          "_name": "direct://amq.direct//latency-varying-consumers?durable='true'",
          "_durable": true
        }
      ],
      "_clients":[
        {
          "_name": "producingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer1",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection2",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session2",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer2",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection3",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session3",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer3",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection4",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session4",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer4",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection5",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session5",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer5",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection6",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session6",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer6",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection7",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session7",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer7",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection8",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session8",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer8",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection9",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session9",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer9",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection10",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session10",
                  "_acknowledgeMode": 1,
                  "_producers": [
                    {
                      "_name": "Producer10",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_interval": 3000,
                      "_deliveryMode": 2,
                      "_messageSize": 1024
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "_name": "consumingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer1",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                       "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection2",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session2",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer2",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection3",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session3",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer3",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection4",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session4",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer4",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection5",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session5",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer5",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection6",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session6",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer6",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection7",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session7",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer7",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection8",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session8",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer8",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection9",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session9",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer9",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            },
            {
              "_name": "connection10",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session10",
                  "_acknowledgeMode": 1,
                  "_consumers": [
                    {
                      "_name": "Consumer10",
                      "_destinationName": "direct://amq.direct//latency-varying-consumers?durable='true'",
                      "_maximumDuration": 60000,
                      "_evaluateLatency": true
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
