📜  如何在邮递员变量上创建随机枚举 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:02.588000             🧑  作者: Mango

代码示例1
a= ["Opened", "Reserved", "Paid", "Shipped", "Delivered", "Returned", "PartlyReturned", "Closed", "Canceled"]


pm.environment.set("value", _.sample(a))