gatling-ext


License

License

Categories

Categories

Gatling Application Testing & Monitoring
GroupId

GroupId

com.github.phisgr
ArtifactId

ArtifactId

gatling-ext_2.12
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

gatling-ext
gatling-ext
Project URL

Project URL

https://github.com/phiSgr/gatling-ext
Project Organization

Project Organization

com.github.phisgr
Source Code Management

Source Code Management

https://github.com/phiSgr/gatling-ext

Download gatling-ext_2.12

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.12
io.gatling : gatling-core jar 3.4.1

test (2)

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

Project Modules

There are no modules declared in this project.

Gatling-Ext

Extensions to the powerful Gatling DSL.

This is a third party library. Please don't annoy the Gatling team with problems in this library.

This library is code-heavy, and probably goes against the philosophy of Gatling.

Call Any Java/Scala code

Let's say you are given an SDK which calls a server. You need to measure the backend performance, but you don't want to write the HTTP calls again in Gatling (or implement a whole new protocol).

With callbackAction, futureAction and blockingAction, you can measure the time taken by code that takes callbacks, returns futures, or straight up blocks threads.

Async-await

My take on Gatling#3783.

Polling

Repeatedly run some actions. Allows combining the data saved in the forked virtual user.

Disclaimer

Actions not running sequentially for a virtual user may break some Gatling code. In that case I am sorry, but nothing can be done. It is not reasonable to ask Gatling to change its code just because there exists some third party hack.

Versions

Version
0.1.0
0.0.1