ojlm / pea

分布式压测引擎. A distributed stress tool based on gatling
https://asura-pro.github.io/indigo-docs/#/zh-cn/pea/
45 stars 30 forks source link

查看报告的时候报错了,文件存在的,是什么原因呢? #12

Open qianyue725 opened 4 years ago

qianyue725 commented 4 years ago

{"code":"90000","msg":"Blocking access to this file: /opt/pea/pea/target/universal/pea/logs/centos-test-20200225142732080/index.html"}

zengruitester commented 4 years ago

权限设置没有问题吗

zengruitester commented 4 years ago

检查你配置文件pea.results.folder 是否正确 是否指向你指定的读取目录

qianyue725 commented 4 years ago

不是权限问题,应该是读取路径的问题,application.properties里面配置是相对路径,改成绝对路径就正常了。