Functional-Testing

Functional Testing

  • Functional testing refers to the process of testing the individual functions, interactions, and behavior of an API to ensure that it meets the specified requirements and functions correctly.

Contents


Introduction To Functional Testing

  • Let's pause for a moment to comprehend the benefits that Functional Testing provides in the realm of API Testing Services. Functional Testing serves the purpose of testing REST, SOAP, and GraphQL APIs. To accomplish this, the user is required to furnish API details, authorization, headers, path parameters, query parameters, functional assertions, and API-to-DB assertions.

  • To enhance the user experience, we offer tools such as JSON path extractors, XPATH extractors, JSON and XML schema generators. Upon executing the test script, users can view the generated report, which allows them to verify the results effectively.


Project Creation

Click here for instructions on how to Create Project


Create Test Suite

Once the project is created, you'll be redirected to the dashboard.

Step 1: Click on Create Test Suite

image

Step 2: Enter Test Suite Name, Module name, and click on Create Test Suite button.

NOTE:

  • The Test Name can have only letters, numbers, and underscores.

  • Module name should not exceed 225 characters

    image

Edit Test Suite

Step 1: Go to the desired Test Suite.

Step 2: Click on Edit Suite icon.

image

Step-3: Enter necessary Test Suite Name or Module Name, then clicks on Update.

image

Delete Test Suite

Step-1: Go to the desired Test Suite.

Step-2: Click on the Delete icon.

image

Step-3: Confirm the deletion.

image

Summary of Test Suite

Watch this video for instructions on how to create,edit and delete test suites

Test Script Creation

The options available for API creation in Functional Testing that we offer:

Import Swagger JSON or WSDL URL

Generate a test script by Importing Swagger JSON or WSDL URL

  • For example, you can utilize this open API:

       https://petstore.swagger.io/v2/swagger.json
       

Step-1: Provide valid Swagger JSON or WSDL URL in the field.

Step-2: Then, click on Get API's to get APIs from provided URL.

image

Step-3: Select required API's to be generated as Test Script. And click on Generate Test Script.

image

Step-4: If all processes occur as intended, the resulting list will display the generated Test Scripts as shown below.

image

Upload Swagger JSON or WSDL File

Step-1: In the Upload Swagger JSON or WSDL File section click on Browse button and select the desired Swagger JSON or WSDL file.

image

Step-2: Then Select API's to generate test script.

image

Step-3: If all processes occur as intended, the resulting list will display the generated Test Scripts as shown below.

image

Import from Postman Collection URL

For example, you can utilize this open API:

https://www.postman.com/collections/aa23bc182d99b5f6f93c

Step-1: Please input the provided URL into the designated field labeled Import From Postman Collection

Step-2: Click on Get API's to retrieve the relevant APIs

image

Step-3: Select the API's and Generate Test Script.

image

Step-4: If all processes occur as intended, the resulting list will display the generated Test Scripts as shown below.

image

Upload from Postman Collection File

Step-1: In the Import from Postman Collection section click on Upload Json File button and select the desired postman collection JSON file.

image

Step-2: Then Select API's to generate test script.

image

Step-3: If all processes occur as intended, the resulting list will display the generated Test Scripts as shown below.

image

Create Manual API

  • To create a manual API Test, click on Add button in the Create Manual API Test section.

    image
  • To create an API manually, it's essential to provide the required information outlined here!

  • Once required API details are provided, click on Save to save the Test Script.


Summary of Test Script Creation

Watch this video for instructions on Test script

Now, let's comprehensively grasp the process of building and executing test scripts, including a thorough explanation of all the supported options.

Build Test Script

To Build and Execute Test Script Click here!

Interested in gaining a more detailed understanding of Test Script? Below is a comprehensive list of Test Script's details.

Info

Authorization

Headers and Params

Body

Assertions


Execute Test Script


Functional Reports

  • API testing reports provide insights into functional behavior of your APIs during testing.

  • To gain insights of the reports, please navigate to the Functional Reports page.


Advanced Features

  1. Parametrization:

    • Explore Parametrization to gain a deeper understanding of its functionality.

  2. Compare and download functional reports

  3. Execute Multiple Test Scripts

  4. Execute Multiple Test Suites


Related Topics:

Last updated