Blog

Testing APIs is Every Bit Important as Testing the UI

What we’ve covered so far in this series has largely involved the importance of keeping the user experience top of mind. The logical way to go about this is of course running UI tests to make sure we are delivering the correct look and feel that we have designed for the user. The word ‘user’ is right there in ‘user interface’ so this is clearly an important step in delivering that consistent user experience.

Marcus Merrell

Marcus Merrell

Test Strategist

November 30, 2021

Testing APIs is Every Bit Important as Testing the UI

What I see too often though is folks running multiple UI tests in an attempt to validate specific output values or logic. A much easier way to accomplish this task is to run specific API tests on the business logic of the software. 

Why should we do this? It’s much faster and easier to write these tests. We can have our developers supporting this process and not just Selenium or automation experts. 'Work smarter, not harder' is a theory we should all be familiar with. In the case that working smarter decreases your work and also makes you more efficient? It’s a no-brainer.

Check out this video for more on how I think we should approach UI and API testing.

video

I’ll see you again next week when I talk about the value of failed tests.

On This Page

Free trial

Sign up Free

Start testing smarter with the world's largest continuous testing cloud — now with AI built in.

Start Testing

Keep reading.

VIEW ALL POSTS
No items found.
No items found.
VIEW ALL POSTS