Imagine you are responsible for ensuring that an API can handle 10,000 requests per minute. How would you design and execute load and performance tests to validate this requirement?

  • Perform load testing with 100,000 virtual users to ensure scalability.
  • Execute automated tests with a single user to verify stability.
  • Simulate 10,000 concurrent users with gradual ramp-up to assess performance.
  • Test using a single user and manually increase load to validate scalability.
To validate an API's ability to handle 10,000 requests per minute, it's essential to simulate real-world conditions. Option 3 suggests simulating 10,000 concurrent users with gradual ramp-up, which is an appropriate approach for load testing. This approach helps identify how the API performs under the specified load, ensuring it meets the requirement. Option 1, with 100,000 virtual users, may not represent the real use case, and option 2 is inadequate for this requirement. Option 4, manually increasing load, lacks automation and may not provide accurate results.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *