Intro to API Load Testing: The k6 Guide
https://k6.io/docs/testing-guides/api-load-testing/
How to Load Test An API with K6Virtual Users vs. Constant Request RateTest CreationDifferent Types of API Load TestingAPI Load Testing ConsiderationsIdentify your goals Identify your goalsHaving a clear goal is of utmost importance in running a load test on your APIs. As with the type of load testing you want to use, you also need to identify your goals to expect correct results. For example, you cannot expect your API to perform very well under heavy load, if you just test it wi… Start small and build upon your scriptIt is important to have a predefined set of goals and expectations, but it's not good to try to meet them all at once. The bigger your list of goals, the less likely your ability to make things right the first time. So, start small, e.g. write and run a test for one or two API endpoints. Try to experime…
Identify your goalsHaving a clear goal is of utmost importance in running a load test on your APIs. As with the type of load testing you want to use, you also need to identify your goals to expect correct results. For example, you cannot expect your API to perform very well under heavy load, if you just test it wi…
Start small and build upon your scriptIt is important to have a predefined set of goals and expectations, but it's not good to try to meet them all at once. The bigger your list of goals, the less likely your ability to make things right the first time. So, start small, e.g. write and run a test for one or two API endpoints. Try to experime…
DA: 5 PA: 86 MOZ Rank: 89