Katalon TestOps TestNG
A TestNG Listener that automatically uploads TestNG reports to Katalon TestOps. Please refer to https://github.com/katalon-studio-samples/katalon-testops-testng-sample for a sample project.
Usage
- Add the following dependency to dependencies configuration in
pom.xml:
<dependencies>
<dependency>
<groupId>com.katalon.testops</groupId>
<artifactId>testng-report-uploader</artifactId>
<version>1.0.0-1</version>
<scope>test</scope>
</dependency>
</dependencies>
- Specify
testops.apiKeyandtestops.projectIdproperties inmvn testcommand:
mvn test -Dtestops.apiKey=<Your Katalon TestOps API Key> -Dtestops.projectId=<Katalon TestOps Project Id>
Command-line options
| Mandatory Option | Description |
|---|---|
| testops.apiKey | The API Key used to authenticate and upload reports to the Katalon TestOps. Learn more. |
| testops.projectId | The project ID of the Katalon TestOps Project to submit the JUnit reports to. |
| Optional Option | Description |
|---|---|
| testops.serverUrl | For TestOps on-premises |
| proxy.exceptionList | |
| proxy.option | NO_PROXY, USE_SYSTEM, MANUAL_CONFIG |
| proxy.serverAddress | |
| proxy.serverPort | |
| proxy.serverType | HTTP, HTTPS, SOCKS |
| proxy.username | |
| proxy.password | |
| proxy.reportPath |