Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing Error for Playback File #23

Open
slipthebit opened this issue Oct 7, 2022 · 0 comments
Open

Parsing Error for Playback File #23

slipthebit opened this issue Oct 7, 2022 · 0 comments

Comments

@slipthebit
Copy link

The playback file option produces parsing error An error occured doing request parse "http://www.google.com/\n": net/url: invalid control character in URL.

Issue observed on OSX v12.5.1 and on golang:alpine docker image.

Replication Steps:
go install github.com/tsliwowicz/go-wrk@latest
echo http://www.google.com > /tmp/playbackfile.txt
./go-wrk -c 1 -d 1 -f /tmp/playbackfile.txt

Observe the following output:

Running 1s test @ http://www.google.com

  1 goroutine(s) running concurrently
An error occured doing request parse "http://www.google.com\n": net/url: invalid control character in URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant