postman获取时间戳


//获取时间戳
var times = Date.now().toString()
//通过 var 定义变量,只有脚本可以使用

// 设置一个 postman中可以使用的变量
pm.collectionVariables.set("username", times);


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM