AUTOMATED API TESTING
PRESENTERS: Patrick Poulin CEO @ API Fortress patrick@apifortress.com Simone Pezzano CTO @ API Fortress simone@apifortress.com
ITINERARY: 1. Quick API Explanation 2. Best Practice Tips 3. Popular Tools 4. Walk Through 5. Automate!
Poll Does your organization currently test APIs?
1. API Explanation: What is an API?
1. API Explanation: What is an API?
1. API Explanation: Types of APIs SOAP vs REST XML vs JSON
1. API Explanation: Types of APIs Protocols: SOAP vs REST Formats: XML vs JSON
1. API Explantion: Why Test & Automate? • Only 10% of Issues Caught Within 24hrs • Backbone of apps, platforms, affiliate programs.
1. API Explanation: Why Test & Automate? • Computers > Humans • Bug free deployments • Functional uptime SLAs.
2. Best Practice - Simple • Single Endpoint • Response Code, Content-Type • Schema & Data Type
2. Best Practice - Advanced • Confirm Business Logic • Use Dynamic Data • Integration Test (multiple endpoints)
3. Popular Tools
Poll Which of these testing platforms have you used?
• Creating Tests Without a Schema • Who Are the End Users? • Reporting and Integrations • Simple Automation • Cloud vs On-Premises 3. Popular Tools – Picking Yours
3. Popular Tools
Build the Test & Automatic Executions
4. Postman Walkthrough • Make a Call • Make a Simple Test • Schedule
4. API Fortress Walkthrough
5. Automate!
5. Automate!
Key Takeaways • Choose the Right Platform • Test Everything (headers, objects, business logic) • Use Dynamic Data • Integration Tests (reproduce user flows) • Go Beyond Just Performance, Accuracy is Key
Questions? Patrick@apifortress.com http://apifortress.com

An Introduction To Automated API Testing