Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbittla/gatling-javafaker-maven
Generating realistic test data or simulating load with authentic, dynamic data using the Gatling framework and JavaFaker
https://github.com/sbittla/gatling-javafaker-maven
data-sampling framework gatling gatling-example gatling-frontline gatling-plugin gatling-simulations javafaker load-testing loadtesting maven open-source opensource performance-monitoring performance-optimization performance-testing reliability-engineering scala scalability test-data-generator
Last synced: 7 days ago
JSON representation
Generating realistic test data or simulating load with authentic, dynamic data using the Gatling framework and JavaFaker
- Host: GitHub
- URL: https://github.com/sbittla/gatling-javafaker-maven
- Owner: sbittla
- Created: 2024-12-18T16:10:02.000Z (23 days ago)
- Default Branch: main
- Last Pushed: 2025-01-03T17:45:09.000Z (7 days ago)
- Last Synced: 2025-01-03T18:32:53.268Z (7 days ago)
- Topics: data-sampling, framework, gatling, gatling-example, gatling-frontline, gatling-plugin, gatling-simulations, javafaker, load-testing, loadtesting, maven, open-source, opensource, performance-monitoring, performance-optimization, performance-testing, reliability-engineering, scala, scalability, test-data-generator
- Language: Scala
- Homepage: https://www.bittla.me/
- Size: 85.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gatling-javafaker-maven framework
This is a simple framework for Gatling Frontline using JavaFaker for data generation, implemented in Scala with Maven.
## Setup
1. Clone the repository.
2. Navigate to the project directory.
3. Open the project in IntelliJ IDEA.
4. Set environment variables in IntelliJ:
- Go to `Run` -> `Edit Configurations...`
- Select your simulation configuration.
- Add `BASE_URL` environment variable with your base URL.
5. Run the simulations using the Maven lifecycle or directly from IntelliJ.## Folder Structure
```
gatling-javafaker-maven/
├── src/
│ ├── main/
│ │ ├── scala/
│ │ │ ├── services/
│ │ │ │ └── UserService.scala
│ │ │ └── util/
│ │ │ └── DataGenerator.scala
│ ├── test/
│ │ ├── scala/
│ │ │ └── simulation/
│ │ │ └── UserSimulation.scala
│ │ ├── helpers/
│ │ │ └── Engine.scala
│ ├── resources/
│ │ ├── config/
│ │ │ └── UserConfig.conf
│ │ ├── images/
│ │ │ └── IntelliJ.png
│ │ │
├── pom.xml
└── README.md
```- `src/main/scala`: Contains the main code (config, service, util).
- `src/test/scala`: Contains the Gatling simulations.## Dependencies
- Gatling
- JavaFaker## Example
To run the `UserSimulation`, use the following command:
```bash
mvn gatling:test
```Example
To run the `UserSimulation`, use the following command:
## IntelliJ
To configure run time settings in IntelliJ