Looking for tools use to test REST API. So far I'm only aware of SoapUI. I've tried SOAPUI but - at least in a mac - it's terrible. Wondering what people are using to test their own APIs.
The capability of combining UI and API/Web services for multiple environments (Windows, Mac OS, and Linux) is also a unique advantage of Katalon Studio among the top API tools. Besides being a free solution, Katalon Studio also offers paid support services for small teams, businesses, and enterprises. AlertSite API monitoring and testing tool that allows you to create tests and instant alerts by clicking on elements on your site or application. Postman Simple and powerful REST-based API monitor used by over 10 million developers. API Fortress Allows for both on-site and on-premise solutions. Best HTTP Clients for Mac in 2021 January 4, 2021 This article has been just updated: January 4, 2021 Web developers and server administrators need many different tools in their toolkit, and a reliable HTTP client with an assortment of useful features is among them. In this article, we introduce the top 7 best HTTP.
Table of Contents
- 1. RapidAPI Testing
- 2. Paw (The most advanced API tool for Mac)
- 3. SoapUI
- 4. Postman
- 5. REST-assured
- 6. Katalon Studio
- 7. JMeter
- 8. Karate DSL
- 9. Apigee
- 10. Assertible
- 11. Tricentis Tosca
- 12. Rest Console
With APIs increasingly becoming essential components for software development, it has become vitally critical for developers and programmers to perform API tests. API testing is a process that focuses on determining whether an API that has been developed meets the anticipated threshold in terms of functionality, performance, reliability, and security. And since these tests are vitally essential, you need to utilize the best API testing tools out there. Owing to the hundreds of testing software in the market, we have taken our time to compile a list of the best API testing tools in the market.
1. RapidAPI Testing
RapidAPI is the world’s largest API marketplace with over 1 million developers and 10,000 APIs. RapidAPI Testing is a RapidAPI product that provides a functional API testing solution for creating and managing comprehensive API tests from development to deployment. Tests can be run for any type of API (including REST, SOAP, and GraphQL).
Check out a quick tutorial here.
RapidAPI Testing offers:
- Comprehensive Testing
- Global Monitoring
- Seamless Integration
Pros
- Free to use up to 100,000 API Calls. Unlimited Tests.
- Quickly create comprehensive tests for deep API validation
- Continuously run tests to monitor APIs across all geographies
- Native integrations to RapidAPI Marketplace and RapidAPI Enterprise Hub
- Functional testing, performance testing, automated testing, and API Monitoring all in one product / SKU
- CI/CD Integration to GitHub, Jenkins, CircleCI, Travis, GitLab, and more
- Real-time alerts including SMS, email, and integrations to incident management systems
Cons
- None (to be fair, we are biased!)
Pricing: Free up to 100k API calls, unlimited API tests. For Enterprise and plans above 100,000 API calls see pricing plan details here.
2. Paw (The most advanced API tool for Mac)
Paw is a full-featured one-stop robust Mac-native HTTP client for testing and describing APIs. The fully-featured and exceptionally designed mac app helps you build HTTP requests, inspect the server’s response and even generate code.
Pros
- Offers Teams Product
- Free trial available, with no credit card required
- Multiple extensions
- It boasts a JSON outline viewer and editor
- Supports OAuth 1 & 2, HTTP Basic Auth and Amazon S3
- You can organize requests, sort by host and name, or make groups
Cons
- Mac Only (but with Windows and Linux coming soon!)
Pricing: $49.99 for a one-time license, or $10/month for teams (free trial available)
3. SoapUI
SoapUI is an API testing tool that is ideal for complicated test scenarios as it allows developers to test REST, SOAP, and Web Services without any hassles. It gives the user a full source framework as it is wholly dedicated to API testing.
Pros
- It allows users to create complex-scenarios and supports asynchronous testing
- Can create custom codes using Groovy
- Creating a test is easy; just drag and drop
Cons
- Though it’s easy to implement, the tool lacks documentation
Pricing: Free version, premium -$659/year
4. Postman
Launched initially as Chrome plugin, Postman has evolved to become a top-tier API testing tool. It is ideal for those who want to test APIs without coding in an integrated development environment using the same language as developers.
Pros
- Runs on Windows, Mac, Linux and Chrome Apps
- Boasts run, test, document, and monitoring features
- You don’t need to learn a new language to use this API testing tool
Cons
- Although the enterprise version is easy to set up and use, it comes with limited requests
- Pricing for enterprise is high
Pricing: Free, enterprise – $21/user/month
5. REST-assured
If you are looking for a framework to test REST services in Java, Rest-assured is a perfect choice.it is an open-source platform with Java Domain-specific language that makes testing REST service simpler.
Pros
- Users don’t need to be HTTP experts
- It integrates with the Serenity automation framework
- It comes with some baked-in functionalities
Cons
- Supports only Java language
Price: Open Source
6. Katalon Studio
Combining UI and Business levels for different environments, Katalon Studio provides a common place to create and execute API/Web services, UI functional, and mobile testing.
Pros
- Supports SOAP and RESTful requests
- Boasts one of the most robust assertion libraries
- It’s a complete package and framework
- Supports a data-driven approach
Cons
- Doesn’t have support for distributed testing
Pricing: Free, premium – $69/license/month
7. JMeter
Although JMeter was purposely created for load testing, it is a fantastic tool for functional API testing. It comes with a plethora of API testing functionalities and extra features to make the process more efficient.
Pros
- Its integration with Jenkins makes it possible to include API tests in the CI pipelines
- It allows developers to replay test results
- Can be utilized in static and dynamic resource performance testing
Cons
- It stimulates heavy loads and visualizes test reports that consume a lot of memory
Pricing: Open Source
8. Karate DSL
Another open-source framework for API testing is Karate DSL. It is based on a cucumber library, and it helps create scenarios for API-based BDD tests in a simple way without the need to write
step-to-step definitions.
Pros
- Boasts powerful assertion capabilities
- It allows configuration switching
- The software permits reusing of payload-data for API testing
- It supports multi-thread parallel execution
Cons
- The tool doesn’t have Auth Schemes out of the box
Pricing: Open Source
9. Apigee
Apigee is another cutting-edge platform for API testing. The cross-cloud API testing tool permits you to measure and test performance, supports, and create an API with the help of other top-notch
editors such as Swagger.
Pros
- With Apigee, you can design, monitor, deploy and scale APIs
- Helps identify performance problems by tracking API error rates, traffic, and response times
- It provides customizable developer portal
- It supports Node.js.
Cons
- It no longer supports webhooks and their policies
Pricing: Free trial – $2,500/month
10. Assertible
Assertible is a world-class API testing tool that focuses on automation and reliability.
Pros
- Supports for the automation of API tests in every step of continuous integration and delivery pipeline
- Provides an easy way to create robust tests
- It facilitates the quick detection of API problems
Cons
- It can be inconvenient, especially when you are viewing a detailed quality report of your web services
Pricing: Free version, premium version – $500/month
11. Tricentis Tosca
If you are looking for a continuous testing platform for Agile and DevOps, Tricentis Tosca has got you covered.
Pros
- It supports various protocols, including SOAP, Rabbit MQ, HTTP (s) JMS, REST, IBM, MQ, and TIBCO EMS, among others
- It reduces the time required for regression testing
- Can be used across packaged apps, mobile and cross-browser
Cons
- The out-of-the-box functionality can be frustrating at times
Pricing: Starts at $19/month
12. Rest Console
Rest console is an HTTP client, Request visualizer, and a constructor API testing tool that helps users debug, build, and test RESTful APIs.
Pros
- It boasts easy query parameter creation
- You can build POST or PUT body through raw input
- You can add custom headers via intuitive UI
Cons
- Requires extensive expertise for you to use it
Pricing: Free
This section describes the first steps needed in order to use the API.If you are new to REST APIs please read the About REST section first.
REST-API client¶
The only tool needed in this section is a browser with a REST-API client add-on to access the API. This document doesn’t cover the API access through a programming language since everybody may have its favorite language.
There are various free clients available; please pick one for your favourite browser in the browser add-on section.
In the following steps Postman for Chrome from the Google Webstore will be used.For Firefox the REST Client is another popular client.
Find your gateway¶
As first step the gateway IP address and port must be found.
This could be achieved by doing a GET
request to https://phoscon.de/discover.
The response body shows that the gateway has the IP address 192.168.192.32 and the APIis reachable through port 8080.
Hint
If the above request doesn’t work, there are several other ways to find the gateway IP address as described in Discovery.
Acquire an API key¶
Any client that wants to access the API must provide a valid API key otherwise the access will fail.
To acquire an API key send a POST request to /api
as follows. Use the IP address and the port of your gateway that you got during discovery.
Important
The request must contain a JSON object with the required field devicetype.
In some Rest clients it is mandatory to put ‘http://’ in front of the IP address of the gateway.
… something went wrong!
The returned HTTP status is 403 Forbidden. The response body provides further information about the raised error in the JSON object.
Unlock the gateway¶
The reason why the request failed is that the gateway was not unlocked. This mechanism is needed to prevent anybody from access to the gateway without being permitted to do so.
As described in the section Authorization unlock the gateway as follows:
- In a new browser tab open the Phoscon App
- Click on Menu → Settings → Gateway
- Click on “Advanced” button
- Click on the “Authenticate app” button
See: Phoscon App — Advanced Gateway Settings
Now the gateway is unlocked for 60 seconds.
Second attempt¶
Within 60 seconds after unlocking the gateway, go back to the REST client and repeat the acquire API key request as before. (just click on Send again)
This time the request succeded with HTTP status 200 OK.
In the response body the new API key is in the field username
. From now on this API key will be used in further API requests.
Get a list of all lights¶
With the API key from the last section it is now possible to access the full API.
To get a list of all available lights run a GET
request to /api/<apikey>/lights
as follows.
In the response 3 lights where returned. There are serval things to note here.
- The response contains not a list like
[ ]
of lights but a object{ }
with key/value pairs - Each light can be accessed by its id
'17'
- The light id is a key in the response object and the related value is a further object
Note
Ids are strings and even if they contain numbers never expect them to be “1”, “2”, “3”, … if the user removes light “2” the list will become “1”, “3”.
Rest Api Tool For Mac Mojave
Get the details of a light¶
To get the detail of a light do a GET
request to /api/<apikey>/lights/<id>
as follows.
Turn light on/off¶
To turn a light on/off do a PUT
request to /api/<apikey>/lights/<id>/state
as follows.
In the request body set the on
value to true or false to turn the light on and off.
Dim the light with transition time¶
Rest Api Tool For Mac Windows 10
Dimming is done the same way as sending on/off by using the bri
parameter; additionally specify a transition time in 1/10 seconds.
The following example dims the light in 5 seconds down.
What’s next¶
Rest Api Tool For Mac Download
To do some more advanced things with this API please refer to the API Endpoints documentation on the left side menu.