Allure 报告返回“192.168.0.18 未发送任何数据。”

问题描述 投票:0回答:2

在本地运行 allure 报告后,我在 chrome 上看到此页面。

"192.168.0.18 didn’t send any data."

我尝试查看本地文件夹,它包含数据。当我从 allure 报告文件夹中启动 index.html 时,我会得到标准的 allure 图像,其中每个部分都显示“正在加载”。

有没有人遇到类似的事情可以帮忙?

selenium rest-assured allure
2个回答
0
投票

查看诱惑物品放置的目录,通常是

target/allure-results
,所以试试这个:
allure serve target/allure-results

或者尝试生成报告然后提供服务:

  • allure generate target/allure-results
  • allure serve target/allure-results

0
投票

尝试使用其他端口:

allure serve -h localhost -p 8081 /your/folder/with/json/files

报告将在http://localhost:8081/index.html打开

© www.soinside.com 2019 - 2024. All rights reserved.