Consider adding more request matchers
Closed this issue · 2 comments
Hi !!
It is possible to match request attributes? These attributes are timeout, auth, and others.
I'm trying to use this to ensure that the request has these attributes.
At the documentation has headers, methods, and content. Can we develop new feature?
Hello @Bernardoow
You can already check every request attribute thanks to the callback as it provides the request as a parameter.
New matchers could be implemented for sure. However I would like to consider them one by one to make sure they will always be relevant. Can you state every use case here (and what would be the benefit over making the assertion within a callback) and we can review them together?
Thanks
Closed as no response was received on this. If you want to assert a specific request attribute, please open and provide the type of attribute and the type of values it should allowed to be matched against.