Closed omkarnathsingh closed 4 years ago
I tried the sample suite provided at https://github.com/reportportal/examples-java/blob/master/example-testng-log4j/suites/logging_tests.xml
But I made it more practical, meaning in real work we have a tag with multiple classes, Now all data in logs gets ordered in any random tests. Its causing huge trouble in using v5 at this moment.
Example Suite file:
<suite name="Logging Tests" parallel="classes" thread-count="10"> <listeners> <listener class-name="com.epam.reportportal.testng.ReportPortalTestNGListener" /> </listeners> <test verbose="1" name="Clubbed Tests"> <classes> <class name="com.epam.reportportal.example.testng.log4j.logging.LuckyPugTest" /> <class name="com.epam.reportportal.example.testng.log4j.logging.XmlLoggingTest" /> <class name="com.epam.reportportal.example.testng.log4j.logging.XmlLoggingBetterTest" /> <class name="com.epam.reportportal.example.testng.log4j.logging.JsonLoggingTest" /> <class name="com.epam.reportportal.example.testng.log4j.logging.LoggingTest" /> <class name="com.epam.reportportal.example.testng.log4j.parametrized.ParametrizedTest" /> </classes> </test> </suite>
Please use the latest agents version 5.0.0-BETA-9
5.0.0-BETA-9
Thanks @HardNorth . Working fine now. Please update the same in example also.
I tried the sample suite provided at https://github.com/reportportal/examples-java/blob/master/example-testng-log4j/suites/logging_tests.xml
But I made it more practical, meaning in real work we have a tag with multiple classes,
Now all data in logs gets ordered in any random tests. Its causing huge trouble in using v5 at this moment.
Example Suite file: