thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

Provide "Disable inherit" for headers and tests for requests contained in Collections

Open shawnpyle opened this issue 2 years ago • 1 comments

Please describe feature/problem details and the solution you'd like. Auth settings on a request within a collection can Disable inherit. I would love to see the same functionality for headers and tests.

image

It is often the case that we create default headers & tests on collections but want to override them in the collection. An example is that we often create JSON APIs but will have CSV requests interspersed. We'd like to have the collection have a set of JSON-related tests. However, they aren't able to be overridden when CSV responses are received.

image

Describe alternatives you've considered

  1. Put requests in a separate collection but other desired inherited features are not available.

Are you using the free version/paid version/trial: Paid!

Thanks for considering.

shawnpyle avatar Nov 30 '23 14:11 shawnpyle

Thanks @shawnpyle for the feedback, Will review it.

Alternative Solution: You can use script based Tests with conditional logic.

rangav avatar Dec 05 '23 14:12 rangav