Giter VIP home page Giter VIP logo

Comments (9)

ihar-kahadouski avatar ihar-kahadouski commented on May 20, 2024

It seems you have registered a few listeners. Check it please in pom.xml

from agent-java-testng.

evjlobanova avatar evjlobanova commented on May 20, 2024

@Baivalr Does it help you?

from agent-java-testng.

DzmitryHumianiuk avatar DzmitryHumianiuk commented on May 20, 2024

@Baivalr please share you pom.xml and suites.xml
listener can also be defined there.

And plz let us know about the multi threading, do you use it?

from agent-java-testng.

Baivalr avatar Baivalr commented on May 20, 2024

no multithreading.
`
4.0.0

----
web-automation
0.0.1-SNAPSHOT

s-release-regression

<properties>
	<s-release-regression.skip.tests>true</s-release-regression.skip.tests>
	<skipTests>${s-release-regression.skip.tests}</skipTests>
</properties>

<build>
	<plugins>
		<!-- used to copy web drivers into final jar -->
		<plugin>
			<artifactId>maven-remote-resources-plugin</artifactId>
			<version>${version.plugin.remote-resources}</version>
			<executions>
				<execution>
					<id>process-remote-resources</id>
					<goals>
						<goal>process</goal>
					</goals>
					<configuration>
						<resourceBundles>
							<resourceBundle>---:web-automation-core:${project.version}</resourceBundle>
						</resourceBundles>
					</configuration>
				</execution>
			</executions>
		</plugin>

        <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.3</version>
            <configuration>
                <source>1.8</source>
                <target>1.8</target>
            </configuration>
        </plugin>
	</plugins>
</build>

<profiles>
	<profile>
		<id>RunTestSuite</id>
		<activation>
			<activeByDefault>false</activeByDefault>
			<property>
				<name>suite</name>
			</property>
		</activation>
		<build>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>${version.plugin.surefire}</version>
					<configuration>
                        <testFailureIgnore>true</testFailureIgnore>
						<suiteXmlFiles>
							<suiteXmlFile>src/test/resources/testng-suites/${suite}.xml</suiteXmlFile>
						</suiteXmlFiles>
					</configuration>
				</plugin>
			</plugins>
		</build>
	</profile>
</profiles>

<dependencies>

	<dependency>
		<groupId>org.testng</groupId>
		<artifactId>testng</artifactId>
		<version>${version.dependency.testng}</version>
		<scope>test</scope>
	</dependency>

	<dependency>
		<groupId>com.---</groupId>
		<artifactId>ats-page-objects</artifactId>
		<version>0.0.1-SNAPSHOT</version>
	</dependency>

	<dependency>
		<groupId>---</groupId>
		<artifactId>web-automation-core</artifactId>
		<version>0.0.1-SNAPSHOT</version>
	</dependency>

	<dependency>
		<groupId>org.apache.httpcomponents</groupId>
		<artifactId>httpclient</artifactId>
		<version>4.5.1</version>
	</dependency>

	<dependency>
		<groupId>com.jayway.restassured</groupId>
		<artifactId>rest-assured</artifactId>
		<version>2.8.0</version>
	</dependency>

	<dependency>
		<groupId>com.jayway.restassured</groupId>
		<artifactId>json-path</artifactId>
		<version>2.8.0</version>
	</dependency>

	<dependency>
		<groupId>org.json</groupId>
		<artifactId>json</artifactId>
		<version>20151123</version>
	</dependency>
</dependencies>
` ` `

from agent-java-testng.

Baivalr avatar Baivalr commented on May 20, 2024

and `

`

from agent-java-testng.

ihar-kahadouski avatar ihar-kahadouski commented on May 20, 2024

@Baivalr check please your XML files with sutes structure if they have <listeners> attribute

from agent-java-testng.

evjlobanova avatar evjlobanova commented on May 20, 2024

@Baivalr Could you please tell us if it helped?

from agent-java-testng.

Baivalr avatar Baivalr commented on May 20, 2024

report portal listener is not defined in any suite xml.

from agent-java-testng.

HardNorth avatar HardNorth commented on May 20, 2024

obsolete

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.