Skip to content
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

Performance tests: Fix warm-up phase #3479

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Performance tests: Fix warm-up phase #3479

merged 1 commit into from
Jan 24, 2024

Conversation

kciesielski
Copy link
Member

Current way of warming-up backends has a few downsides. Here's a proposition of improvements. Instead of running warmupScenario.andThen(actualScenario) we run Gatling twice with just the actualScenario but different parameters. This gives correct Gatling reports in the end, right now these reports are tainted with warmup data and unusable.
Our aggregated reports were correct because we were filtering for warmup data, which we don't need to do anymore after this improvement.

@adamw
Copy link
Member

adamw commented Jan 24, 2024

Doesn't gatling have a built-in notion of "warmup" which would be filtered out?

@kciesielski
Copy link
Member Author

It doesn't, I only found that it has built-in warm-up for its HTTP client which is warmed up by sending requests to https://gatling.io

@kciesielski kciesielski marked this pull request as ready for review January 24, 2024 16:18
@kciesielski kciesielski requested a review from adamw January 24, 2024 16:19
@adamw
Copy link
Member

adamw commented Jan 24, 2024

Ah, sending reqs to gatling.io isn't going to work for us ;)

@kciesielski kciesielski merged commit 55176d5 into master Jan 24, 2024
28 checks passed
@kciesielski kciesielski deleted the perf-tests-warmup branch January 24, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants