Skip to content
Docker image containing wrk2 with support for online Lua scripts
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Docker Build Status MicroBadger Size Docker Pulls

Docker image containing the HTTP benchmaring tool wrk2 with support for online Lua scripts.

Example usage

docker run --rm -it -e "TARGET_URL=" -e "WRK_HEADER=User-Agent: wrk" -e "SCRIPT_URL=https://<SERVER_URL>/script.lua" -e "WRK_OPTIONS=-t2 -c100 -d30s -R2000 --latency" syedhassaanahmed/wrk2-with-online-script

The above runs a benchmark for 30 seconds, using 2 threads, keeping 100 HTTP connections open, and a constant throughput of ~2000 requests per second (total, across all connections combined).

Here are some example Lua scripts for generating custom requests.


You can’t perform that action at this time.