How can I export test coverage and execution metrics?

Must-share information (formatted with Markdown):

  • which versions are you using: SonarQube 8.9.3 Enterprise Edition
  • what are you trying to achieve: Export test coverage and execution metrics collected by SonarQube
  • what have you tried so far to achieve this: Web APIs and Webhooks
    In addition to static code analysis, I’d like to be able to export those test coverage and execution metrics collected by SonarQube so that I can build some visualizations based on them:
    Screen Shot 2021-11-10 at 12.01.30
    So far I’ve looked at Web APIs and Webhooks, but I can’t find any ways to do that.

Hi,

Take another look at the Web APIs.

The best way to master the API is to perform the desired action (i.e. retrieve the data) via the UI and eavesdrop to see which calls the UI made to accomplish the action.

 
HTH,
Ann