Automate the process of API testing from a command line interface (CLI).
Talend Cloud API Tester allows you to use exported tests as an input for the Maven plugin which generates standard JUnit/Surefire reports and allows you to configure custom URLs that will get notified before and/or after a test is completed.
The quickest way to launch tests from scratch is to include them inside a project.
Before you begin
- In Scenarios, click the name a project in the left panel.
In the Test automation box
on the top right of the page, click Download
Tip: You can also download your API project using the Talend Cloud API Tester Management API.
- Download the pom.xml file by clicking the corresponding hyperlink.
Download the project that you want to test by clicking
Download project and save it in the
same folder as pom.xml.
Open a terminal in the folder where you saved pom.xml and the project, and launch the
mvn clean testcommand to run your tests.
You can check the test results in the command line console.