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

          Philip Harvey created issue -
          Hide
          Philip Harvey added a comment -

          Andrew - please submit the patch

          Show
          Philip Harvey added a comment - Andrew - please submit the patch
          Philip Harvey made changes -
          Field Original Value New Value
          Assignee Andrew MacBean [ macbean ]
          Andrew MacBean made changes -
          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?
          Andrew MacBean made changes -
          Assignee Andrew MacBean [ macbean ] Alex Rudyy [ alex.rufous ]
          Alex Rudyy made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Alex Rudyy made changes -
          Status In Progress [ 3 ] Ready To Review [ 10006 ]
          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?
          Alex Rudyy made changes -
          Assignee Alex Rudyy [ alex.rufous ] Robbie Gemmell [ gemmellr ]
          Robbie Gemmell made changes -
          Status Ready To Review [ 10006 ] Open [ 1 ]
          Robbie Gemmell made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          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.
          Robbie Gemmell made changes -
          Assignee Robbie Gemmell [ gemmellr ] Philip Harvey [ philharveyonline ]
          Keith Wall made changes -
          Link This issue is cloned as QPID-3977 [ QPID-3977 ]
          Keith Wall made changes -
          Link This issue is related to QPID-3977 [ QPID-3977 ]
          Keith Wall made changes -
          Link This issue is cloned as QPID-3977 [ QPID-3977 ]
          Keith Wall made changes -
          Attachment 0001-QPID-3936-producer-participant-can-be-interrupt-mess.patch [ 12526221 ]
          Keith Wall made changes -
          Attachment 0001-QPID-3936-producer-participant-can-be-interrupt-mess.patch [ 12526221 ]
          Keith Wall made changes -
          Comment [ Patch: Producer participant can be interrupt message sends when maximumDuration is reached. Useful for use with PSFC. ]
          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?
          Keith Wall made changes -
          Status In Progress [ 3 ] Ready To Review [ 10006 ]
          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.
          Philip Harvey made changes -
          Status Ready To Review [ 10006 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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
          Philip Harvey made changes -
          Attachment config-producer-only.json [ 12531229 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development