jdylanmc
jdylanmc

Reputation: 859

Azure Devops + JMeter - Always generate html report?

I have an JMeter script which:

I have specified a custom user.properties file which has this line within it:

jmeter.reportgenerator.exporter.html.property.output_dir=report

I am attempting to schedule this to run nightly with Azure DevOps JMeter task (https://go.microsoft.com/fwlink/?LinkId=784929).

My question is: How can I force the user.properties file to always generate an HTML report of the outcome? I want to store this as a build artifact and schedule this to run nightly. As of right now, it appears that the Azure Build job does not allow me to pass command line parameters to JMeter nor does it allow me to specify that I want an HTML report generated. Is there another way to force the HTML report to generate?

Upvotes: 1

Views: 757

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34536

Using VSTS, it is not possible and anyway it will be discontinued by Microsoft.

I would suggest using Maven and jmeter-maven-plugin.

The goal will be:

mvn clean verify

Upvotes: 0

Related Questions