An open API service indexing awesome lists of open source software.

https://github.com/beemi/gatling-gradle-example

Gatling load test framework Gradle setup
https://github.com/beemi/gatling-gradle-example

gatling gatling-aws gradle-plugin loadtest performance-testing

Last synced: 4 months ago
JSON representation

Gatling load test framework Gradle setup

Awesome Lists containing this project

README

          

# Gatling gradle load test

This repository contains [Gatling](https://gatling.io/) Gradle test framework

## Gradle

---
**NOTE**

Use [Gatling Gradle Plugin](https://gatling.io/docs/gatling/reference/current/extensions/gradle_plugin/) for developing load test scripts.

---

Compiles Gatling simulation and copies resources ```gradle gatlingClasses```

Executes all Gatling simulations configured by extension ```gradle gatlingRun```

Run single simulation implemented in `com.jaitech.ltd.*` class

```shell
gradle gatlingRun-com.jaitech.ltd.PostcodeIoSimulation
```
Run all simulations

```shell
gradle gatlingRun
```
## Docker

---
**NOTE**

In Order to run tests locally using Docker
---
```shell
docker-compose up --build
```

Scale up to 5 instances

```shell
docker-compose up --build --scale gatling=2
```

Kill the instances

```shell
docker compose down
```
## Reports

HTML reports generated under ``build/reports/gatling/[simulation-name]/index.html``

## Contacts
Owner: [beemi.raja@gmail.com](beemi.raja@gmail.com)