Comments (7)
@shishirdwivedi2008 We can not help without details.
Version of RP
Client: name/version
Agent: name/version
Example to reproduce
from agent-java-testng.
Version of RP: 5.0.0
Agent: Java Testng / 4.2.1
OS: ubuntu 16.04 / Docker Deployment
Steps To Reproduce:
- Execute Test Suite
- Go to Launch and select particular launch
- After opening launch, two same suite names will come. first one having status interrupted and the second one having actual test cases.
Do let me know if you need any other info.
from agent-java-testng.
It depends on how you initialize ReportPortal listener. We recommend do that once in a 'testng.xml' file. If you initialize the listener in classes with an annotation, then TestNG creates several listener instances, which lead to the situation.
from agent-java-testng.
@HardNorth I am initializing ReportPortal Listener in my pom.xml file and executing test cases using mvn clean test.
Below is a snippet of my pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<suiteXmlFiles>
<!--suppress UnresolvedMavenProperty -->
<suiteXmlFile>${testNgXml}</suiteXmlFile>
</suiteXmlFiles>
<properties>
<property>
<name>usedefaultlisteners</name>
<value>false</value> <!-- disabling default listeners is optional -->
</property>
<!-- Report Portal Listner. Report will only be send to portal when run through mvn
command -->
<property>
<name>listener</name>
<value>com.epam.reportportal.testng.ReportPortalTestNGListener</value>
</property>
</properties>
</configuration>
</plugin>
from agent-java-testng.
@shishirdwivedi2008 for RPv5 you should use agents starting with 5.x
https://bintray.com/epam/reportportal/agent-java-testng/5.0.0-BETA-9 (for TestNG 7)
https://bintray.com/epam/reportportal/agent-java-testng/5.0.0-BETA-14-TESTNG6 (for TestNG 6)
from agent-java-testng.
@shishirdwivedi2008 Can you provide an example project which reproduces the issue?
from agent-java-testng.
Abandoned
from agent-java-testng.
Related Issues (20)
- Access denied for bintray HOT 1
- [ERROR] bad class file: /var/lib/jenkins/.m2/repository/com/epam/reportportal/commons-model/5.1.0/commons-model-5.1.0.jar(com/epam/ta/reportportal/ws/model/FinishExecutionRQ.class) HOT 1
- Google Analytics Connection Error HOT 1
- io.reactivex.exceptions.UndeliverableException from com.epam.reportportal.service.LaunchImpl HOT 2
- HELP: Is possible to provide existing launch ID to the agent? HOT 1
- Getting error [ERROR] java.lang.NoSuchMethodError: okhttp3.HttpUrl.get(Ljava/lang/String;)Lokhttp3/HttpUrl; HOT 6
- Combine beforeMethod and afterMethod with Test HOT 4
- Get Launch ID programmatically HOT 4
- ReportPortal execution error retrofit2.adapter.rxjava2.HttpException: HTTP 400 HOT 5
- [ERROR] Cannot instantiate class com.epam.reportportal.testng.ReportPortalTestNGListener HOT 4
- Does agent-java-testNG report only failed test cases? HOT 2
- com.epam.reportportal.exception.InternalReportPortalClientException: Wait for Launch start timed out HOT 6
- Test interrupt is reported on many tests execution HOT 4
- Getting Cannot instantiate class com.epam.reportportal.testng.ReportPortalTestNGListener HOT 5
- Can anyone please provide me details of how to deploy this report portal on cloud? Any documentation we have around this? HOT 1
- Retried test method not logged in RP with testng retry analyzer HOT 2
- Any way to integrate with gradle? HOT 1
- Test is reported as interrupted when testng "SkipException" is thrown in the BeforeClass method HOT 1
- Find launch ID or complete URL of a launch after it is started HOT 1
- java.lang.NoClassDefFoundError: com/epam/reportportal/utils/MemoizingSupplier while running the tests HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agent-java-testng.