Reputation: 313
I want to add request and response in cucumber report. If i use print statement, it prints in console, not in the cucumber html report. How can i add this in the report?
Upvotes: 1
Views: 1387
Reputation: 511
Perhaps a bit too late but for the benefit of others who may refer to this
* configure report = { showLog: true, showAllSteps: false }
Include this in the feature file and this should do what you want
Upvotes: 2
Reputation: 4239
To print request and response details in your report, you can set the logger level to DEBUG
in logback-test.xml
<logger name="com.intuit" level="DEBUG" />
Upvotes: 2