SoerenHenning / RadarGun

RadarGun is a Java framework for automated performance tests - just like jUnit for unit tests.
Apache License 2.0
2 stars 0 forks source link

Getting exception when csv output directory does not exist #2

Closed SoerenHenning closed 7 years ago

SoerenHenning commented 7 years ago

Instead of getting such an exception, the directory such be created instead.

Exception in thread "main" radargun.lib.teetime.framework.ExecutionException: 3003 - {Thread[Thread for BenchmarkRunnerStage-0,5,]=[java.lang.IllegalStateException: java.nio.file.NoSuchFileException: results\teetime.benchmark.Port2PortBenchmark.queue.csv]} error(s) occurred while execution. Check thrown exception(s).
        at radargun.lib.teetime.framework.Execution.waitForTermination(Execution.java:97)
        at radargun.lib.teetime.framework.Execution.executeBlocking(Execution.java:119)
        at radargun.Main.execute(Main.java:17)
        at radargun.Main.main(Main.java:22)