diff --git a/pom.xml b/pom.xml index 8429492..3d49e5d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 io.github.adrianmo jmeter.backendlistener.azure - 0.2.2 + 0.2.3 jar ${project.artifactId} A JMeter plug-in that enables you to send test results to Azure Monitor. diff --git a/src/main/java/io/github/adrianmo/jmeter/backendlistener/azure/AzureBackendClient.java b/src/main/java/io/github/adrianmo/jmeter/backendlistener/azure/AzureBackendClient.java index 44bc038..a933a46 100644 --- a/src/main/java/io/github/adrianmo/jmeter/backendlistener/azure/AzureBackendClient.java +++ b/src/main/java/io/github/adrianmo/jmeter/backendlistener/azure/AzureBackendClient.java @@ -143,6 +143,7 @@ private void trackRequest(String name, SampleResult sr) { Date timestamp = new Date(sr.getTimeStamp()); Duration duration = new Duration(sr.getTime()); RequestTelemetry req = new RequestTelemetry(name, timestamp, duration, sr.getResponseCode(), sr.getErrorCount() == 0); + req.getContext().getOperation().setName(name); if (sr.getURL() != null) { req.setUrl(sr.getURL());