Minor bug: --reports-only does not honor an absolute path

I was building a script to automatically generate reports for the last test result directory. I sent gatling an absolute path to the folder. It tried to pre-pend the results directory.

While I can easily just send it a folder name, and I will, it occurs to me that the code could check to see if the passed in string is a results folder before assuming that it needs to prepend the results directory.

Actually, you have to combine 2 options if you want to do that:

  • “-rf” for setting the results folder (you probably already use this option if you changed the directory where Gatling generates the results)
  • “-ro” for setting the NAME of the folder inside results folder