Is it possible to ignore tests on a collection and use request tests?


I have some generic tests stored against a collection folder… but would it be possible to somehow ignore those tests for a specific request?

e.g. my generic tests contain:
pm.test("Response status is 200", function() {; if (responseCode.code !== 200) return;

But I want to add tests that will return other response codes.


Hey @jon.robinson,

Welcome to the community :wave:

There was a question asked a couple of weeks ago around skipping tests if they don’t meet a certain criteria - Is this something that you’re looking for?

Hi @dannydainton… yes this is exactly what i’m after (i think). Thanks

Awesome :trophy:

Take a look through the examples and try some of the things out - If you get stuck or need some extra information, give me a shout. :slight_smile: