30 Days of API Testing Day 13: API Automation Tools


(Heather) #1

30 Days of API Testing Day 13 Challenge is:

Contribute to the list of API automation tools over on The Club and share your experiences with using them

What API automation tools do you use?


Test Specification and Metrics for API Testing
(Amit) #2

The most simple, efficient and least amount of code needed to automate API testing https://github.com/svanoort/pyresttest
If you need more controlled API testing there is always python requests library.


(Duong) #3

I am using Katalon Studio. This is a free test automation tool support for Web,Mobile and API testing . It is a great tool for the testers who have less coding knowledge with a friendly UI as well as a powerful tool for the experience testers with custom keyword feature.

Some other features of Katalon:

  • Katalon Analytics (Advanced Reports)
  • Integration
    • CI
    • Git
    • Gitlab
    • Jira
    • qTest
    • TestRail

I completed exercise 1 using Katalon and will use it to practice the next exercises :blush:


(Dave) #4

I use many API testing tools. I think my favorite 2 are Postman and Python.

Postman is great for quickly getting started and python is great for diving deep and combining API testing data manipulation of various sorts.


(Helena) #5

As I am new to testing (student) and also API I have recently begun to explore different API testing tools. At the moment I am making myself familiar with Postman and also beginning to write automated tests in JavaScript. I use the blog http://blog.getpostman.com/ to practice and get tips! Great blog posts and also easy to follow as a beginner. Looking forward to read everyone elses testing tools and explore some more!


(Hilary) #6

For my .NET projects I use NUnit and RestSharp.
I’ve just started automated API tests for a Javascript project, and using Mocha and supertest for that


(Conor) #7
  • Python Request is a great API automation library.
    “Requests is an elegant and simple HTTP library for Python, built for human beings.”
    http://docs.python-requests.org/en/master/

  • Postman is a firm favourite with the community, as its easy to use and has a wide range of functionality.

  • SOAP UI and API fortress both seem to be useful API Automation tools.

Some notes I made on Postman and SOAP UI tools some time ago when I was comparing tools.

SOAP UI

  • API functional testing
  • Covers SOAP and REST(allows generation from the WSDL file)
  • Covers load and security(pro version)
  • The assertion feature includes category of assertions etc
  • Cookies(As the packaged app runs in a sandbox separately from the browser, it can not access cookies set inside the browser. This restriction can also be overcome using the Interceptor extension)
  • Allows alerting/monitoring
  • Can allow service mock ups
  • Allows for test automation

Postman

  • Helps code generation including python request etc.
  • Verification can be done though the test tab, with the very useful snippets suggestion(i.e. automatically creates assertions)
  • Allows basic performance test e.g. returns in less than 500ms
  • Allows alerting/monitoring
  • Can allow service mock ups
  • Allows for test automation

(Nagesh) #8

@conorfi: Good info. I will explore more about “Interceptor extension”.

Adding some more notes for postman:

  • Can export tests and environment/global variables as json files
  • Assertions in Tests Tab using javascript and templates
  • Have support of command line tool called NewMan which is based on node.js
  • Supports e2e using Jenkins and other tools.

(Ilya Lychkou) #9

I’ve just started to automate api tests. My first tool is Postman. I use their features such as global variables, environments, pre-scripts and collections.
Thanks to all above who contributed info about other tools: SOAP UI, API Fortress, RestSharp, NUnit, Katalon Analytics, Python. I’m going to try all of them.


(Heather) #10

Some people have tweeted about this too


(srinivas) #11

Day 13: Contribute to the list of API automation tools over on The Club and share your experiences with using them.


(Thanh) #12

Through learning and searching about API testing in 30 Days of API testing, I have interacted with more tools than before and had some experiences of my own.
I use Postman at first next is Katalon to check APIs, recently I have tried SoapUI. Each tool has its own strengths. I will explore them more.


(Trang Ta) #13

(Thao) #14

I am exploring on Postman, it is easy to understand and use. But I saw @oceannguyen was suggested the new tool - Katalon: a free test automation tool support for Web,Mobile and API testing, I think it is interesting. I will go to try it.


(Tu Anh Nguyen - KMS) #15

I started the web project last year and the first tool I have been using for manual API testing is Postman.

Recently I try working with Katalon to explore its functionality. Honestly I have not tried the automation feature of both Postman and Katalon, I just use them to check the API services before scripting them.

In terms of developing API automation, I prefer our framework to tools, the framework is flexible and manageable.


(Tuan Tran) #16

I’d like to share 02 API Automation tools below:

  • Postman:
    – Script language: Javascript
    – Manage test script by test collection.
    – Able to run CLI/CI by using Newman

  • Katalon:
    – Script language: Groovy, Java
    – Able to run by CLI/CI.
    – Manage test script by the test case, test suite.


(KMS Nam Nguyen) #17

There are 2 API Automation tools I have learning and working below:

  • Katalon :
    – Free
    – Script language: Groovy, Java.
    – Able to run by CLI/CI.
    – Manage test script by the test case, test suite.
    – API Automation support.
  • Postman :
    – Free
    – Script language: Javascript.
    – Manage test script by test collection.
    – Able to run CLI/CI by using Newman
    – API Automation support.

(Felipe) #18

I’ve been using Postman for most of my API testing needs and although I believe it falls short from ideal in terms of flexibility, it’s been really easy to use it so far.

I recently tried out Paw, an HTTP client for mac that besides having a great UI and performance, has features similar to Postman such as defining environments and dynamic variables for requests. It’s paid though and I still need to try making a complete automated test suite with it.