开发者社区> 问答> 正文

使用JPT测试吉拉性能时无法识别吉拉地址

使用JPT测试JIRA性能

https://github.com/atlassian/jira-performance-tests/blob/master/docs/tests/ON_PREMISE.md

将jira URI设置为:

jira-performance-tests / examples / btf-test / src / test / java / com / atlassian / performance / tools / btftest / MyJiraOnPremiseIT.java

final URI myJira = new URI("http://192.168.1.1:8080"); // Official example is http://localhost:8090/jira/
jiraOnPremiseTest.setAdminLogin("admin");
jiraOnPremiseTest.setAdminPassword("admin");

在jira-performance-tests / examples / btf-test运行下:

./mvnw verify

得到了这些错误:

at com.atlassian.performance.tools.virtualusers.api.Application.tryRunning(EntryPoint.kt:27)
    ... 29 more

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   MyJiraOnPremiseIT.testMyJira:55 ?  Failed to run with [--jira-address, http://...
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-failsafe-plugin:2.22.0:verify (default) @ btf-test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.500 s
[INFO] Finished at: 2019-12-04T06:39:56Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.0:verify (default) on project btf-test: There are test failures.
[ERROR]
[ERROR] Please refer to /home/vagrant/jira-performance-tests/examples/btf-test/target/failsafe-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

我的JIRA地址是http://192.168.1.1:8080。可以访问。为什么JPT无法识别它?此JPT存储库尚未更新超过1年。它的来源是否过时?

展开
收起
垚tutu 2019-12-04 16:29:32 809 0
0 条回答
写回答
取消 提交回答
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
移动互联网测试到质量的转变 立即下载
给ITer的技术实战进阶课-阿里CIO学院独家教材(四) 立即下载
F2etest — 多浏览器兼容性测试整体解决方案 立即下载