super powered api testing
TRANSCRIPT
![Page 1: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/1.jpg)
Super-PoweredAPI TestingHow and why to test your APIs
![Page 2: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/2.jpg)
James Messinger (@BigstickCarpet)Developer at Postmanhttps://www.getpostman.com
swagger-parserswagger-express-middleware
https://github.com/bigstickcarpet
![Page 3: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/3.jpg)
The Why
You know you should
reproducible behavior, quality assurance, continuous integration,
… yadda, yadda, yadda
![Page 4: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/4.jpg)
The Why
You know you should
reproducible behavior, quality assurance, continuous integration,
… yadda, yadda, yadda
It’s REALLY easy!
API testing tools have really matured over the past couple of years.
The explosion of Node.js has made it easy to test across multiple platforms, devices, and browsers
![Page 5: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/5.jpg)
The Why
You know you should
reproducible behavior, quality assurance, continuous integration,
… yadda, yadda, yadda
It’s REALLY easy!
API testing tools have really matured over the past couple of years.
The explosion of Node.js has made it easy to test across multiple platforms, devices, and browsers
You’ll look good
Everybody thinks API testing is hard. That’s why nobody does it. You’ll look like the rockstar you are.
That promotion is just a few API tests away!
![Page 6: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/6.jpg)
The HowAPI Testing Frameworks
●Cross-Platform is important
![Page 7: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/7.jpg)
The HowAPI Testing Frameworks
●Cross-Platform is important
●Browser testing is important
![Page 8: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/8.jpg)
The HowAPI Testing Frameworks
●Cross-Platform is important
●Browser testing is important
●Mobile testing is important
![Page 9: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/9.jpg)
The HowAPI Testing Frameworks
●Cross-Platform is important
●Browser testing is important
●Mobile testing is important
●Continuous integration is important
![Page 10: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/10.jpg)
Cross-Platform
Browser Support
localhostSupport
CI Integration
GUI CLI JSON SchemaValidation
Reusable Code
Third Party Libs
✘ ✘ pita ✔ ✔ ✔ ✔ ✘ ✘✘ ✘ pita ✔ ✔ ✔ ✔ ✘ ✘✘ ✘ ✘ ✔ ✔ ✔ ✔ ✘ ✘✔ ✘ ✔ ✔ ✔ ✘ ✔ ✘ ✘
Supertest
✔ ✘ ✔ ✔ ✘ ✔ ✔ ✔ ✔
Chakram ✔ ✘ ✔ ✔ ✘ ✔ ✔ ✔ ✔ HTTP
✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
✔ ✘ ✔ ✔ ✔ ✔ ✔ ✔ ✔
![Page 11: Super powered API testing](https://reader035.vdocument.in/reader035/viewer/2022070603/58714d9f1a28ab55588b7243/html5/thumbnails/11.jpg)