I am trying to use Report Portal for my current TestNG framework but, it is not attaching the logs to the report. I have followed all the required steps to be done as per this document agent-java-testNG
Here is the sample which I tried:
- Added 'reportportal.properties' configuration file with following contents:
rp.endpoint = http://localhost:8080 rp.api.key = e0e541d8-b1cd-426a-ae18-b771173c545a rp.launch = TestNG Tests rp.project = default_personal
Created a file 'org.testng.ITestNGListener' under '/META-INF/services/' and placed the below content:
com.epam.reportportal.testng.ReportPortalTestNGListenerAdded following dependency:
<dependency> <groupId>com.epam.reportportal</groupId> <artifactId>agent-java-testng</artifactId> <version>5.4.6</version> <scope>test</scope> </dependency><dependency> <groupId>com.epam.reportportal</groupId> <artifactId>logger-java-log4j</artifactId> <version>5.2.3</version> <scope>test</scope> </dependency>
