I use the scanner to import test reports and coverage reports. When i have surefire reports and jacoco reports that’s fine and i see my data in sonaqube IHM.
But I run some tests thanks to JMeter and I would like to generate generic test execution reports related to these JMeter tests. The goal is to see these tests status and durations in Sonarqube UI.
The generic test execution reports is quite simple so I should be able to generate a report for each JMeter test file.
But I wonder what does test file names mean in the context of generic test execution reports ?
The JMeter files are my tests sources files but they are not JUnit tests files and they are not located in a folder listed in the sonar.tests properties.
Is the test file name something like a free field that can contain any value or is there constraints on it ?
Thanks for any help,
I looked to these questions but did not find my answer:
It is required that the file element is a file that is indexed by some combo of sonar.tests and sonar.test.inclusions.
I’m not particularly familiar with JMeter files, but at a glance it looks like they’re XML files. .jmx may need to be added to the XML file suffixes configuration.
I guess that i have to define the whole list plus jmx. But what is the default value for java ?
(I looked in the project settings->backgroun tasks but did not find the information.)