1

I'm using Jenkins + Maven + JMeter (3.1) + Report Dashboard + Performance Plugin (2.0). Linux, non-GUI mode. I need to get two files after performing one test - in xls and csv formats. The solution that I found and now use is getting xls results via Maven and getting the csv file through the Simple Data Writer. In 'Simple Data Writer', the folder and destination file are hard-coded. Such a decision seems to me very rude. Is there a beautiful solution to this problem through Maven?

Ardesco
  • 7,281
  • 26
  • 49

1 Answers1

1

I don't see any path hard-coded in the Simple Data Writer, maybe this is you, who are putting an immutable value there?

If you need a configurable way of setting Simple Data Writer output path you can use __P() function like ${__P(path,)} in its "Filename" input:

Simple Data Writer JMeter Property

This path variable in its turn can be passed via propertiesSystem or propertiesUser sections of your pom.xml file. Again, the values don't have to be hard-coded, you can use a Maven Property as a value and set this via -D command-line argument.

References:

Dmitri T
  • 159,985
  • 5
  • 83
  • 133