在本地运行诱惑报告后,我在chrome上得到了这个页面。
"192.168.0.18 didn’t send any data."
我已尝试查看本地文件夹,其中包含数据。当我从诱惑报告文件夹中启动index.html时,我会得到标准的诱惑图像,其中每个部分";加载";显示。
有人遇到过类似的事情并能提供帮助吗?
检查诱惑物品所在的目录,通常是target/allure-results
,所以试试这个:allure serve target/allure-results
或者尝试生成一份报告,然后提供:
allure generate target/allure-results
allure serve target/allure-results
尝试使用其他端口:
allure serve -h localhost -p 8081 /your/folder/with/json/files
报告将在http://localhost:8081/index.html