leeyiw / wrk-gor

A Lua script to let wrk use data recorded by goreplay
Apache License 2.0
8 stars 2 forks source link

Unsuccessful startup #1

Open cythf opened 5 years ago

cythf commented 5 years ago

Downloaded the Lua file and placed it in the same directory as. Gor -rw-r----- 1 root staff 261M 6 25 15:11 cuiyin.gor -rw-r----- 1 root staff 13K 6 25 15:31 cy.gor -rwxrwxrwx 1 cuiyin staff 16M 3 30 16:46 gor -rwxr-xr-x 1 cuiyin staff 16M 3 30 16:46 gor 2 -rwxrwxrwx@ 1 cuiyin staff 7.1M 5 6 17:28 gor_1.0.0_mac.tar.gz -rwxrwxrwx 1 cuiyin staff 1.9K 6 25 15:54 wrk-gor.lua

The order was executed. wrk wrk-gor.lua http://127.0.0.1:8080/ -- --sudo gor --input-file "cuiyin.gor" --split-output --input-file-loop --output-tcp 172.16.242.100:28020 --output-tcp 172.16.247.128:28020

The order was executed. wrk -s wrk-gor.lua http://127.0.0.1:8080/ -- --gor cy.gor

Error prompt: zsh: command not found: wrk

There are no more examples on the internet. Would you like to know if you can use them?

leeyiw commented 5 years ago

@cythf You need to install wrk itself at first. Then you can use command like wrk -s wrk-gor.lua http://127.0.0.1:8080/ -- --gor cy.gor to perform test.