api test automation tips and tricks

12
API AUTOMATION TRIPS AND TRICKS Alper Mermer

Upload: testhive

Post on 22-Jan-2018

270 views

Category:

Software


4 download

TRANSCRIPT

Page 1: API Test Automation Tips and Tricks

API AUTOMATION TRIPS AND TRICKS

Alper Mermer

Page 2: API Test Automation Tips and Tricks

WHAT IS API TEST AUTOMATION ?

Page 3: API Test Automation Tips and Tricks

WHAT IS API TEST AUTOMATION ?

Page 4: API Test Automation Tips and Tricks

WHY WOULD YOU DO IT ?

•You want to perform your tests without a GUI

•You want to test faster

•You want to access internal components of the system

•You want to test components in isolation

•You want to provide your API as a product to the external

world

Page 5: API Test Automation Tips and Tricks

WHO SHOULD DO IT ?

•Devs

•Testers

•Consumers

Page 6: API Test Automation Tips and Tricks

TOOLS AND FRAMEWORKS

•Soapui

•Postman

•Swagger-ui

• rest-assured (Java)

• rest-client (Ruby)

• requests (Python)

•Mock servers (ex: mountebank)

Page 7: API Test Automation Tips and Tricks

MOVING INTO MICROSERVICES

•Microservices have more granular services

•APIs would be a composition of these services

•APIs are going to be your main source of testing

Page 8: API Test Automation Tips and Tricks

SOME EXAMPLES

Page 9: API Test Automation Tips and Tricks

SOME EXAMPLES

Page 10: API Test Automation Tips and Tricks

SOME EXAMPLES

Page 11: API Test Automation Tips and Tricks

SOME EXAMPLES

Page 12: API Test Automation Tips and Tricks

THANK YOU Questions ?

[email protected]

07873 907 309