Azure Devops Extension- PublishHTMLReport in Azure pipelines not producing HTML tab in azure devops

0 votes

I am having an issue with this extension (Azure DevOps Extension- PublishHTMLReport) somehow HTML tab is not appearing in the Azure DevOps. The below config of this plugin: htmltype: Jmeter JmeterReportsPath: D:\a\r1\a\HTMLReports

Prior to the above task, I am using the CMD task as below: echo 'JMeter' jmeter -n -t _JmeterTest\JmeterWebApp.jmx -l _JmeterTest\Summary.jtl -e -o HTMLReports

In the log, it is generating HTML content but not publishing HTML reports using Publish HTML Report extension.

Dec 13, 2022 in DevOps on Cloud by Edureka
• 13,620 points

1 answer to this question.

0 votes

It seems like you're facing an issue with the Azure DevOps extension "PublishHTMLReport" not displaying the HTML tab after running your JMeter tests. Here are some steps you can take to troubleshoot and potentially resolve this issue:

  1. Check Configuration:

    • Verify that the configuration settings for the "PublishHTMLReport" task are correct. Ensure that the htmltype parameter is set appropriately for your HTML report type (e.g., "Jmeter" in your case).
    • Double-check the path specified in the JmeterReportsPath parameter to ensure it matches the location where your HTML reports are generated.
  2. Debug Output:

    • Check the logs and output of the "PublishHTMLReport" task to see if there are any error messages or warnings that might indicate what's going wrong.
    • Look for any permission issues or file path discrepancies that could be preventing the task from accessing or publishing the HTML reports.
  3. Verify HTML Reports Exist:

    • Ensure that the HTML reports generated by your JMeter tests are actually being created at the specified location (D:\a\r1\a\HTMLReports). You can manually navigate to this directory on the agent machine to confirm.
    • If the HTML reports are not being generated, review your JMeter test execution script (jmeter -n -t _JmeterTest\JmeterWebApp.jmx) to ensure it's producing the expected output.
  4. Pipeline Sequence:

    • Check the sequence of tasks in your Azure DevOps pipeline to ensure that the "PublishHTMLReport" task is configured to run after the JMeter tests have been executed and the HTML reports have been generated.
    • If necessary, add dependencies or reorder tasks to ensure the correct sequence of execution.
  5. Extension Version Compatibility:

    • Verify that you are using the latest version of the "PublishHTMLReport" extension and that it is compatible with the version of Azure DevOps you are using.
    • Consider updating the extension to the latest version if you are not already using it.
  6. Community Support:

    • Reach out to the Azure DevOps community forums or the support channels for the "PublishHTMLReport" extension for assistance.
    • Other users may have encountered similar issues and can provide guidance or troubleshooting tips based on their experiences.

By following these steps and carefully reviewing your configuration and execution logs, you should be able to diagnose and resolve the issue with publishing HTML reports in Azure DevOps.

answered Apr 29 by anonymous
• 1,380 points

Related Questions In DevOps on Cloud

0 votes
1 answer

How can we publish html test reports in azure devops build results?

This might help you. Have a look ...READ MORE

answered Oct 12, 2020 in DevOps on Cloud by Kriti

edited Oct 27, 2021 by Sarfaraz 8,458 views
0 votes
1 answer
0 votes
1 answer

What is the correct way to setup Azure Artifacts in Azure DevOps?

Refer: this will show you how to create ...READ MORE

answered Apr 5, 2022 in DevOps on Cloud by narikkadan
• 63,700 points
0 votes
0 answers

How to delete unwanted artifacts in Azure DevOps

Numerous NuGet packages are created by our ...READ MORE

Dec 13, 2022 in DevOps on Cloud by Edureka
• 13,620 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP