检查下你得收件人地址格式是否正确,有没有多空格或者其他
在 jmeter 脚本中加入响应断言试试呢
我的报告打开也是空白,日志是这样的,有碰到类似情况的同学吗?麻烦分享下,感谢
[jmeter-test] $ /var/lib/jenkins/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allure/bin/allure generate -o /var/lib/jenkins/workspace/Jmeter/jmeter-test/allure-report
allure-results does not exists
send analytics
Report successfully generated to /var/lib/jenkins/workspace/Jmeter/jmeter-test/allure-report
Allure report was successfully generated.
Creating artifact for the build.
Artifact was added to the build.
查了好多资料,最后在官网上找到解决方法。
查看官网:
-J, --jmeterproperty =
Define additional JMeter properties
-G, --globalproperty =
Define Global properties (sent to servers)
变量定义方式错误导致,修改 --jmeterproperty 为 --globalproperty 即可。
研究了下,和 Jenkins 好像没关系;
同样的脚本命令行执行,只要加了-R 远程服务器,--jmeterproperty 就无法传递变量了。
能说的详细点吗?谢谢