api test automation tips and tricks

Post on 22-Jan-2018

270 Views

Category:

Software

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

API AUTOMATION TRIPS AND TRICKS

Alper Mermer

WHAT IS API TEST AUTOMATION ?

WHAT IS API TEST AUTOMATION ?

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

WHO SHOULD DO IT ?

•Devs

•Testers

•Consumers

TOOLS AND FRAMEWORKS

•Soapui

•Postman

•Swagger-ui

• rest-assured (Java)

• rest-client (Ruby)

• requests (Python)

•Mock servers (ex: mountebank)

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

SOME EXAMPLES

SOME EXAMPLES

SOME EXAMPLES

SOME EXAMPLES

THANK YOU Questions ?

amermer@thoughtworks.com

07873 907 309

top related