Skip to content

postman.class.prerequest ​

设置 Postman 导出时类级别的预请求脚本。

用法 ​

properties
postman.class.prerequest=groovy:```
console.log("Pre-request for class: " + it.name())
```

导出到 Postman 时,此脚本将应用于该类中的所有 API 方法。

另见 ​

基于 Apache-2.0 许可发布