How to use gatling to execute performance test
GatlingRepo
load test by Gatling in this repo, you will know how to use gatling to do load test
- preparation
download gatling
unzip your gatling zip file
use the cmd
/Users/zengqiangfang/Downloads/software/gatling-charts-highcharts-bundle-3.7.5/bin
execute ./recorder.sh (in mac) will open the following GUI
then go to a website computer-database.
open the developer model of your browser
check the presave-log operation
doing the following operations
- reload home page
- open creating page
- create new computer entity
- search new computer by its names
save HAR file
using Gatling to generate scala file
execute ./gatling.sh
generate test report
so far, you might know how to use gatling to do a simple test.
- Title: How to use gatling to execute performance test
- Author: Xiao Qiang
- Created at : 2023-03-05 15:13:00
- Updated at : 2025-03-08 10:49:30
- Link: http://fdslk.github.io/tech/test/gatling/2023/03/05/gatling-load-test/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments