Comments (25)
@DzmitryHumianiuk @workwithprashant i believe the reason for instability has been with the method of implementation to integrate RP to Karate. i haven't had the time to create a clean abstration with ReportPortalAppender however i have implemented a solution below which should prove to be robust. possibly this could be insightful for a ReportPortalAppender solution in the future.
https://github.com/kirksl/karate-maven-gradle
from agent-java-karate.
@guptapranay did you got resolution for compatibility issue?
from agent-java-karate.
@guptapranay any details?
from agent-java-karate.
Hi @DzmitryHumianiuk @supadhyaywebuy
No, I still have this issue. Downgrading karate to 0.7.0 works well with agent-java-karate. But with higher versions, it fails.
from agent-java-karate.
@Yumfriez @HardNorth can you please take a look?
from agent-java-karate.
Hi have developed a new report portal karate plugin https://github.com/karthikbits/reportportal-karate . This uses the latest event enhanced events framework in Karate. It needs 0.9.5.RC3. Doing some testing within my company.
from agent-java-karate.
@Yumfriez any updates? Or @karthikbits is your the official one?
from agent-java-karate.
Hi have developed a new report portal karate plugin https://github.com/karthikbits/reportportal-karate . This uses the latest event enhanced events framework in Karate. It needs 0.9.5.RC3. Doing some testing within my company.
@karthikbits Were you able to make it work with karate 0.9.5.RC5 ?
from agent-java-karate.
@workwithprashant does 0.9.5RC5 compatible with 0.9.4?
Or it has braking change as well?
from agent-java-karate.
@DzmitryHumianiuk 0.9.5.RC5 is not compatible with 0.9.4. I have made few code changes to https://github.com/karthikbits/reportportal-karate to make it work properly with 0.9.5.RC5 except that scenario steps does NOT display in order on ReportPortal. I am troubleshooting and need to fix it soon.
from agent-java-karate.
from agent-java-karate.
Well,
before it merged - it should be tested and verified.
my main concern is that active version changes so quick and each new version is not backward compatible with previous.
and still, they have Release Candidate
label, which not guarantee it stability.
At the moment, we have requests to make it work with 0.9.3, 0.9.4 and now with 0.9.5
it's a huge overhead to keep it stable and release new packages each time, when new RC or 0.9.xxxx version will be avaialble.
In general,
are there any public roadmap regarding 1.0.0 stable version of karate available?
from agent-java-karate.
@karthikbits do you have examples of how you use karate-agent you have built?
I mean how to use it in the Test Runner ?
from agent-java-karate.
@workwithprashant did you make it work with 0.9.5 properly?
from agent-java-karate.
@workwithprashant @karthikbits how did you make https://github.com/karthikbits/reportportal-karate work with 0.9.5 ?
from agent-java-karate.
@evgenytkachenko I had to use client-java to make it work with Karate 0.9.5. It will be nice if we can have agent working for Karate since I have to keep updating client-java implementation for every new feature Reportportal releases.
from agent-java-karate.
@karthikbits .. may I know the reason behind for your non responsiveness? i am looking forward for the solution to the same (RP integration with Karate 0.9.5) .. thanks in advance
from agent-java-karate.
@evgenytkachenko I had to use client-java to make it work with Karate 0.9.5. It will be nice if we can have agent working for Karate since I have to keep updating client-java implementation for every new feature Reportportal releases.
@workwithprashant do you have an example to share please ?
from agent-java-karate.
@workwithprashant can you please share how did you integrate 0.9.5 with RP using client-java ?
(gradle or maven ?)
from agent-java-karate.
Please support if any solution .
issues with Report portal. IO (KarateReportPortalRunner) ==> Integration with karate 0.8.0.1 .
karate Runner class extends ==> KarateReportPortalRunner.class .
import cucumber.api.CucumberOptions;
import org.junit.runner.RunWith;
@RunWith(KarateReportPortalRunner.class)
@CucumberOptions(features = "classpath:resources",
plugin = { "pretty","com.epam.reportportal.cucumber.ScenarioReporter" ,"com.epam.reportportal.cucumber.StepReporter" })
public class TestRunner {
}
when You execute with above option this Test Runner its failing following error
.java.lang.NullPointerException
at com.intuit.karate.cucumber.KarateHtmlReporter.karateStepProceed(KarateHtmlReporter.java:191)
at com.intuit.karate.cucumber.KarateReporterBase.karateStep(KarateReporterBase.java:105)
at com.intuit.karate.cucumber.KarateReporterBase.callBegin(KarateReporterBase.java:77)
at com.intuit.karate.Script.evalFeatureCall(Script.java:1679)
at com.intuit.karate.Script.evalFeatureCall(Script.java:1662)
at com.intuit.karate.Script.call(Script.java:1599)
at com.intuit.karate.Script.callAndUpdateConfigAndAlsoVarsIfMapReturned(Script.java:1690)
at com.intuit.karate.StepDefs.callAndUpdateConfigAndVars(StepDefs.java:582)
from agent-java-karate.
@workwithprashant can you please share how did you integrate 0.9.5 with RP using client-java ?
(gradle or maven ?)
@anilsky
I have created karate demo Maven project which has integration with Reportportal for Karate version 0.9.5+
Karate-Reportportal-Demo
from agent-java-karate.
@workwithprashant don't hesitate to send us pull request with latest version )
from agent-java-karate.
@DzmitryHumianiuk @workwithprashant
We have used @workwithprashant solution to integrate RP with Karate 0.9.5 and it would be beneficial for wider community if this can be reviewed and merged to master
much appreciated
from agent-java-karate.
@DzmitryHumianiuk @workwithprashant appreciate it if i can work with you to determine and solve all issues with this integration. can you help me understand what the remaining issues are. @workwithprashant are you planning on submitting your changes to support 0.9.6+ into this repo? i'd also like to understand why the integration keeps breaking, create a specific list of the problems and see if we can create a level of harmony between Karate and ReportPortal projects. i'd be happy to facilitate resolution of issues within the Karate project.
from agent-java-karate.
Please use karate of version 1.3.1 and newer. Earlier versions of Karate are not planned for support.
To use Karate with ReportPortal add the latest official Agent version and setup reporting according to documentation to address the issue:
https://github.com/reportportal/agent-java-karate/releases/tag/5.0.0
https://github.com/reportportal/agent-java-karate/blob/develop/README.md
from agent-java-karate.
Related Issues (18)
- Not able to integrate Report Portal with Karate Framework(API testing) HOT 14
- Integrate Karate V0.9.6 with reportportal HOT 18
- configure driver is not recognizing karate config variables to parameterize browser name and driver path HOT 1
- Want to show logs in report portal based on log level (WARN, INFO, DEBUG) HOT 2
- Report portal not working with Karate 1.0.1 HOT 2
- Sending Attachments with Karate1.0.1 with Report Portal (Using https://github.com/kirksl/karate-maven-gradle ) HOT 2
- Portal not working with Karate1.2-Junit5 version HOT 1
- Add logging to publishing process HOT 1
- If there is Background and 2 or more tests, if 1 test failed the others are also marked as failed. HOT 10
- How to do parallel execution? HOT 5
- All features in package classpath are reported to reportportal when using tags from command line. HOT 3
- Got an error when running a scenario which called another scenario
- Publish Karate feature tags on Test Suite and Test objects in ReportPortal
- Unable to instantiate report portal client HOT 4
- How to use karate-config.js file with agent-java-karate project HOT 2
- Unable to retrieve the table column value from MS SQL using agent-java-karate HOT 1
- Compilation errors with latest karate versions HOT 6
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-karate.