Code Monkey home page Code Monkey logo

Comments (7)

slandelle avatar slandelle commented on May 28, 2024 1

Gatling 3.10.1 is up.

from gatling.

slandelle avatar slandelle commented on May 28, 2024 1

@nvervelle Could you please open a distinct ticket?

from gatling.

nvervelle avatar nvervelle commented on May 28, 2024

In fact, I checked the code, and I think I found the problem :

  • in RoundRobinSwitch, method on() calls Executables.toChainBuilder() (without s)
  • this method returns a ChainBuilder (which is an Executable) and not a List<ChainBuilder>
  • instead of calling on(@NonNull List<ChainBuilder> choices), it calls itself on(@NonNull Executable executable, @NonNull Executable... executables) resulting in a infinite loop and StackOverflowError

from gatling.

nvervelle avatar nvervelle commented on May 28, 2024

The problem seems to come from this commit by @slandelle . I think the problem is present on other classes (at least on UniformRandomSwitch)

from gatling.

slandelle avatar slandelle commented on May 28, 2024

Thanks for reporting.

The same issue happens with UniformRandomSwitch.

from gatling.

nvervelle avatar nvervelle commented on May 28, 2024

Thanks @slandelle

I can now start the simulation with gatling 3.10.1.
It seems I have another problem though : I replaced calls CoreDsl.exitBlockOnFail(...) by CoreDsl.exitBlockOnFail().on(...) to take into account the breaking change in gatling DSL, but now errors fail to exit the simulation, the simulation seems to be stucked instead of finishing

I see logs stating that a request has failed, but nothing more happens to the simulation :
11:37:09.847 [DEBUG] i.g.h.e.r.DefaultStatsProcessor - Request 'applicant-submit-challenge' failed for user 2: status.find.is(200), but actually found 415

Any idea what can be causing such problem ?

from gatling.

nvervelle avatar nvervelle commented on May 28, 2024

#4495 opened

from gatling.

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.