Async Scala-Akka-Netty based Load Test Tool
Scala HTML CSS Python Shell Java Other
Latest commit 68195f1 Nov 24, 2017 @slandelle slandelle Align Session.as[T] behavior with asOption[T] and validate[T], close #…
…3392

Motivation:

Currently, as[T] simply performs a cast in a generic method.
Because of Java's type erasure, this method doesn't do any actual type
checking at runtime, which can cause surprising behaviors.

We should align behavior with other conversion methods, such as:

throw ClassCastException if value can't be converted
convert into String with toString
automatically deal with primitive types and Java wrappers (eg
java.lang.Integer)

Modifications:

Implement Session.as[T] on top of TypeCaster.

Result:

Consistent behavior
Permalink
Failed to load latest commit information.
gatling-app/src/main Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-benchmarks/src/main Add Pebble as templating engine, close gatling/gatling#3028 Nov 22, 2016
gatling-bundle/src Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-charts/src Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-commons/src Align Session.as[T] behavior with asOption[T] and validate[T], close #… Nov 24, 2017
gatling-compiler/src/main/scala/io/gatling/compiler Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-core/src Align Session.as[T] behavior with asOption[T] and validate[T], close #… Nov 24, 2017
gatling-http-ahc/src/main/scala/io/gatling/http/ahc Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-http/src nit Nov 21, 2017
gatling-jdbc/src Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-jms/src Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-metrics/src Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-recorder/src Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-redis/src Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
gatling-test-framework/src/main/scala/io/gatling/sbt Add new line after file header (as of latest sbt header plugin) Nov 20, 2017
license Add license for sfm Nov 21, 2017
project Upgrade akka 2.5.7 Nov 21, 2017
src Align Session.as[T] behavior with asOption[T] and validate[T], close #… Nov 24, 2017
.gitignore Core: Include a default Akka config, close #2736 May 27, 2015
.travis.yml Fix Travis config after gatling-maven repo refactoring Mar 8, 2017
CONTRIBUTING.md Add Pebble as templating engine, close gatling/gatling#3028 Nov 22, 2016
ISSUE_TEMPLATE.md Add issue template file Aug 17, 2016
LICENSE.txt Add license files Aug 19, 2016
NOTICE.md Add license for sfm Nov 21, 2017
README.md Fix documentation url in README.md Jun 22, 2017
build.sbt Upgrade sbt 1.0, close #3351 Nov 20, 2017
make_credentials.sh There and back again Jan 14, 2016
pgp.sbt Build: Working configuration for passing the GPG passphrase to SBT Sep 26, 2014
trigger_build.py Build using Travis CI, close #1464 Feb 9, 2014
version.sbt Bump version 3.0.0-SNAPSHOT Oct 28, 2016

README.md

Gatling Build Status Maven Central

What is Gatling ?

Gatling is a stress tool. Development is currently focusing on HTTP support.

Motivation

  • Finding fancy GUIs not that convenient for describing stress tests, what you want is a friendly expressive DSL?
  • Wanting something more convenient than huge XML dumps to store in your source version control system?
  • Fed up with having to host a farm of injecting servers because your tool uses blocking IO and one-thread-per-user architecture?

Gatling is for you!

Underlying technologies

Gatling is developed in Scala and built upon :

  • Async Http Client and Netty for non blocking HTTP
  • Akka for actions (requests, pauses, assertions, etc...) modeling and orchestration ...

Snapshots

For people wanting to use the lastest evolutions, the SNAPSHOT versions are available from the Sonatype OSS repository.

Questions, help?

Read the documentation.

Join the Gatling User Group.

Found a real bug? Raise an issue.

Sponsors

eBusiness Information     Highsoft AS