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

Chore/k6 testing #349

Merged
merged 16 commits into from
Mar 7, 2024
Merged

Chore/k6 testing #349

merged 16 commits into from
Mar 7, 2024

Conversation

Andreass2
Copy link
Collaborator

@Andreass2 Andreass2 commented Mar 7, 2024

Description

Added a k6 load testing script. It can be run with docker, so you do not need to install k6 locally on your computer.

  • Fixed that slow transfers were canceled.
  • Fixed missing garbage collection of database connections
  • Don't process fileRetention change if its already has the given value.

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Copy link
Collaborator

@Ceredron Ceredron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was surprised with how the .js file was put into the .NET project, but it ended up working great with Visual Studio.

It was easy to setup. Can maybe add a comment in the README about replacing variables in the .js file.

I'm getting about ~550 iterations/minute to the Test environment now with the dummy text file. Less than I expected! Looking forward to playing around with it more.

@Ceredron
Copy link
Collaborator

Ceredron commented Mar 7, 2024

image

This was during load test. DB connection leak fix worked for sure, nice!

@Andreass2 Andreass2 merged commit a7f5ed2 into main Mar 7, 2024
1 check passed
@Andreass2 Andreass2 deleted the chore/k6-testing branch March 7, 2024 14:33
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