-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve gatling user experience - pause, callonce #1622
Comments
@ptrthomas i think you hit the nail on the head with your top 2 items. anything to abstract away awareness and maintanence of gatling in tests would really improve the experience. regarding one more thing not mentioned. wondering if data management might be something else to improve upon? eg today we detect if the __gatling variables are present and switch between data sources. |
@ptrthomas thinking more... disregard randomizer notes. makes sense to leave that power to the user, especially when everyone would likely have their own idea of what "randomization" means to them. thanks for the commit i think that addresses the data needs. |
configure key is shortened to pauseIfNotPerf callonce cache for perf now is across jvm not just feature
attention all - everything in this ticket is implemented and the configure key is I would really appreciate if all of you can test this out once. also note the unification of runner with gatling, please see docs, screenshot below: |
1.1.0 released |
after the good work done by @abhi-rao in #1612 it got me thinking - until now I'd not encouraged the use of
Feature
-s and especiallyScenario
-s that depend on state set by anotherScenario
/Feature
- but I now see where this can make a lot of sense when scripting advanced performance models and giving the best flexibility to re-use existing Karate test suites "as-is"and that is the theme of this ticket. how can we make it possible for a team to take an existing suite and re-use it as a performance test with the least amount of change and configuration overrides
inviting comments from all here, cc @joelpramos @kirksl @aleruz @douglas-six @theathlete3141
I'll start with the 2 top-most items in my mind
callonce
find that most of the time - they need to make this akarate.callSingle()
because when a feature is now multiplied X times by karate-gatling - thecallonce
is multiplied X times which is not the intent. I've unfortunately seen teams that brought down their identity service and abandoned karate as a result. yes this is mentioned in the documentation, but we can do betterkarate.pause()
API, that will automatically use gatling when running in "perf mode" but fall back to ZERO milliseconds by default. and if aconfigure pauseIfNotPerfEnabled
is true (default false) it will apply to "normal mode"WDYT
The text was updated successfully, but these errors were encountered: