[GH-ISSUE #2852] [feature]: Ability to test response headers' presence and value #916

Closed
opened 2026-03-16 17:41:15 +03:00 by kerem · 0 comments
Owner

Originally created by @BirnadinErick on GitHub (Nov 11, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2852

Is there an existing issue for this?

  • I have searched the existing issues

Summary

I had to test headers from an API and responded values against a pre-deterministic value set. I searched the doc and found toHaveProperty, but unfortunately the docs aren't up-to-date adn this particular function is not yet implemented, as for my knowledge. This has been discussed in this #2242. So, I dove deep and implemented this feature in my fork. I think it would be helpful for others and want to merge this change, if possible.

Why should this be worked on?

IDK, but testing headers returned may edge-case, but I end up doing it in many of my projects. So, I think a shortcut to do this very quickly is a nice to have feature.

Originally created by @BirnadinErick on GitHub (Nov 11, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2852 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary I had to test headers from an API and responded values against a pre-deterministic value set. I searched the doc and found `toHaveProperty`, but unfortunately the docs aren't up-to-date adn this particular function is not yet implemented, as for my knowledge. This has been discussed in this #2242. So, I dove deep and implemented this feature in my fork. I think it would be helpful for others and want to merge this change, if possible. ### Why should this be worked on? IDK, but testing headers returned may edge-case, but I end up doing it in many of my projects. So, I think a shortcut to do this very quickly is a nice to have feature.
kerem 2026-03-16 17:41:15 +03:00
  • closed this issue
  • added the
    feature
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#916
No description provided.