# Persistent Report

![](https://3031668975-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZhvc5eykluSdIwbEC_%2F-LdCfcsp86abRg3dVzzy%2F-LdCgOsmwbE554F8DNUK%2Fimage.png?alt=media\&token=fd257a3d-02f6-4f5e-8230-e787de0f2856)

## Purpose

* We are connecting the Extent Report to MongoDB backend to keep history of the test runs

## Installation

* We will need to install MongoDB and the Klov server&#x20;

### MongoDB

* <https://docs.mongodb.com/manual/installation/>
* Select the OS and follow the installation instructions

![](https://3031668975-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZhvc5eykluSdIwbEC_%2F-LdCbu0_aeMZpTIt2KEC%2F-LdCdhuU8_0gXUMcz8E-%2Fimage.png?alt=media\&token=f3185c76-754d-4eb8-a7fe-43966951651b)

### Klov Server

* <https://github.com/extent-framework/klov-server>
* Official documentation for Klov: <http://extentreports.com/docs/versions/4/java/klov.html>
* Navigate to runner -> utils -> klov -> downloadKlovServer.sh or downloadKlovServer.bat based on OS. This will download the klov jar file
* Navigate to runner -> utils -> klov -> runKlovServer.sh or runKlovServer.bat based on OS

![](https://3031668975-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZhvc5eykluSdIwbEC_%2F-Lj8co7erLXTc9VmXRiU%2F-Lj8dKJkpbfHa_hw3lGd%2Fimage.png?alt=media\&token=36bd3783-a76c-46dc-8882-254131324978)

* On Browser: <http://localhost> for login page
  * Username: klovadmin
  * &#x20;Password: password
* The password can be changed in the My Account settings page

## Usage

* Set report type to "klov"
* At resources -> properties -> report.property
* ```
  # report types: html (single html page) or klov (server using mongodb)
  report.reporterType = klov
  ```
* Navigate to <http://localhost> to view the report
