api test automation tips and tricks
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