[tests-only][full-ci] refactored the test so that it logs the response every time it fails
b7dc410e93