tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.51k stars 1.36k forks source link

write: no buffer space available #574

Closed Seo-yul closed 1 year ago

Seo-yul commented 3 years ago

Question

I am using vegeta to load test my response server. I put huge data into the vegeta's Target body (for example, a string of size 10 mib). As a result [a write: no buffer space available] error appears.

I think, if I set vegeta's writeBuffer, I can fix the problem.

Is it possible to solve it this way? Or is there any other way?

targeter := vegeta.NewStaticTargeter(vegeta.Target{
                 Method: "POST",
        URL:    url,
        Body:   'there is huge data',
    })
tsenart commented 1 year ago

Sorry, this isn't enough context for me to help.