#14. |Rest Assured Framework| Log Request & Response Details In Extent Report |

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 17

  • @itv3415
    @itv3415 Рік тому +3

    One of the best channel thank you sir

  • @arunkumarsingh4940
    @arunkumarsingh4940 Рік тому +3

    Really you are the best! Amazing series

  • @AshishDubeyash4you
    @AshishDubeyash4you Рік тому +2

    Thank you so much for tutorials. For some reason this method was not creating File, so I had to initialize ExtentReport inside this method.
    public static ExtentReports createInstance(String fileName,String reportName, String documentTitle)
    {
    extentReports = new ExtentReports();
    ExtentSparkReporter extentSparkReporter = new ExtentSparkReporter(fileName);
    extentSparkReporter.config().setReportName(reportName);
    extentSparkReporter.config().setDocumentTitle(documentTitle);
    extentSparkReporter.config().setTheme(Theme.DARK);
    extentSparkReporter.config().setEncoding("utf-8");
    extentReports.attachReporter(extentSparkReporter);
    return extentReports;
    }

  • @rahulkumar-ps4oi
    @rahulkumar-ps4oi Рік тому +2

    Thanks for the video

  • @MohammadMujahidMuqtar
    @MohammadMujahidMuqtar 4 місяці тому +1

    I'm Receiving NullPointerException even after adding listeners to the testng.xml file, please help

  • @indiraroyalcivil52
    @indiraroyalcivil52 11 місяців тому

    Tried exactly the same code mentioned in this but getting null pointer exception that test is null, though listener is added in testng xml

    • @RetargetCommon
      @RetargetCommon  11 місяців тому

      You need to share project though GIT so that I can check.

  • @sudhazen
    @sudhazen Рік тому

    Hi, in reports folder it generated only dashboard.html and index.html but not the actual extent report(TestReport" + formattedTime + ".html).Can you pls help?

    • @RetargetCommon
      @RetargetCommon  Рік тому

      Please cross check the code with my repo.

    • @sudhazen
      @sudhazen Рік тому

      @@RetargetCommon i am using 4.0.9 extent-reports version does that change anything here?

  • @almughyiri
    @almughyiri Рік тому

    thanks brother. but I think the class Filter is better than this way

  • @namakkuedhukuindhavettiban9909
    @namakkuedhukuindhavettiban9909 9 місяців тому

    Hi Amod, i just followed ur video and I m facing the issue while running ---- issue is -- java.lang.NullPointerException: Cannot invoke "com.aventstack.extentreports.ExtentTest.info(com.aventstack.extentreports.markuputils.Markup)" because the return value of "java.lang.ThreadLocal.get()" is null. Could you help me out

    • @Itsur_PP
      @Itsur_PP 6 місяців тому

      Im also getting the same... Did you get any solutions for this..?

    • @mahmoudkhalifa8138
      @mahmoudkhalifa8138 5 місяців тому

      did you get solutions for this ?

    • @sid918
      @sid918 5 місяців тому

      I am getting null pointer exception when I run the individual test cases. But it is working when I use testNG.xml.

    • @ShaukatShaikh-x7c
      @ShaukatShaikh-x7c 5 днів тому

      Any solution @amod