Gatling
Gatling is a popular open-source load testing tool that allows teams to simulate large numbers of users making requests to a system, helping to identify performance issues and bottlenecks.
Latency Lingo integrates with Gatling by reading the results log file. Once integrated, test results will be published to Latency Lingo to help you with performance test analysis and automation.
Setup
Install the Latency Lingo CLI and sign up for an account.
Locate your Gatling results log file. This is the simulation.log
that is automatically generated and stored in the Gatling results folder.
Here is a sample of the expected format:
RUN computerdatabase.BasicSimulation basicsimulation 1647457743559 Test sample 2 3.7.6
USER Sample Test START 1647457744600
USER Sample Test START 1647457744599
REQUEST GET test 1647457744634 1647457744825 OK
REQUEST GET test 1647457744634 1647457744821 OK
Integration
Run your Gatling load test as you normally would.
Once the test is completed, run the publish
command to upload the results to Latency Lingo with the gatling
format:
latency-lingo-cli publish \
--file <simulation.log results file> \
--label <test name> \
--api-key <latency lingo api key> \
--format gatling
The test will be available in your Latency Lingo dashboard and a link is included in the CLI output:
Report can be found at https://latencylingo.com/test-runs/bdd8ce59-8c93-431f-aea9-d53d3ad03182
Next Steps
Now that you have integrated Gatling with Latency Lingo, you can start using the data to make informed decisions about your application performance processes. If you have any questions or need further assistance, don't hesitate to contact support.