From 629a4c67e1d8d5afc7734da2c10fd1231efe8bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Prud=27homme?= Date: Fri, 7 Jul 2017 09:40:31 +0200 Subject: [PATCH] Take into account non HTTP samples --- apps/jmeter/mode/scenario.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/jmeter/mode/scenario.pm b/apps/jmeter/mode/scenario.pm index 9ead71843..43994eb8c 100644 --- a/apps/jmeter/mode/scenario.pm +++ b/apps/jmeter/mode/scenario.pm @@ -103,7 +103,7 @@ sub run { my $p = XML::Parser->new(NoLWP => 1); my $xp = XML::XPath->new(parser => $p, xml => $stdout); - my $listHttpSampleNode = $xp->findnodes('/testResults/httpSample'); + my $listHttpSampleNode = $xp->findnodes('/testResults/httpSample|/testResults/sample'); my $timing0 = 0; my $timing1 = 0;