Copilot - API

Copilot, powered by Generative AI, streamlines test automation by creating code for RestAssured, Karate, and more. Let’s explore how to use it effectively.


  • Copilot is a powerful Generative AI based automation generating assistant integrated into aiTest.
  • It facilitates the automatic generation of Feature Automation Code using HAR (HTTP Archive) File record functionality.
  • HAR files contain detailed information about HTTP requests and responses, including headers, content, and timing metrics.

What is Copilot?

  1. Copilot is an AI-driven automation assistant that automates the creation of automation code for tests.
  2. It operates on the concept of Generative AI, utilizing HAR (HTTP Archive) File is a JSON-based format used to record and store network activity generated by a web browser when loading a web page or interacting with a web application.

Why to use Copilot?

The primary reasons to use Copilot are as follows:

  • Automatic Generation of Cucumber Feature automation Code: Copilot generates Cucumber feature automation code using HAR (HTTP Archive) File is a JSON-based format, allowing testers to describe test scenarios in a human-readable format.


  1. Generates a Cucumber feature automation code using HAR (HTTP Archive) File is a JSON-based format.
  2. Test it on aiTest for API Test type.

How to use Copilot in aiTest?

  1. Sign up using your E-mail or Google account.
  2. Once you have reached the URL Test dashboard, navigate to the left-side menu and select the Copilot.
  3. Hit the Generate Automation button which is on top right corner.
  4. Fill all the fields which are mandatory.
  5. By using this link you can get more details of How to use HAR (HTTP Archive) File
  6. Upload the HAR file as shown in the below screenshot where it is highlighted.
  7. Click on the Upload button.
  8. Click on Generate Feature File button as shown in below screenshot where it is highlighted.
  9. Once the feature file is generated you can view the generated file on the right side of the window as shown in below screenshot. uploadfile
  10. Once the Automation Code is generated, by clicking on the GO TO DASHBOARD button it will save under your project testruns list which can be seen on dashbaord of Copilot. automationcodesave

Questions answered

  • What is Copilot?
  • Why to Use Copilot?
  • How to use Copilot in aiTest?

- Series



The latest tutorials sent straight to your inbox.