RapidAPI Testing Tool - What is it & How does it work?
Tags: rapidapi, testing, api, tutorial
Published: 2020-11-08 12:52:42

The RapidAPI team recently came out with its new [RapidAPI testing tool](https://rapidapi.com/products/api-testing/). In this post, we’ll take a look at some of the key features of this tool and walk through how it works.

### **What is RapidAPI?**
RapidAPI is a large API marketplace with over 20 thousand APIs. So if you are looking to integrate a particular type of API with your application, such as a weather API, SMS API, or an email service API, you’ll most likely find them here. 

Rapid API will create one single API key for you which you can use for all the APIs that you are subscribed to. Additionally, you can also monitor the performance of all the APIs you are subscribed to in one single place.

Not only can you consume APIs here, but you can also publish them. This means if you or your company have built an API, you can publish it here for others to use through a free or paid subscription.

### **What is the RapidAPI Testing tool?**
It is a cloud-based API testing tool that allows you to create comprehensive API tests that can validate REST, SOAP, and GraphQL APIs. The tool comes with some great features such as:

- Create functional API tests really quickly using an interactive UI, without having to write a single line of code.
- A centralized location to monitor all the APIs tests and the ability to run them in multiple geographical areas.
- Support for integrating with the CI/CD pipeline through dedicated webhooks.

The best part is that they provide a free version that gives you up to 100k API calls per month. They also provide multiple paid plan options to choose from.

Now, let’s take a look at how we can create and run API tests in the RapidAPI testing tool.

### **Creating API Tests**
To create a test, you pick your HTTP method, provide the URL, and in the variable field, you add in the variable name that will store the API response.

![get](https://dev-to-uploads.s3.amazonaws.com/i/p5w3q2chgol5fmnicl2j.png)

From there, you can add another step to store your assertion and use the variable name to read the response (in this case, I am verifying 200 status code) –

 ![run](https://dev-to-uploads.s3.amazonaws.com/i/673y6vzofqb80ql07280.png)
 
### **Running API Tests**
To run the test, you can hit the Save and Run button which will trigger your test run and generate a report for you –
![results](https://dev-to-uploads.s3.amazonaws.com/i/m5rv5eba6ilg6lwy2qsd.png)
 
This was a quick introduction to how the RapidAPI testing tool works. In the video below, I cover many other features and topics such as – creating random data, adding environment variables, running tests in GitHub, etc.

Overall, this tool has some great capabilities that can help you get your API tests set up in a quick and easy way. I would recommend trying this tool out on your own for your API tests. Tell me what you think about this tool in the comments below.

---

#### Check out this video to learn more about how the tool works and how to integrate it with GitHub actions –
{% youtube pGOdd8ZD-sE %}

---

#### To learn more about API testing and API Test Automation, check out my tutorial series below –
[JavaScript API Test Automation Tutorial Series](https://youtu.be/ZSVw3TyZur4?list=PL6AdzyjjD5HDR2kNRU2dA1C8ydXRAaaBV)

…

Subscribe to my [YouTube channel](https://youtube.com/automationbro)
Support my work – https://www.buymeacoffee.com/automationbro
Follow [@automationbro](https://twitter.com/automationbro) on Twitter