Planning for test automation in your shiny new API?
Are you about to start your first API test suite? Here are some of the things you should consider before a single line of code is written.
Are you about to start your first API test suite? Here are some of the things you should consider before a single line of code is written.
In the first post in this series I shared my horror in discovering that my process for Authenticating my API tests was broken. Suddenly I had no means to make the API calls required to test that my services were responding as expected. So what exactly do I mean by an Auth service? The two “Auths” I have gone to great lengths to build up my super new data service, the best in the world. Now I want to release…
It’s not much help failing unless they tell you what went wrong. A while back I wrote an article about the challenges of authentication for Automated API tests. At work we have also recently started rolling out the first API tests on a new framework with all new Authorisation code. The rollout went fine until literally the last production environment and then bam: The tests failed throwing a random de-serialisation exception. Worse still, the exception was thrown in a library…