Giter VIP home page Giter VIP logo

Comments (7)

evjlobanova avatar evjlobanova commented on May 20, 2024

@shishirdwivedi2008 We can not help without details.
Version of RP
Client: name/version
Agent: name/version
Example to reproduce

from agent-java-testng.

shishirdwivedi2008 avatar shishirdwivedi2008 commented on May 20, 2024

Version of RP: 5.0.0
Agent: Java Testng / 4.2.1
OS: ubuntu 16.04 / Docker Deployment

Steps To Reproduce:

  1. Execute Test Suite
  2. Go to Launch and select particular launch
  3. 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.

HardNorth avatar HardNorth commented on May 20, 2024

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.

shishirdwivedi2008 avatar shishirdwivedi2008 commented on May 20, 2024

@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.

DzmitryHumianiuk avatar DzmitryHumianiuk commented on May 20, 2024

@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.

HardNorth avatar HardNorth commented on May 20, 2024

@shishirdwivedi2008 Can you provide an example project which reproduces the issue?

from agent-java-testng.

HardNorth avatar HardNorth commented on May 20, 2024

Abandoned

from agent-java-testng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.