I created a collection and added a Pre-Request script at the collection level. When I learned that this Pre-Request script was run before every request in the collection, I removed the script and saved the collection. However, that script won’t go away. It still runs even though it’s not there anymore. I wrote a different Collection level Pre-Request script and saved it. It doesn’t have any effect. The original Pre-Request script still is what executes. I tried restarting the Postman application, but that had no effect. No matter how I try to alter the Collection level Pre-Request script, the original version is what gets executed. Am I don’t something wrong, or is this a defect in Postman?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Disable collection pre-request script at request level | 0 | 781 | May 23, 2022 | |
I have a pre-request script on collection level but I don't want it to execute in one of our folder, how can I do this? | 2 | 624 | June 20, 2022 | |
Run Folder with collection pre-request script | 1 | 160 | May 23, 2024 | |
Is it possible to inherit pre-request script from parent in postman? | 0 | 1683 | August 31, 2020 | |
Running collection does not run pre-request and test scripts | 2 | 8069 | September 12, 2019 |