api test automation tips and tricks
TRANSCRIPT
![Page 1: API Test Automation Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/1.jpg)
API AUTOMATION TRIPS AND TRICKS
Alper Mermer
![Page 2: API Test Automation Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/2.jpg)
WHAT IS API TEST AUTOMATION ?
![Page 3: API Test Automation Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/3.jpg)
WHAT IS API TEST AUTOMATION ?
![Page 4: API Test Automation Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/4.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/5.jpg)
WHO SHOULD DO IT ?
•Devs
•Testers
•Consumers
![Page 6: API Test Automation Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/6.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/7.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/8.jpg)
SOME EXAMPLES
![Page 9: API Test Automation Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/9.jpg)
SOME EXAMPLES
![Page 10: API Test Automation Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/10.jpg)
SOME EXAMPLES
![Page 11: API Test Automation Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022052305/58edb9eb1a28ab460a8b45e7/html5/thumbnails/11.jpg)
SOME EXAMPLES