How do we do this…
No documentation, not clear through the UI.
Have I mis-understood this? I am now able to write tests/pre-request scripts code that can be used for every request in a collection?
This means I can get rid of the eval() method.
EDIT:
Ok, I’ve found it now…
You have to first click ‘Authorization’ tab and then click the name of the collection that is referenced as a link.
And here you can add tests/pre-request code that is ran in ALL requests in a collection folder.