Skip to content

postman.collection.test

Set a test script at the collection level for Postman export.

Usage

properties
postman.collection.test=groovy:'''
console.log("Collection test script")
'''

This event is executed once for the entire Postman collection during export, allowing you to set up collection-wide test logic.

See Also

Released under the Apache-2.0 License.