Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My test executions are not syncing to ReportPortal UI #214

Open
Bshaik opened this issue Nov 24, 2024 · 3 comments
Open

My test executions are not syncing to ReportPortal UI #214

Bshaik opened this issue Nov 24, 2024 · 3 comments

Comments

@Bshaik
Copy link

Bshaik commented Nov 24, 2024

i have configured the way it is defined in document to my test automation framework.
1

i am using:

  • agent-java-testng - 5.4.4
  • logger-java-log4j - 5.2.2
  • log4j-api - 2.20.0
  • log4j-core - 2.20.0

log4j2.properties added:

  • log4j.appender.reportportal=com.epam.ta.reportportal.log4j.appender.ReportPortalAppender
  • log4j.appender.reportportal.layout=org.apache.log4j.PatternLayout
  • log4j.appender.reportportal.layout.ConversionPattern=[%d{HH:mm:ss}] %-5p (%F:%L) - %m%n

created the folder and the file : /META-INF/services/org.testng.ITestNGListener

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public Logger log = LoggerFactory.getLogger(Utils.class);
@Pink-Bumblebee
Copy link

@Bshaik , could you please check your configuration by using example https://github.com/reportportal/examples-java/tree/master/example-testng-log4j ?

@Bshaik
Copy link
Author

Bshaik commented Nov 26, 2024

@Pink-Bumblebee Actually i have followed the same example document for configuration. can you please let me now where could be the issue and why reportportal dashboard /launch is not displaying the actual execution

@HardNorth
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants