Code Monkey home page Code Monkey logo

Comments (25)

kirksl avatar kirksl commented on July 22, 2024 1

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

supadhyaywebuy avatar supadhyaywebuy commented on July 22, 2024

@guptapranay did you got resolution for compatibility issue?

from agent-java-karate.

DzmitryHumianiuk avatar DzmitryHumianiuk commented on July 22, 2024

@guptapranay any details?

from agent-java-karate.

guptapranay avatar guptapranay commented on July 22, 2024

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.

DzmitryHumianiuk avatar DzmitryHumianiuk commented on July 22, 2024

@Yumfriez @HardNorth can you please take a look?

from agent-java-karate.

karthikbits avatar karthikbits commented on July 22, 2024

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.

guptapranay avatar guptapranay commented on July 22, 2024

@Yumfriez any updates? Or @karthikbits is your the official one?

from agent-java-karate.

workwithprashant avatar workwithprashant commented on July 22, 2024

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.

DzmitryHumianiuk avatar DzmitryHumianiuk commented on July 22, 2024

@workwithprashant does 0.9.5RC5 compatible with 0.9.4?
Or it has braking change as well?

from agent-java-karate.

workwithprashant avatar workwithprashant commented on July 22, 2024

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

karthikbits avatar karthikbits commented on July 22, 2024

from agent-java-karate.

DzmitryHumianiuk avatar DzmitryHumianiuk commented on July 22, 2024

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.

evgenytkachenko avatar evgenytkachenko commented on July 22, 2024

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

evgenytkachenko avatar evgenytkachenko commented on July 22, 2024

@workwithprashant did you make it work with 0.9.5 properly?

from agent-java-karate.

evgenytkachenko avatar evgenytkachenko commented on July 22, 2024

@workwithprashant @karthikbits how did you make https://github.com/karthikbits/reportportal-karate work with 0.9.5 ?

from agent-java-karate.

workwithprashant avatar workwithprashant commented on July 22, 2024

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

anilsky avatar anilsky commented on July 22, 2024

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

anilsky avatar anilsky commented on July 22, 2024

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

anilsky avatar anilsky commented on July 22, 2024

@workwithprashant can you please share how did you integrate 0.9.5 with RP using client-java ?
(gradle or maven ?)

from agent-java-karate.

govindsky avatar govindsky commented on July 22, 2024

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 avatar workwithprashant commented on July 22, 2024

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

DzmitryHumianiuk avatar DzmitryHumianiuk commented on July 22, 2024

@workwithprashant don't hesitate to send us pull request with latest version )

from agent-java-karate.

anilsky avatar anilsky commented on July 22, 2024

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

kirksl avatar kirksl commented on July 22, 2024

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

HardNorth avatar HardNorth commented on July 22, 2024

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)

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.