Open performance-engineer opened 4 years ago
You just need to convert your Groovy "array" notation to Kotlin list:
jmeter {
jmTestFiles = listOf(file("src/test/jmeter/test2.jmx")) //if jmx file is not in the default location
jmSystemPropertiesFiles= listOf(file("src/test/jmeter/jmeter.properties")) //to add additional system properties
enableExtendedReports = true //produce Graphical and CSV reports
}
How to pass this configuration in kotlin file ? I am getting an error if I pass it in this way.
Error