Comments (2)
@7vga Every agent in ReportPortal was designed to handle one Launch per execution because we close and free all resources we use on the Launch end. When you call TestNG.run several times it does not initialize our listener a new and uses old one. From pure TestNG prospective this is unrealistic case. Even if you configure your build system to run the same tests with different number of parameters each time it will be separate processes. There are good reasons why they not doing it in the same process. And the first of them is that tests and test frameworks usually not designed to be resilient in the long-running term. Or you have to pass performance profiling phase each test release, that's ridiculous.
So no, you can't do what you described with ReportPortal. That's official. Please configure your build system to run your tests with different set of parameters instead of your own application implementation.
from agent-java-testng.
Got it, thanks for clear explanation, will use other approach
from agent-java-testng.
Related Issues (20)
- 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
- Logs from TestNG DataProvider methods are captured and associated with the corresponding test in ReportPortal. HOT 6
- agent-java-testng - ItemID should not be null in 5.3.1 HOT 1
- Logs duplicated when run tests in parallel HOT 1
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.