Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Mark van der Velden
    @Dynom
    And if so, does it decompress compressed responses?
    jinleileiking
    @jinleileiking
    i want to test with httpie,
    submit an issue
    Mohit Kumar
    @ethicalmohit
    Is it possible to do user scenario based load testing with vegeta ?
    Tomás Senart
    @tsenart
    @ethicalmohit
    @ethicalmohit It’s not what Vegeta was built
    for.
    Marwan Rabbâa
    @waghanza
    Hi
    I'm the author of a benchmarking project => https://github.com/the-benchmarker/web-frameworks
    we use actually wrk, we are thinking to switch of sieger. What are the main advantages to use vegeta ?
    Marwan Rabbâa
    @waghanza
    (not the author but a maintainer)
    Tomás Senart
    @tsenart
    What are the motivations for moving away from wrk?
    Marwan Rabbâa
    @waghanza
    computing a lentency at constant thoughput
    Marwan Rabbâa
    @waghanza
    @tsenart Feel free to add your knowlege here the-benchmarker/web-frameworks#670 :hart:
    Marwan Rabbâa
    @waghanza
    Hi, couldvegeta becompiled
    On .so files ?
    The propose is yo write a wrapper on top
    In on other language 😊
    Nitish Malhotra
    @nitishm
    @tsenart and the rest of the community. What are your thoughts on creating a swagger spec for Vegeta commands ?
    Opened an issue at tsenart/vegeta#366
    Marwan Rabbâa
    @waghanza
    :heart:
    dhanz2587
    @dhanz2587
    Hello
    I am new User of vegeta
    Need a help on setting up the same
    Luiz Felix
    @lzfelix
    hello?
    Kozubal Volodymyr
    @vkozubal
    Hey
    is anyone still here? :D
    Tomás Senart
    @tsenart
    What's up?
    Kozubal Volodymyr
    @vkozubal

    I have a question and hoped that could help me with that
    I am reading the repo vegeta code
    see the link https://github.com/tsenart/vegeta/blob/cad1a0e3b054efc52d5afb024f74cdb9da7b296d/lib/pacer.go#L260

    I am trying to understand the equation that is used to describe the linear load
    I don't see how (a*math.Pow(x, 2))/2 + b*x is linear and I am wondering if I am missing something?

    Tomás Senart
    @tsenart
    @vkozubal: If I can recall correctly, that is the integral of the linear equation.
    It integrates the linear equation over time to produce the number of hits that should have been sent at a given point in time.
    Given a specific request rate.
    Dilshan Fernando
    @dilshan5
    @tsenart : how can we send 'x-www-form-urlencode' type of content using Vegeta?
    rakheshkumbi
    @rakheshkumbi
    Hello,
    Is it possible to feed the request body on the flow, in vegeta?
    I have a single target, to which I have to send n-number of requests. The next request is decided on the the previous respose.
    rakheshkumbi
    @rakheshkumbi
    @kris-runzer can you help on this, please? The query you posted looks similar to mine.
    Narsimham Chelluri
    @nchelluri

    hello, I feel a little bit silly but I can't make out the API for testing requests https://github.com/tsenart/vegeta/blob/master/README.md#usage-library .

    I would be happy to submit a PR with more docs/examples or a wiki page or something if someone can help me. I have a bunch of request bodies lying around in []byte slices. I have an HTTP auth header I want to include in all requests. How can I send these requests to my URL in go code?

    Narsimham Chelluri
    @nchelluri
    I think I figured it out.
        targets := []vegeta.Target{}
    
        for rows.Next() {
                    // scan into requestJSON
            targets = append(targets, vegeta.Target{
                Method: "POST",
                URL:    URL,
                Header: http.Header{"Authorization": []string{AuthHeader}},
                Body:   requestJSON,
            })
        }
    
        rate := vegeta.Rate{Freq: 10, Per: time.Second}
        duration := time.Minute
        targeter := vegeta.NewStaticTargeter(targets...)
        attacker := vegeta.NewAttacker()
    
        var metrics vegeta.Metrics
        for res := range attacker.Attack(targeter, rate, duration, "") {
            metrics.Add(res)
        }
        metrics.Close()
    Narsimham Chelluri
    @nchelluri
    ok, so I've got my load test going and I figured out the max RPS manually. I wonder how I can write Go code to make my test ramp up slowly and slow down a tad when it starts receiving unsuccessful responses.
    Narsimham Chelluri
    @nchelluri
    think i have to experiment with the Pacers
    Narsimham Chelluri
    @nchelluri
    ok, so there's a LinearPacer that may help me. i'm digging in further. any assistance appreciated
    Narsimham Chelluri
    @nchelluri
    i think i got it working by manually calling attacker.Attack() with different rates
    Narsimham Chelluri
    @nchelluri
    re: the above, what do you all think of calling attacker.Attack() multiple times with different vegteta.Rates? is that reasonable? or should i have a vegeta.Pacer that figures things out itself? maybe i can close over some variables and include the application level "ok" check ive implemented, and get a vegeta.Pacer that does what i'm doing in between calls to attacker.Attack()
    Narsimham Chelluri
    @nchelluri
    @tsenart any thoughts on the above?
    Jairajshetty
    @Jairajshetty
    Hi everyone, I wanted to know if it's possible to specify the packet length of the traffic in vegeta.
    Like if i wanted to send traffic with packet length say 600 bytes, can we specify that in vegeta?
    Thank you
    Badger
    @BadgerBadgerBadgerBadger
    Hi guys. Facing, what appears to be, a basic problem. I'm using a json target file and while it works fine for a single target, I'm not sure how to enter multiple ones. Using it as a multi-line jsonl file didn't help. Any ideas?
    Eduardo Del Balso
    @edelbalso
    I'm actually struggling with the same thing as @BadgerBadgerBadgerBadger above
    Manshi Limbu
    @limbuu
    Hi, I am new user of vegeta, How to see the results of all URLs request/response. All I can see is common or generalized request/response no matter how many urls i used for loadtesting.
    complib2891
    @complib2891
    anyone tried -cpu=1 but vegeta still use all the cpu?