summaryrefslogtreecommitdiff
path: root/qpid/java/perftests/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4385: perf test ClientRegistry timeout now only applies to each ↵Alex Rudyy2012-10-232-9/+66
| | | | | | | | registration, not to the whole registration sequence, thus allowing large number of clients to register without false timeouts. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401426 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-122-2/+6
| | | | | | | | | | | | | | | | ServiceLoader-based model rather than embedding Felix to use OSGi. Removed the ability to reload security configuration because this feature is not very useful in its current form and was making our code hard to refactor. Modified all tests to use jars rather than classes. This makes them closer to real-world deployments, e.g. the META-INF/services file is read from within the jar. Also moved various system tests from their respective modules into "systests". This removes the need for most modules to depend on systests, thus simplifying our dependency graph. Applied patch from myself, Keith Wall and Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4341: ensure the Topic perftests actually use Topic destinationsRobert Gemmell2012-09-237-19/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389143 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4311: throw exception if the test config requests a start delay greater ↵Robert Gemmell2012-09-212-17/+52
| | | | | | | | than the imposed maximum time limit for the test. Add some additional logging, extract some variables for clarity. Work by Oleksandr Rudyy and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4310: Display performance test results in messages per secondRobert Gemmell2012-09-208-4/+59
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4321: Perf tests should not try to call Message#acknowledge on a ↵Keith Wall2012-09-196-56/+59
| | | | | | | | | | producing session * ProducerParticipant makes erroneous call to Message#acknowledge * Externalise the poll timeout used by QpidQueueCreator to drain the queue after test * Topic-AckModes.js - replace tests for client-ack, dups-okay-ack with session transacted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387565 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4275: Java Performance Tests - race condition between closing test ↵Keith Wall2012-09-072-3/+27
| | | | | | | | consumer and test connection Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382074 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143 now producing test-summary.csv to make viewing all the 'all ↵Keith Wall2012-08-2914-77/+346
| | | | | | | | participants' test results more convenient. Re-ordered columns so that the important stuff appears first. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1378751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4053: Change performance test qpid queue creator to drain the queue ↵Keith Wall2012-08-235-43/+85
| | | | | | | | before the deletion to avoid timeouts Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1376735 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: add licence header to various filesRobert Gemmell2012-08-121-0/+20
| | | | | | | trunk equivalent of the changes made in r1372144 on the 0.18 release branch git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: modify perf test framework's queue management to allow non-Qpid ↵Keith Wall2012-07-273-6/+73
| | | | | | | | implementations to be used. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366305 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: exclude qpid-client and its third party libs from the perftests ↵Keith Wall2012-07-201-2/+2
| | | | | | | | release. This makes it easier to run the perftests using an old client version. Also made logging more sensible. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: include baseline data in charts.Keith Wall2012-07-182-1/+6
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363017 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: Refactor test approach to avoid comparing JSON strings.Keith Wall2012-07-183-135/+45
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362891 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: now getting test file paths as URIs instead of URLs so that they ↵Keith Wall2012-07-172-3/+3
| | | | | | | | still work when the path contains spaces. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: [Java Performance Tests] modified test so that its success is no ↵Keith Wall2012-07-175-17/+163
| | | | | | | | longer dependent on the order of the attributes in json2.js's JSON strings (this order varies between JDK 1.6 and 1.7, which caused a Jenkins test failure). Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362503 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: tweaked topic test config to introduce a start delay on message ↵Keith Wall2012-07-174-12/+26
| | | | | | | | | | production, allowing the consumers enough time to implicitly create the queues (unfortunately the Qpid client can't explicitly create topics). Also improved error reporting and increased time outs to better cope with large scale tests. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362502 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4113: no longer caching duration override because it broke inter-test ↵Robert Gemmell2012-07-061-9/+9
| | | | | | | | | isolation. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4113: added support for a system property to override all participant ↵Robert Gemmell2012-07-062-1/+81
| | | | | | | | durations. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4110: Java Performamce Tests. Cleaning up the subscriptions map at the ↵Keith Wall2012-07-061-0/+1
| | | | | | | | | | end of each test so we don't try to unsubscribe them again after subsequent tests Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4110 added topic support to performance tests.Keith Wall2012-07-056-36/+119
| | | | | | | | | | | Specifically: - Added support for creating and tearing down durable subscriptions - Improved IterationValueTest so that we test the format for boolean properties (such as durableSubscription) - Added test and chart definitions Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4105: perf test tidy-up code changes:Keith Wall2012-07-048-45/+70
| | | | | | | | | - Now accessing sessions in a threadsafe manner - Corrected spelling of ParticipantAttribute.IS_BROWSIING_SUBSCRIPTION Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: [Java Performance Tests] Allow specifying of test configuration ↵Keith Wall2012-07-0413-53/+939
| | | | | | | | with javascript Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357294 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-022-0/+40
| | | | | | positioning of the license wrt to the package statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4089: Add latency tests into java performance test frameworkKeith Wall2012-07-0216-28/+416
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4069: ↵Keith Wall2012-06-152-9/+11
| | | | | | | | | DistributedClientTest.testClientFailsToCreateProducerUsingInvalidSession occasionally seen to fail on CI Test is seen to fail on slower CI boxes running persistent profiles. From the logs, it can be seen that the issue is timing. Extending receive timeout and sync'ing after the message ought to resolve the problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4050: reduced verbosity of logging. Also removed unnecessary imports ↵Keith Wall2012-06-1515-18/+19
| | | | | | | | and casts in various perftests files. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350623 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Java Performance Test Framework.Keith Wall2012-05-261-5/+18
| | | | | | Fix test highlighed by JDK1.7 build on Apache CI - test approach incompatible with the Junit lifecycle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342861 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Java Performance Test Framework - better PSFC supportKeith Wall2012-05-267-20/+429
| | | | | | | | 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. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342843 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Performance Test Tool: Try to remove test queues in the event of ↵Keith Wall2012-04-301-0/+23
| | | | | | unexpected shutdown (Control-C etc) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1332057 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Produce aggregated batchSize and bring acknowledgeMode through to ↵Keith Wall2012-04-2617-77/+234
| | | | | | CSV file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1330959 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Fix for ControllerAndClientTest that occasionally fails on slow CIKeith Wall2012-04-251-2/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1330139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Add more logging to better understand the ControllerAndClientTest ↵Keith Wall2012-04-241-1/+6
| | | | | | that occasionally fails on a slow CI box git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Add more logging to better understand the ControllerAndClientTest ↵Keith Wall2012-04-241-1/+8
| | | | | | that occasionally fails on a slow CI box git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329622 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Change Performance Test Framework to support running of a series ↵Keith Wall2012-04-2320-186/+384
| | | | | | of test definition files and the production of a separate CSV per test definition. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329215 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: add more debug logsKeith Wall2012-04-206-0/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328319 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: stop queue creator from leaving open session behindKeith Wall2012-04-204-32/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328318 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Performance Test Framework - Fix failing tests under JDK 1.7Keith Wall2012-04-162-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326616 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: initial checkin of new testing framework, initially to be used ↵Robert Gemmell2012-04-05147-0/+14674
| | | | | | | | for performance testing but later to be expanded for use with other testing scenarios. Applied patch from Philip Harvey <phil@philharveyonline.com>, Oleksandr Rudyy <orudyy@gmail.com>, Andrew MacBean <andymacbean@gmail.com>, Keith Wall <kwall@apache.org>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309918 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3929: remove old perftests + integrationtests + junit-toolkit modules ↵Robert Gemmell2012-04-0426-6594/+0
| | | | | | and associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309476 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix acking bug in old perftests, add some logging to aid failure ↵Robert Gemmell2012-02-172-22/+8
| | | | | | analysis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245515 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Encapsulate fields, use private members and accesors (keep ↵Robert Godfrey2012-01-271-2/+2
| | | | | | checkstyle happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236867 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Ensure all control flow statements use braces (keeping CheckStyle ↵Robert Godfrey2012-01-272-2/+8
| | | | | | happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2627 : Remove dependency on MINARobert Godfrey2011-09-091-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1167311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3434: Refactored 0-8..0-9-1 code paths to use same SSL configuration ↵Robert Gemmell2011-08-181-1/+13
| | | | | | | | mechanisms as 0-10. Apply work by myself and Keith Wall git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3343: refactor test profiles to allow testing within the same JVM for ↵Robert Gemmell2011-07-071-207/+0
| | | | | | | | all protocols, remove vm:// transport support and associated forked Mina classes Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857 : Address issues found by running FindBugs against the Java codebaseRobert Godfrey2010-09-122-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@996393 13f79535-47bb-0310-9956-ffa450edef68
* Add the ASF License to various classes currently missing itRobert Gemmell2010-06-021-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950740 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2639Rajith Muditha Attapattu2010-06-021-2/+2
| | | | | | | Changed all existing test cases that extened QpidTestCase to QpidBrokerTestCase. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950617 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2421 : Fixed preFill when numConsumers > 1. This requried the ↵Martin Ritchie2010-04-124-45/+110
| | | | | | | | | | introduction of a new phase in TestThreadAware : postThreadSetup. This ensures that all the threads have correctly setup their clients and so registered their topic subscribers. We can then preFill in the postThreadSetup and reliably receive the data from each of the client's publishers. Added new sendOnly parameter to allow send only testing with topics where numConsumers must be set. Merged from 0.5.x-dev rev 920389 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933286 13f79535-47bb-0310-9956-ffa450edef68