How to build an automated API test framework – Part 3

So here we are. The final post on building an automated API framework. We’ve covered a lot of ground already so if you if you haven’t already I would recommend reading the first post on creating a framework with basic checks followed by the second post on extending the framework to handle POST requests. If you are all caught up then let’s continue… Before we start let’s take a look at what we have so far: spec stores our automated checks api a library of API endpoints we use in…

How to build an automated API test framework – Part 2

In the previous post on creating an automated api framework we created a framework and a series of automated checks that will run some basic GET request checks against restful-booker. If you haven’t gone through the previous post I would recommend you do so before you continue. …Welcome back! So let’s recap on what we’ve created so far: spec stores our automated checks api a library of API endpoints we use in spec to communication with restful-booker gemfile / Rakefile manages the running of our framework and it’s dependencies We…

How to build an automated API test framework – Part 1

For a while now I’ve wanted to do a series of posts on how to build an automated API / web service / integration testing framework and especially how to build one in a robust way.  There is a lot to go over so I plan to break this series up into three posts to focus on specific areas of the framework and in this one we’ll focus on getting the framework up and running with a handful of automated checks. These posts assume you have some working knowledge of how HTTP works. The…