问题
I have a karate test-suite that fail for GC overhead when generating the HTML report on a system with limited resources.
The report is not required, so I would like to disable the generation, but so far I didn't find how to do it.
Any advice?
回答1:
i see your pain mate. Have you gone far about this topic? i have tried everything mentioned on the issues and i think it's about a bug in karate framework which mentioned here https://github.com/intuit/karate/issues/1199
Btw, this error occurs when the tests are too much(couldn't specified the exact number). For example i have a test package with 203 scenarios , that one works fine but the other package has 376 scenarios and that one is getting this error.
I closed all the logs and minimized the dependencies in pom.xml and monitored the memory usage of the tests. Cpu usage around 350% while running just 1 scenario
来源:https://stackoverflow.com/questions/57205453/disable-html-karate-test-reporting