Skip to content
/ wrk-gor Public

A Lua script to let wrk use data recorded by goreplay

License

Notifications You must be signed in to change notification settings

leeyiw/wrk-gor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wrk-gor

A wrk's Lua extension, which let wrk uses goreplay's data file (.gor)

Usage

  1. Download wrk-gor.lua to where you run the wrk.
  2. Prepare goreplay's data file, checkout this document: Saving and Replaying from file. For example, we have requests.gor in current directory.
  3. Run wrk with the following arguments: wrk -s wrk-gor.lua http://127.0.0.1:8080/ -- --gor requests.gor. Then wrk will perform 10 seconds' benchmark to 127.0.0.1:8080, the HTTP requests will be generated using requests.gor by wrk-gor.lua.

Releases

No releases published

Packages

 
 
 

Languages