Giter VIP home page Giter VIP logo

andes-test-client's Introduction

WSO2 Message Broker Test Client

Overview

Performance testing client for WSO2 Message Broker.

Goal of this project is to write a comprehensive test client for WSO2 Message Broker (MB). This is a java based console application with the capability to run test scenarios according to a configuration file given at startup.

Currently this client supports testing AMQP protocol based functionality of MB. Client is written using JMS

Supported functionality

  • Message Publishers (Topic and queue)

    • multiple publishers (same and different queues)
    • Disruptor based transactional message publishing
    • publisher failover configuration
  • Message Subscribers (Topic and queue)

    • multiple subscribers ( same and different queues)
    • subscriber failover configuration
    • durable topic subscribers
  • Test results analytics

    • supports test results analytics with metrics library
    • graphical view of results
    • message publishing rate (individual publisher and total publisher rates)
    • subscriber receiving rate (individual subscriber and total subscriber rates)
    • message latency (publishing to receiving message latency)
  • SL4j logging support

Build

To get started clone this project and build using maven (or else get the binaries from the releases.)

 mvn clean install

Run

Extract andes-test-client-<VERSION>-pack.zip in target/ directory. Inside the extracted file execute the andes-test-client_<VERSION> executable to run the client. This will use the default configuration file (<ATC_HOME>/conf/client.yaml) to run the test.

$ ./andes-test-client_1.0-SNAPSHOT

If you want to run a different test configuration point to that file using option --conf or -c

$ ./andes-test-client_1.0-SNAPSHOT --conf <path to configuration file>

$ ./andes-test-client_1.0-SNAPSHOT -c <path to configuration file>

Configure Test Cases

Use conf/client.yaml to configure test cases For more information on how to configure test cases see following wiki pages

Results

After running a test go to logs/metrics/ directory to view the metrics csv output. To generate graphs of the results use result-viewer.html

andes-test-client's People

Contributors

asitha avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.