Report 报告生成失败
我们正在尝试使用空手道/加特林进行性能测试,通常运行会成功,但结果不会产生此错误Report 报告生成失败,report,karate,Report,Karate,我们正在尝试使用空手道/加特林进行性能测试,通常运行会成功,但结果不会产生此错误 java.lang.IllegalStateException: cannot create children while terminating or terminated at akka.actor.dungeon.Children.makeChild(Children.scala:270) > > exception in thread "main" java.lang.Numb
java.lang.IllegalStateException: cannot create children while terminating or terminated
at akka.actor.dungeon.Children.makeChild(Children.scala:270)
>
>
exception in thread "main" java.lang.NumberFormatException: For input string: "profilessimulation"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
我可以在档案模拟xxx/simulation.log
文件夹中看到模拟日志。当我尝试使用/gatling.sh-ro/simulation.log
生成报告时,我得到了这个错误
java.lang.IllegalStateException: cannot create children while terminating or terminated
at akka.actor.dungeon.Children.makeChild(Children.scala:270)
>
>
exception in thread "main" java.lang.NumberFormatException: For input string: "profilessimulation"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
这是simulation.log的一部分>>
RUN ic.ecx.automation.testcases.profilesSimulation profilessimulation 1553697537449 null 2.0
USER test 1 START 1553697537633 1553697537633
USER test 2 START 1553697537893 1553697537893
USER test 3 START 1553697537994 1553697537994
USER test 4 START 1553697538095 1553697538095
USER test 5 START 1553697538204 1553697538204
USER test 6 START 1553697538304 1553697538304
USER test 7 START 1553697538403 1553697538403
USER test 8 START 1553697538503 1553697538503
USER test 9 START 1553697538603 1553697538603
USER test 10 START 1553697538703 1553697538703
REQUEST test 3 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539459 1553697541977 OK
REQUEST test 6 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539460 1553697541977 OK
REQUEST test 5 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539460 1553697541977 OK
REQUEST test 4 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539460 1553697541977 OK
REQUEST test 1 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539459 1553697541977 OK
REQUEST test 7 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539459 1553697544333 OK
REQUEST test 10 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539460 1553697546110 OK
REQUEST test 2 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539459 1553697546120 OK
REQUEST test 9 GET /ecx/v3/l2/buyer/connections?pageSize=20 1553697539460 1553697546130 OK
您知道如何从模拟日志生成报告吗?如果您能缩小此问题的范围并帮助我们复制: 只是一个猜测,但如果报告没有时间来写,我相信盖特林有一个概念,那就是在钩子之后的
:
所以也许你可以加一条线。睡在后钩子里,确保盖特林优雅地终止。如果您使用的是值,请尝试不使用值或使用Nil
如果您可以缩小此问题的范围并帮助我们复制:
只是一个猜测,但如果报告没有时间来写,我相信盖特林有一个概念,那就是在钩子之后的:
所以也许你可以加一条线。睡在后钩子里,确保盖特林优雅地终止。如果您使用的是值,请尝试不使用值或使用Nil
感谢您的回复。我们确实尝试增加睡眠,但仍然看到了这个问题。请注意,我在上一条消息中遗漏了一条信息。对于单用户运行1分钟-无错误和生成的报告良好,对于10个用户运行1分钟,有时会出错,但生成simulation.log,对于100个用户,总是失败,但生成simulation.log。这就是我试图找出是否可以从simulation.log生成报告的原因。@kCliff根本没有这样做-但听起来如果您将simulation.log作为制表符分隔的文件或等效文件导入excel,您将能够发现(并可能修复)如果这是一个已知的gatling问题,那么哪些行具有非预期的非数字数据等可能值得探讨。想知道你是否能在更丰满的机器上获得更好的效果。我来试试这个-丰满的机器:)谢谢你的回复。我们确实尝试增加睡眠,但仍然看到了这个问题。请注意,我在上一条消息中遗漏了一条信息。对于单用户运行1分钟-无错误和生成的报告良好,对于10个用户运行1分钟,有时会出错,但生成simulation.log,对于100个用户,总是失败,但生成simulation.log。这就是我试图找出是否可以从simulation.log生成报告的原因。@kCliff根本没有这样做-但听起来如果您将simulation.log作为制表符分隔的文件或等效文件导入excel,您将能够发现(并可能修复)如果这是一个已知的gatling问题,那么哪些行具有非预期的非数字数据等可能值得探讨。想知道你是否能在更丰满的机器上获得更好的效果。我来试试这个-丰满的机器:)