Qpid
  1. Qpid
  2. QPID-3936

Add new framework for running distributed tests, eg for performance testing

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17
    • Component/s: Java Tests
    • Labels:
      None

      Description

      We would like a framework that makes it easy to run configuration-driven distributed Qpid tests.

      The framework should read a configuration file that specifies a number of queues, producers, and consumers. It should then run the test, collecting statistics along the way.

      This is being initially implemented in Java, but is ultimately intended to be language-neutral.

        Issue Links

          Activity

          Hide
          Philip Harvey added a comment -

          Andrew - please submit the patch

          Show
          Philip Harvey added a comment - Andrew - please submit the patch
          Hide
          Andrew MacBean added a comment -

          Alex, I have attached our patch, could you please check it and then assign to Robbie if you're happy?

          Show
          Andrew MacBean added a comment - Alex, I have attached our patch, could you please check it and then assign to Robbie if you're happy?
          Hide
          Alex Rudyy added a comment -

          I am happy with the patch.

          Robbie,
          Could you please commit it?

          Show
          Alex Rudyy added a comment - I am happy with the patch. Robbie, Could you please commit it?
          Hide
          Robbie Gemmell added a comment -

          Initial patch applied. Marking as 'In Progress' since there is work yet to be done, assigning back to Phil.

          Show
          Robbie Gemmell added a comment - Initial patch applied. Marking as 'In Progress' since there is work yet to be done, assigning back to Phil.
          Hide
          Keith Wall added a comment -

          Committed patch to change ProducerParticipant to cancel the sending test messages after maximumDuration is reached. This is required for deterministic behaviour when using the Producer Side Flow Control feature of the Java Broker, otherwise the send() can hang indefinitely after consumers have shutdown.

          Phil, could you review please?

          Show
          Keith Wall added a comment - Committed patch to change ProducerParticipant to cancel the sending test messages after maximumDuration is reached. This is required for deterministic behaviour when using the Producer Side Flow Control feature of the Java Broker, otherwise the send() can hang indefinitely after consumers have shutdown. Phil, could you review please?
          Hide
          Philip Harvey added a comment -

          Reviewed code, including the most recent changes allowing blocked producers to be interrupted when the maximum duration is exceeded. All looks good.

          Show
          Philip Harvey added a comment - Reviewed code, including the most recent changes allowing blocked producers to be interrupted when the maximum duration is exceeded. All looks good.
          Hide
          Philip Harvey added a comment -

          attached JSON file used to test that a blocked producer is interrupted when maximum duration is reached

          Show
          Philip Harvey added a comment - attached JSON file used to test that a blocked producer is interrupted when maximum duration is reached

            People

            • Assignee:
              Philip Harvey
              Reporter:
              Philip Harvey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development