summaryrefslogtreecommitdiff
path: root/qpid/java/perftests/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5723: fix JavaScript issues to enable evaluation under the new engine ↵Robert Gemmell2014-05-011-2/+2
| | | | | | | | | in JDK 8 merge from trunk r1590256 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1591690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048,QPID-5657: initial bulk change toward bringing the maven build on ↵Robert Gemmell2014-04-131-2/+1
| | | | | | | | | | | | | | | | | | the 0.28 branch up to parity with trunk Merges the following revisions from trunk: r1579935 r1581349 r1582781 r1582782 r1585102 r1585103 r1585105 r1585106 r1585112 r1585440 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1586990 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: split out systests from perftests and add rat plugin configRobert Gemmell2014-03-1621-2179/+4
| | | | | | Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1578145 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5612: JMS benchmarking tool fixesAlex Rudyy2014-03-115-49/+99
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576355 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5612: JMS benchmarking tool [Part of the existing Java Broker ↵Keith Wall2014-03-0712-24/+577
| | | | | | | | | | | | Performance Test suite] Simple tool that uses the existing performance test suite to give a message throughput statistics (msg/s) and (Kbytes/s) for a use case involving a producer/consumer (on separate connections) with persistent messages on transactional sessions. The test scales the number of connections through 1, 2, 5 and 10 and reports separate statistics for each. The duration of the test and message size can be overridden from the command line via system properties -Dqpid.disttest.duration and -Dqpid.disttest.messageSize respectively. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575336 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5596 : [Java] Address bugs found by FindBugsRobert Godfrey2014-03-031-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1573586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: Maven enahancements to restructure POM hierarchy and improve buildRobert Gemmell2014-02-271-3/+12
| | | | | | Patch supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572552 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: add initial pom files for a maven buildRobert Gemmell2013-09-231-0/+33
| | | | | | still a work-in-progress git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525753 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4958: fixed race condition in ClientRegistry that caused awaitClients ↵Phil Harvey2013-07-011-25/+36
| | | | | | | | to hang if all registrations arrive between the initial numberAbsent() call and _lock.wait(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1498306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4606: Java performance test unit test timeouts increased to allow for ↵Phil Harvey2013-02-273-7/+6
| | | | | | slow CI servers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4605: Java performance test and visualisation unit tests now subclass ↵Phil Harvey2013-02-2744-129/+123
| | | | | | QpidTestCase so that we benefit from helpful logging in QpidTestCase git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450687 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4533: Java Performance Tests - addressed bug in JdbcSeriesBuilder that ↵Phil Harvey2013-02-091-3/+5
| | | | | | caused it to ignore the CSV series directory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444335 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4533: fixed bug in perftest ResultsDbWriter's default run ID to make it ↵Phil Harvey2013-01-302-5/+23
| | | | | | timezone-agnostic git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440399 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4533: Modified perftests to support writing results to a database, and ↵Phil Harvey2013-01-3012-100/+812
| | | | | | | | | enhanced visualisation-jfc to allow it to read these results. Previously only CSV output/input was supported by these modules respectively. Also modified files in perftests/etc/ to allow convenient running of perftests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440312 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] Perf Tests - tweak queue drain algorithm to better ↵Keith Wall2012-12-272-13/+25
| | | | | | handle a slow broker (exposed by new batch size tests) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1426152 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: add missing licence headers to various files in the Java treeRobert Gemmell2012-12-112-2/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420285 13f79535-47bb-0310-9956-ffa450edef68
* 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