📚Example of API Requests
This section provides you with examples of how to send requests to the API. The examples cover a range of common use cases, demonstrating the required format and parameters for each request. In this section we will be seeing GET,POST,PUT, DELETE
API Automation Execution
To automate API execution, follow these steps for the initial setup. After completing the initial setup, you can trigger automation either through IntelliJ/IDE or via Maven commands. Before executing the automation, it's crucial to update two parameters from the configuration files: 'Platform
' from 'testNgConfiguration.properties
' and 'TEST_TRAIL_IDS
' from 'testManagementConfiguration.properties
'. These changes are necessary to enable the automation to identify that it is meant to automate API testing and to specify which specific test cases to pick.
Note: If TestRail is not available in your project, it is advisable to disable it.
Automation Configuration

After setting up the above configuration trigger automation through maven or intellij
Running through intellij
To run automation through maven one should need to create a configuration in intellij

Main Class:
runner.ScriptLessApplication
The entry point of the automation process.
CLI Arguments:
true
,[registered email]
,[token]
true
specifies execution through Maven andfalse
specifies not executing through maven.[registered email]
should be the user's registered email address.[token]
is a secret key distributed via email.
While setting up configuration keep false
, [registered email]
, [token]
for more details read here
Last updated
Was this helpful?