Giter Site home page Giter Site logo

Comments (8)

botondberes avatar botondberes commented on September 27, 2024 1

I think the sequential feature request already exists here: #494

Thanks for your quick responses. We're in the process of deciding which way to go. I'll keep you posted!

from nbomber.

AntyaDev avatar AntyaDev commented on September 27, 2024

Hi @botondberes ,

Can you please try

Simulation.KeepConstant(copies: 100, during: TimeSpan.FromSeconds(10))

and also

Simulation.Inject(rate: 100, interval: TimeSpan.FromSeconds(1), during: TimeSpan.FromSeconds(10))

from nbomber.

AntyaDev avatar AntyaDev commented on September 27, 2024

@botondberes
By looking at your Jemeter I think you shouldn't use RampingInject since it will inject users slowly (over 10 sec) in your case.
https://nbomber.com/docs/nbomber/load-simulation#ramping-inject

from nbomber.

botondberes avatar botondberes commented on September 27, 2024

@AntyaDev Thank you very much for your quick response. KeepConstant seems to be the closest. I assume it kicks off with 100 copies immediatelly instead of ramping them up over a second compared to JMeter but it's close enough. To be fair, ramping up to 100 over a second doesn't really seem realistic anyway. Running JMeter with 0 seconds ramp-up is essentially the same as KeepConstant and shows that NBomber is about 9.5k requests faster than JMeter.

Could you answer one more question for me?
If I have two scenarios registered in NBomberRunner, is there a flag to make those run sequentially instead of parallel or do I have to create two runners and feed each it's own scenario instead?

from nbomber.

AntyaDev avatar AntyaDev commented on September 27, 2024

Unfortunately, there is no such flag to run them sequentially.
Do you want to run them sequentially and get a single HTML report containing both of them?

from nbomber.

botondberes avatar botondberes commented on September 27, 2024

Yes, ideally it would be one report containing them both. The idea here is that if both scenarios target the same host, it might not be beneficial to have them run in parallel. For example if the tests are not for load or spike testing but functionality validation and testing how long it takes for requests to be processed under normal circumstances (get a baseline).

from nbomber.

AntyaDev avatar AntyaDev commented on September 27, 2024

Hi @botondberes
Sure, it sounds reasonable.
I would suggest submitting a dedicated task for this feature.
Also, if your company has a license for NBomber then such tasks usually get higher priority.

from nbomber.

AntyaDev avatar AntyaDev commented on September 27, 2024

Hi @botondberes
thank, I have added a task for this: #643

from nbomber.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.