How to add HTML report and logs to the Cucumber test automation framework (6/7)

Photo by Daniel Cheung — Unsplash

Add log4j2 and ExtentReports dependencies

Add log4j2 configuration files

Add log messages to the code

Implement TestReport

Add additional methods to the listener

Add report initialization

Add request/response logging to the RestAssured

Execute the tests

--

--

--

Test automation engineer, writer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

I Made My First Big Purchase of 2019 Last Night And It Wasn’t In Sneakers

Supporting Python with Feedzai OpenML Engine

Turning HTTPD into Idempotent via Ansible

Writing a Custom Concourse Resource — The in

Angular and Firebase hosting — Creating and deploying your app with a custom domain.

There and Back Again: A Tale of X-Men, Template Literals, & Learning By “Roundabouting”

Android Civil War : Activity v/s Fragment

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Artur Mishustin

Artur Mishustin

Test automation engineer, writer

More from Medium

Using the Cloud to do your Testing

Live Cross Browser Testing and Debugging On Safari Browser

First test in Postman

Understanding upcoming trends in test automation