[Question] How to enable request and response log in http method?
Closed this issue ยท 4 comments
4nif commented
Hi
Is it possible to enable request and response log for each http method (POST, GET, PUT, etc) in Robotframework report?
I know I can use Output
keyword, but I'll have to add this keyword on every HTTP method that I use in the test cases.
Is it possible to enable request and response by default in robotframework report?
Thanks
Atihinen commented
You could either create own testlibrary (http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#extending-robot-framework) that will extend to RESTinstance, or create keyword that will take the request keyword as an argument and then run the output after that one.