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

K6 load test POC #1337

Merged
merged 5 commits into from
Mar 11, 2024
Merged

K6 load test POC #1337

merged 5 commits into from
Mar 11, 2024

Conversation

bcb37
Copy link
Collaborator

@bcb37 bcb37 commented Mar 4, 2024

This adds configuration for running k6 load tests using Upgrade typescript client library methods and two example tests:

  • A test using client library methods with some example thresholds
  • A test with 2 scenarios, one simulating regular API calls from an application, and another simulating the periodic mathia lambda batch log calls.

To build and run these tests (after installing the deps), in the k6 directory do
npm run build
k6 run dist/<name_of_test>.js

To stream real-time granular results to New Relic, the instruction here using the 'k6_upgrade' API key, which can be found in New Relic under -> 'API Keys'.

@danoswaltCL danoswaltCL self-requested a review March 11, 2024 17:39
@danoswaltCL danoswaltCL merged commit c3990aa into dev Mar 11, 2024
8 checks passed
@danoswaltCL danoswaltCL deleted the poc/k6-tests branch March 11, 2024 17:39
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