This is a collection of lua scripts for benchmarking (T) services. The banchmark scripts are written for WRK to simulate the load on the servers.
- Install wrk (https://github.com/wg/wrk)
brew install wrk- Run the benchmark
wrk -s ./example.lua -t14 -c400 -d70s http://127.0.0.1:2998This command will run the example.lua script with 14 threads and 400 connections for 70 seconds.