Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3936

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

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: 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
          philharveyonline Philip Harvey added a comment -

          Andrew - please submit the patch

          Show
          philharveyonline Philip Harvey added a comment - Andrew - please submit the patch
          Hide
          macbean 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
          macbean 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.rufous Alex Rudyy added a comment -

          I am happy with the patch.

          Robbie,
          Could you please commit it?

          Show
          alex.rufous Alex Rudyy added a comment - I am happy with the patch. Robbie, Could you please commit it?
          Hide
          gemmellr 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
          gemmellr 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
          k-wall 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
          k-wall 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
          philharveyonline 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
          philharveyonline 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
          philharveyonline Philip Harvey added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development