I recently updated my pytest plugin based on httpdbg to include the HTTP traces directly in the Allure reports. As with httpdbg, the idea is to have nothing more to do than to add an argument to your command line: --httpdbg-allure.
For example:
pytest examples/pytest_demo.py --alluredir=./allure-results --httpdbg-allure
For each test, all HTTP requests will be recorded and saved in the Allure report under a step named httpdbg.
You can check the README in the repository to see how it looks: https://github.com/cle-b/pytest-httpdbg?tab=readme-ov-file#c... (the compact mode is quite simple, but the full mode is identical to the httpdbg UI).
I hope this will be helpful for some of you :) Any feedback is welcome.
If you enjoy using httpdbg, don’t hesitate to check out the Git repository to discover new features — and give it a star to help make it more visible.
httpdbg: https://github.com/cle-b/httpdbg -- https://pypi.org/project/httpdbg/
pytest-httpdbg: https://github.com/cle-b/pytest-httpdbg -- https://pypi.org/project/pytest-httpdbg/
documentation: https://httpdbg.readthedocs.io/en/latest/test/
a blog post: https://medium.com/@cle-b/python-rest-api-tests-enhance-your...