Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

203
Visualizações
Why k6 ramping vus doesn’t increase http requests

I’m working with k6 to create stress test for an API. It’s working and i think i understand how it mainly works but i have something that i’m still not understanding.

So, i want to ramp up VUs like this :

scenarios: {
    ramping: {
      executor: 'ramping-vus',
      startVUs: 0,
      stages: [
        { duration: '10s', target: 10 },
        { duration: '20s', target: 10 },
        { duration: '10s', target: 20 },
        { duration: '20s', target: 20 },
        { duration: '10s', target: 30 },
        { duration: '20s', target: 30 },
        { duration: '10s', target: 40 },
        { duration: '20s', target: 40 },
        { duration: '10s', target: 50 },
        { duration: '20s', target: 50 },
        { duration: '30s', target: 0 }
      ]
    }
  },

And here is the result :

cloud result

As you can see, my users are ramping up over the time and the response time is also increasing. So my first question is : Why is the request rate still at the same rate when i’m increasing VUs ? In docs, i only found this : https://k6.io/docs/using-k6/scenarios/executors/ramping-vus/ It says that no matter of VUs, it will send as much http requests as it can. Am i right ?

If it is, here is my second question : Why is it better to do this for a stress test instead of increasing req/s with VUs increasing ?

Thanks for your responses

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda