postman运行collection上传文件脚本 console报错 Form param `file`, file load error: PPERM: insecure file access outside working directory解决办法
postman运行collection上传文件脚本 console报错 Form param `file`, file load error: PPERM: insecure file access outside working directory
是因为没有打开上传的文件的所在目录
解决办法有两种:
1)Ctrl+逗号打开setting弹窗,在files路径下存放你所要的测试数据
2)Ctrl+逗号打开setting弹窗,开启允许读取工作目录外的文件按钮