TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    Karate

    Karate API Automation Reports

    Overview

    In this tutorial, we will understand API Automation Reports created using the API automation tool Karate. By default, the tool generates test reports in various formats for better understanding of the test results.

    Automation Reports

    The automation results are created under the target\karate-reports directory:.

    <Project_Root>\target\karate-reports

    Test Report Path

    For Example:

    On Windows operating system, If the project root is pointed to say -> C:\TestingDocs

    and the project name is TestingDocsKarateDemo

    The sample path to the reports would be:

    C:\TestingDocs\TestingDocsKarateDemo\target\karate-reports

     

    The main report file is the karate-summary.html . This has summary of the automation test run and links to the individual scenario automation results. We can click on the feature file links to drill down the automation results.

    Understanding the Report

    Passed Step

    The passed step is denoted with green background color. As we can see that, all the steps in the Scenario were successful.

    Karate Results Page

    Failed Step

    The failed step is denoted with light red background color. We can click and expand the row to check the details of the step.

     

    Karate Failed Test Report

    We can see that the Test failed and the other is in Pending. Click on the failure step to know more debug information.

    Failed Step Debug Karate

    In this case the server actively refused to connection for the API request from the automation. This is the client side debug information. More can be debugged on the server side as well. Request Timestamp, User-Agent details, API Endpoint are the clues to debug the call on the server-side.

    Pending Step

    Pending steps are denoted with light yellow background color in the report. These steps are not executed as result of a failed step.

    —

    Karate Automation Tutorials

    Karate tool tutorials on this website can be found at:

    https://www.testingdocs.com/karate-automation-tool-tutorials/

    More information on the tool:

    https://github.com/intuit/karate

    Related Posts

    Multiple Threads Karate Automation

    Karate /

    Parallel Test Execution using Karate DSL

    Get API Request

    Karate /

    Test GET API Request with Karate DSL

    New Feature File Karate

    Karate /

    Create Karate API Test Script( Feature File )

    Karate /

    CRUD Operations API Test Automation with Karate

    Data Driven Testing Karate

    Karate /

    Data Driven Testing using Karate Automation Tool

    ‹ REST API Automation with Karate Tool› Run Karate Test with JUnit5

    Recent Posts

    • ChatGPT Plans Free and PlusChatGPT Subscription Plans
    • Stellar Converter for Database ToolStellar Converter for Database
    • Stellar MySQL Log AnalyzerStellar Log Analyzer for MySQL
    • Stellar Repair for MySQLStellar Repair for MySQL
    • ChatGPT IntroductionChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI FeaturesChatGPT4 Conversational AI Features
    • Trends in Software EngineeringShaping the Future of Development: Exploring Key Trends in Software Engineering
    • Java PerformanceImproving Java Performance with Multithreading
    • QDrant Vector DatabaseOpen-source Vector Databases
    • Difference between PHP and JavaScript?
    • Bing AI Browser Web ContentBing Conversation Styles
    • ChatGPT PreviewChatGPT Introduction
    • Open Source AI Frameworks TensorFlowOpen Source AI Frameworks
    • Artificial Intelligence Tools

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com