迁移到新版本之后,后执行脚本无效了,请问现在要怎么写????
if (response?.raw?.status == 200) {
console.log('cookies: ', apt.response.cookies);
console.log('cookies["csrfToken"]: ', response.cookies["csrfToken"]);
apt.globals.set("csrf-token", response.cookies["csrfToken"]);
apt.environment.set("csrf-token", response.cookies["csrfToken"]);
} else {
console.log('Something Error')
}
8版本脚本完全兼容postman语法