Skip to content

postman.collection.prerequest

Add a pre-request script at the Postman collection level. This runs before every request in the collection.

Alias: collection.postman.prerequest

Usage

properties
postman.collection.prerequest=groovy:logger.info("Collection pre-request")

Released under the Apache-2.0 License.