Unable to import junit test results into SonarQube

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - Version 5.6.6
  • what are you trying to achieve
    I am trying to import SOAPUI reports into SonarQube. SOAPUI generated junit style xml results file. My codebase is c#/js
  • what have you tried so far to achieve this
    I have tried using sonar.junit.reportPaths but the reports are never imported. It looks like this only works if its java projects.

How can I import junit test results into sonarqube?


Welcome to the community!

5.6.6 is 2 LTSs ago. You’re going to have a very hard time finding support for it. You need to upgrade to a current version - 7.9.2 LTS or 8.1 - at your earliest convenience. Note that you’ll have to go through 6.7.7 on your way there.


Thanks Ann! I don’t think this is just related to the version we have. Based on the documentation, it looks like Junit reports can only be importer if the source is java. If that is the case how do we import junit reports when source is not java?