kulya / jmeter-gradle-plugin

Other
40 stars 27 forks source link

Added default jmeter.properties to the plugin #47

Closed foragerr closed 1 month ago

foragerr commented 9 years ago
  1. Closes #38 Added default jmeter.properties from jmeter 2.13 into plugin.
    • If user sets jmeterPropertyFile, this value is used as jmeter properties
    • If user does not set , the jmeter.properties in $projectDir/build/jmeter is used
  2. Closes #45 Set property jmeter.save.saveservice.output_format=xml in jmeterRun task, so results files are in xml format and can be transformed to HTML files for reports.
djangofan commented 9 years ago

I assume that a jmeter.properties file that you put in $srcDir/jmeter.properties will get copied into $projectDir/build/jmeter at runtime? If so, this sounds correct.

foragerr commented 9 years ago

@djangofan no, if plugin user does not set jmeterPropertyFile, then I'm defaulting to using the jmeter.properties that ships with jmeter version 2.13.

Should I expect that there is always a jmeter.properties in srcDir?

foragerr commented 9 years ago

Ok, made another change based on what you said. Which jmeter.properties to use is now determined in this order:

  1. Is jmeterPropertyFile defined in build.gradle? Then use it
  2. Otherwise, look in $srcDir/test/jmeter and use jmeter.properties from there, if it exists
  3. If neither, use default jmeter.properties - same as the one shipped with jmeter 2.13
foragerr commented 9 years ago

@kulya can you please accept this pull-req or suggest any changes you want made?