Have a collection with multiple requests and tests.
But I had to add a new folder with some tests that requires to be initiated with a different environment that the other tests in the same collection uses.
Is there any way to call the other environment to be applied only for the folder/tests or do I have to split this up in itβs own collection?
I have a set of tests which are in one huge collection, separated in different folders. The tests in this collection are initiated on one specifig environment, letβs call it env1.
But now I have to add some other tests to this collection, but these tests wonβt run on env1 due to our test environment setup so I need to run them on a different environment, letβs call this env2.
So is there any possibilities to actually point the new tests and say that they should run on pm.environment.name === env2 instead of env1 or do I have to actually create an own collection and initiate them as usual with newman run -e