gatling-zeromq


License

License

Categories

Categories

Gatling Application Testing & Monitoring
GroupId

GroupId

com.softwaremill.gatling-zeromq
ArtifactId

ArtifactId

gatling-zeromq_2.11
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

gatling-zeromq
gatling-zeromq
Project URL

Project URL

http://softwaremill.com/open-source
Project Organization

Project Organization

com.softwaremill.gatling-zeromq
Source Code Management

Source Code Management

https://github.com/softwaremill/gatling-zeromq

Download gatling-zeromq_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.softwaremill.gatling-zeromq/gatling-zeromq_2.11/ -->
<dependency>
    <groupId>com.softwaremill.gatling-zeromq</groupId>
    <artifactId>gatling-zeromq_2.11</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.softwaremill.gatling-zeromq/gatling-zeromq_2.11/
implementation 'com.softwaremill.gatling-zeromq:gatling-zeromq_2.11:0.1.0'
// https://jarcasting.com/artifacts/com.softwaremill.gatling-zeromq/gatling-zeromq_2.11/
implementation ("com.softwaremill.gatling-zeromq:gatling-zeromq_2.11:0.1.0")
'com.softwaremill.gatling-zeromq:gatling-zeromq_2.11:jar:0.1.0'
<dependency org="com.softwaremill.gatling-zeromq" name="gatling-zeromq_2.11" rev="0.1.0">
  <artifact name="gatling-zeromq_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.softwaremill.gatling-zeromq', module='gatling-zeromq_2.11', version='0.1.0')
)
libraryDependencies += "com.softwaremill.gatling-zeromq" % "gatling-zeromq_2.11" % "0.1.0"
[com.softwaremill.gatling-zeromq/gatling-zeromq_2.11 "0.1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.11
io.gatling : gatling-core jar 2.2.5
org.zeromq : jeromq jar 0.4.2

test (2)

Group / Artifact Type Version
io.gatling.highcharts : gatling-charts-highcharts jar 2.2.5
io.gatling : gatling-test-framework jar 2.2.5

Project Modules

There are no modules declared in this project.

gatling-zeromq

Build Status Maven Central Dependencies

Goal of the project

The aim of the project is to allow load testing of applications using ZeroMQ with the help of the Gatling tool.

Adding gatling-zeromq to your project

SBT dependency:

"com.softwaremill.gatling-zeromq" %% "gatling-zeromq" % "0.1.0"

Gradle dependency:

"com.softwaremill.gatling-zeromq:gatling-zeromq_2.11:0.1.0"

gatling-zeromq is available for Scala 2.11 and requires Java 8.

You need to add a dependency on Gatling tool to your project since it is not bundled in this library.

Running tests

Tests in the project can be started with:

sbt gatling:test

For more information look at the Gatling SBT plugin.

ZeroMQ connector

The project uses JeroMQ as the ZeroMQ connector.

Configuration

Before running a scenario, you have to provide host and port to connect to. For example:

  val config = zmqConfig
    .host("localhost")
    .port("8916")

Message patterns

The plugin supports:

  • the publishing side of the PUB-SUB pattern (zmqPub("...")),
  • the requesting side of the REQ-REP pattern (zmqReq("...")),
  • and the pushing side of the PUSH-PULL pattern (zmqPush("...")),

Sending data

Sending of a message and a multi-part message is supported:

scenario("Scenario A")
    .exec(
        zmqPub("a request")
            .send("a message")
    )

scenario("Scenario B")
    .exec(
        zmqPub("a request")
            .sendMore("a multi")
            .sendMore("part")
            .send("message")
    )

Types of data can be String, Array[Byte], numeric ones and Gatling's Expression Language strings as well.

Contributing

Take a look at the open issues and pick a task you'd like to work on!

com.softwaremill.gatling-zeromq

SoftwareMill

We love Scala, Akka, Cassandra and Kafka. We help teams get up to speed with functional programming, introduce event sourcing or define streaming data pipelines

Versions

Version
0.1.0