23
AUTOMATED API TESTING

An Introduction To Automated API Testing

Embed Size (px)

Citation preview

AUTOMATED API TESTING

PRESENTERS:

Patrick PoulinCEO @ API [email protected]

Simone PezzanoCTO @ API [email protected]

ITINERARY:

1. Quick API Explanation2. Best Practice Tips3. Popular Tools4. Walk Through5. 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?

[email protected]://apifortress.com