Successfully reported this slideshow.
Your SlideShare is downloading. ×

Testing your APIs Performance.pptx

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 21 Ad

Testing your APIs Performance.pptx

Download to read offline

APIs are transforming the world at an increasing pace. Every day several APIs are developed and adapted based on the needs of the organizations. With the usage of these APIs, developers can create quality applications.
As a Tester, you might be covering the exhaustive functional Testing of your APIs.

Your APIs might be working as designed on a normal day. How about there’s a sale or any worldwide changes which cause an unexpected number of API calls? Probably your APIs should handle it. But will it work? That’s why we need performance testing.

An inefficient API could lead to a slow-running application and will lose potential users. Most performance problems revolve around speed, response time, load time, and poor scalability. Speed is often one of the most important attributes of an API.

Some might be wondering what are tools available for performance testing of our APIs. There are plenty of tools available. I will be demonstrating a few important types of performance testing to be done for your APIs before moving into Production.

Talk Takeaways

Importance of Performance testing for APIs
Types of Performance testing to be focused on your APIs
Demo with a few tools open-source tools
Analysis of the Performance Test reports

APIs are transforming the world at an increasing pace. Every day several APIs are developed and adapted based on the needs of the organizations. With the usage of these APIs, developers can create quality applications.
As a Tester, you might be covering the exhaustive functional Testing of your APIs.

Your APIs might be working as designed on a normal day. How about there’s a sale or any worldwide changes which cause an unexpected number of API calls? Probably your APIs should handle it. But will it work? That’s why we need performance testing.

An inefficient API could lead to a slow-running application and will lose potential users. Most performance problems revolve around speed, response time, load time, and poor scalability. Speed is often one of the most important attributes of an API.

Some might be wondering what are tools available for performance testing of our APIs. There are plenty of tools available. I will be demonstrating a few important types of performance testing to be done for your APIs before moving into Production.

Talk Takeaways

Importance of Performance testing for APIs
Types of Performance testing to be focused on your APIs
Demo with a few tools open-source tools
Analysis of the Performance Test reports

Advertisement
Advertisement

More Related Content

Recently uploaded (20)

Advertisement

Testing your APIs Performance.pptx

  1. 1. Performance Testing for your APIs
  2. 2. Hello! I am Pricilla Bilavendran You can find me at @pricillabelwin 2
  3. 3. What’s in for today? ◦ Overview of Performance Testing for APIs ◦ API Performance Testing types ◦ Why Performance Testing for APIs? ◦ Tools available ◦ Demo with Postman and k6 3
  4. 4. 4
  5. 5. 5 What is Performance Testing? - Evaluating the performance of your application/APIs - Stability, Scalability, Speed and Reliability
  6. 6. API Performance Testing types
  7. 7. Load Testing 7
  8. 8. Stress Testing 8
  9. 9. Spike Testing 9
  10. 10. Soak Testing 10
  11. 11. 11
  12. 12. 12 What are the findings? - Bottlenecks - Poor response times - Errors/Outage - Memory Usage - Lack/Issues with Scaling
  13. 13. “ “It takes months to find a customer… seconds to lose one.” - Vince Lombardi 13
  14. 14. 14 Importance of Performance Testing APIs decides overall application performance - Happy Customer - Improved Quality product/APIs - Increased Performance - Faster Integration - Improving Optimization
  15. 15. Tools for performance testing of APIs - Apache JMeter - Gatling - k6 - Loadrunner - Blazemeter - Locust 15
  16. 16. Demo 16
  17. 17. 17 Postman - Collection Runner
  18. 18. 18 k6 Converting Postman collections to k6 scripts Prerequisites: - Download and Install k6 open source - Prebuilt Postman collections - Install Node.js - Install postman-to-k6 converter
  19. 19. Bonus tips!! - Monitoring helps to understand the API performance and trends - Recurring performance tests helps - Document the deviations - Don’t underestimate Soak Testing 19
  20. 20. 21 Thanks! Any questions?
  21. 21. Credits Special thanks to all the people who made and released these awesome resources for free: ◦ Presentation template by SlidesCarnival ◦ Photographs by Unsplash 22

×