Browsed by
Series: Writing automated API tests

It’s all about the “Auth”

It’s all about the “Auth”

This entry is part 2 of 3 in the series Writing automated API tests

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…

Read More Read More

Do your tests fail the right way?

Do your tests fail the right way?

This entry is part 3 of 3 in the series Writing automated API tests

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…

Read More Read More