Coder Social home page Coder Social logo

Comments (7)

mhjort avatar mhjort commented on September 23, 2024

If tests are running far longer than specified that's a definitely a bug. Do you have an example that is reproducible? I could take a look on that.

from trombi.

mhjort avatar mhjort commented on September 23, 2024

Early termination is a good idea. However, I have to think about it a bit so that it fits to current internal design.

from trombi.

sarudak avatar sarudak commented on September 23, 2024

I think there's actually two issues here. One is (I'm guessing) that regardless of duration already started scenarios will complete so if I try to do a 30 sec test and my scenario is 5 min it takes that long no matter what and at the end of a 20 minute test the stragglers will finish their scenarios. I'm guessing this is WAD.

The other is when I push the concurrent users over 100 to say 150 or 200 then I seem to get less traffic than at 100 users and the scenarios never seem to finish even if I wait an extra 30 min past time. Not sure what's going on there. Maybe my computer just can't handle it but it's not giving me a lot of visibility into what's happening.

from trombi.

mhjort avatar mhjort commented on September 23, 2024

You're right. clj-gatling checks whether it should finish after running scenario. So it will finish up all the scenarios that have been started before. If you have a small timeout value for scenario steps that's usually not a problem. Also that way ongoing requests are never interrupted (meaning that all responses are checked). For me that has been important thing but I understand that's not always needed. How long timeout you are using in your tests?

from trombi.

sarudak avatar sarudak commented on September 23, 2024

I'm using standard clj-http timeouts. It's less the timeout than that I'm running 20+ steps in the scenario with a sleep-before of 1-10 sec each to simulate user delay. Cutting the delay for my testing helps a lot so I made that configurable.

from trombi.

mhjort avatar mhjort commented on September 23, 2024

Implementing stop condition check after each scenario step is quite trivial. I added a separate issue about this #24 .

from trombi.

mhjort avatar mhjort commented on September 23, 2024

Solved in #24

from trombi.

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.