Blogs API Automation Testing using SmartQE
API Automation testing in Smart way

API Automation Testing using SmartQE

By Admin Jan 23, 2020

Your product's or application's APIs are the most important part of the code that are prone and have the probability of highest errors.

If your API's are not stable or retrieving wrong data, it means your application also will display wrong data and therefore a non functional API will result in malfunctioning of your application.

Now, how quickly do you perform automation of APIs?

How do you quickly ensure all of your APIs are running as expected before going for build release or sprint release?

Have you ever thought of reducing the release cycle time by more than half?

Have you ever thought if your QA is performing the QE job?

Our SmartQE is the answer for all the above. This is a framework that can significantly bring down your QA efforts and release cycle time too.

Let’s get started and see how SmartQE deals with API Automation workflow:

  • API automation is one of the workflows in SmartQE using which you can automate all APIs of your application.
  • The base URL of your APIs is required to create this workflow. You can create all APIs having same base URL in this workflow. If you have multiple base URLs for different environments like Staging, Development, Production.. etc then you can configure all of them in ‘Build Environments’ of workflow.
  • SmartQE allows you to create APIs with HTTP methods like: POST, GET, PUT and DELETE.
  • You can add URL Parameters, Request Parameters, Request body just like in any other Rest API Client. SmartQE supports Json and XML formats both.
  • The dataset for this API, nothing but the data items required for all the fields of API, will allow you to test your API with all your test data. You are allowed to create multiple datasets for a single API.
  • Now, create a testcase with required APIs and datasets and execute it. That’s all. SmartQE will generate the automation scripts for the APIs and executes them automatically. Isn’t it simple?
  • You can also group your testcases to create a Testset (like smoke, sanity, and regression.. etc) and execute all the testcases at one shot. Isn’t it helpful to test all APIs when time is limited before release?
  • SmartQE provides execution environments like Local, Jenkins and Docker. In local mode, Automation scripts generation and execution takes place on the local machine. In Jenkins mode, scripts execution will be done on configured Jenkins. In Docker mode, the execution takes place in a docker container.
  • Setting up Jenkins and Docker ready for execution is not an easy task. But SmartQE eliminates such efforts with just few clicks. It pushes the automation scripts to git and then Jenkins will pull them from there and executes. Same goes with Docker too.
  • All the testcases can be mapped to your sprints of Jira project so that dashboard shows the testcases per sprint.
  • SmartQE always generates the testcase execution report within the application, doesn’t matter the execution environment (i.e.. Jenkins, Docker or Local). The report is detailed enough and downloadable.
  • Does your APIs exist in different environments like production, staging, development etc.? No worries, SmartQE offers Build Environments to configure them and execute your testcases against your choice of environment.
  • It is always nice to have a detailed dashboard which will give you a bird view on various workflows, test cases and datasets, Right? SmartQE provides this too.

API testing is not only the most vital testing to be done on your application, but also an easiest and quickest to execute. Using SmartQE, you can test all of the endpoints of your application no matter where they are hosted, from AWS to your local machine.

Isn't this exciting? Want to try SmartQE ? Please contact here for more info/queries.

Share this post