Webcast with Target: API Performance Testing for Black Friday
description
Transcript of Webcast with Target: API Performance Testing for Black Friday
![Page 1: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/1.jpg)
July 24, 2014
Webcast with Target: API Performance Testing for Black Friday
![Page 2: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/2.jpg)
Today’s speakers
Aaron StreyTarget@Strey203
Greg BrailApigee@gbrail
![Page 3: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/3.jpg)
CC BY-SA 3
Apigee social channels
YouTubehttp://youtube.com/apigee
Slideshare
http://slideshare.com/apigee
![Page 4: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/4.jpg)
Target processes tens of millions of API requests per
day
For a brief period around Black Friday we see a ~10-
fold increase in traffic
4
![Page 5: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/5.jpg)
Generating load
5
![Page 6: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/6.jpg)
Treat your test scripts like you treat your code
6
![Page 7: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/7.jpg)
Predicting traffic
7
“Make everything as simple as possible, but not simpler.” -Albert Einstein
![Page 8: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/8.jpg)
Predicting net new API consumer usage is really hard
8
![Page 9: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/9.jpg)
Log and monitor all the things
9
![Page 10: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/10.jpg)
Example metrics
10
![Page 11: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/11.jpg)
Example metrics
![Page 12: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/12.jpg)
Test APIs for anti-fragility
12
![Page 13: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/13.jpg)
Test APIs continuously
13
![Page 14: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/14.jpg)
Keep ownership of performance testing as close to the development team as
possible
14
![Page 15: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/15.jpg)
Types of tests
15
Stress: determines the load you can handle and still meet your SLA
Load: 80% of stress
Soak: 80% of load for an extended period
Spike: 80% of load to 120% of load back and forth
![Page 16: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/16.jpg)
The hard stuff
16
![Page 17: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/17.jpg)
Key takeaway
17
Performance testing is a first-
class citizen
![Page 18: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/18.jpg)
Questions?
Aaron StreyTarget@strey203
Greg BrailApigee@gbrail
![Page 19: Webcast with Target: API Performance Testing for Black Friday](https://reader035.fdocuments.net/reader035/viewer/2022062615/5481c144b4af9fb9018b48b8/html5/thumbnails/19.jpg)
Thank you
11 February 2014