Eighth in a series focusing on using JMeter for functional testing of an API.
In the last tutorial we used the response from Signin in to make another call to the API. Now we’ll take it one step further. We’ll introduce a little bit of validation to our Folders Sampler Library module in order to be able to make one more call to get the list of files within a folder. We’ll also introduce a little bit of randomness to our test, in a way that we will improve on in the next tutorial when things really start to get fun.
Continue reading “Functional Testing 08: Using Response Data – Part 2”
Third in a series focusing on using JMeter for functional testing of an API.
Sometimes laziness is a good thing. Sure laziness can result in nothing getting done. But laziness can sometimes result in MORE getting done. So let’s strive to be lazy, but lazy in a way that empowers us to do more!
In this tutorial, we will take what we’ve learned about Samplers and Variables, and combine it with some new concepts that will make our work reusable across our test plan. We will learn how to create a library of samplers which are parameterized to allow us to call them many different ways in many different tests.
Continue reading “Functional Testing 03: Let’s Be Lazy”
Second in a series focusing on using JMeter for functional testing of an API.
A little preparation will save us tons of time later when everything changes. And everything is always certain to change.
After the fun excitement of the first tutorial in which we made our very first API call with JMeter, we are going step back and do some very boring preparation for the future. One thing we can be certain of is that changes happen in software projects. A small amount of effort put in early in a project can greatly help reduce the headache of updates and maintenance later down the timeline. So in this tutorial we start venturing down the path to setting up our test plan to be able to weather changes in API location, paths, and http ports, and more.
Continue reading “Functional Testing 02: Preparation is the Key to Success”
First in a series focusing on using JMeter for functional testing of an API.
Let’s get started!
In our first tutorial we will learn how to setup a very basic HTTP Request Sampler to make a call to an API running on the internet. I will introduce JMeter test plans, thread groups, HTTP Request Samplers, and View Results Tree Listeners.
Continue reading “Functional Testing 01: Your First API Call”