Forum Discussion

sdeevers's avatar
sdeevers
Contributor
5 years ago

ReadyAPI header exists assertion failures

Hey all, Noticed something a little strange with the ReadyAPI "Header Exists" assertion. Having a specific header checked to exist seems to be giving me mixed results between test run.   We have ...
  • sdeevers's avatar
    sdeevers
    5 years ago

    The issue with the header exists was on our side as when a specific query parameter was used in the request, the header information was not returned. The assertion helped us be able to narrow down the exact query parameter in the request which was failing he assertion. Once the updated code was in place, the header exists assertion was successful.
    Just another example of how useful the header exists assertion can be in finding an internal issue.