microsoft / azure-load-testing

MIT License
22 stars 3 forks source link

HTML report not generated #64

Open acostmig opened 2 years ago

acostmig commented 2 years ago

Describe the bug After running tests, either through the portal or the pipeline. upon downloading the results, only the testreport.csv file is present in the Zip.

To Reproduce Steps to reproduce the behavior:

  1. Make sure Azure Load Testing resource exists
  2. Navigate to the Azure Load Testing resource
  3. Click on Tests
  4. Click on Create Tests
  5. Click on Test Plan
  6. Upload the below JMX (simple jmx for google.com)
  7. Click on Review+Create
  8. Click on Create

Expected behavior Once the automatically started test tun finishes, and user downloads the Results, the HTML report should be included

`<?xml version="1.0" encoding="UTF-8"?>

false true false continue false 1 1 1 false true google.com GET true false true false false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true

`

AB#1496594

ninallam commented 2 years ago

@acostmig We have temporarily disabled the JMeter JTL dashboard. We will let you know once this is available again.

simondiesenreiter commented 1 year ago

Are there any plans to enable the feature again? @ninallam

thanga91 commented 1 year ago

any tentative date to enable the JMeter JTL dashboard ?

EricHunsberger commented 1 year ago

Any updates as to when the JMeter JTL dashboard will be re-enabled?

daniel-woodhead commented 1 year ago

In case it's useful here's how we're generating the dashboard in our ADO pipelines

- task: AzureLoadTest@1
  // omitted...

- script: 7z x results.zip
  displayName: Unzip results
  condition: succeededOrFailed()
  workingDirectory: $(System.DefaultWorkingDirectory)/loadTest

- script: docker run --name jmeter -i -v $(pwd):/test -w /test justb4/jmeter:latest -g ./*.csv -o ./dashboard
  displayName: Create HTML report
  condition: succeededOrFailed()
  workingDirectory: $(System.DefaultWorkingDirectory)/loadTest

- task: publishhtmlreport@1
  displayName: Publish HTML report
  condition: succeededOrFailed()
  inputs:
    htmlType: 'Jmeter'
    JmeterReportsPath: $(System.DefaultWorkingDirectory)/loadTest/dashboard