Take into account non HTTP samples

This commit is contained in:
Sébastien Prud'homme 2017-07-07 09:40:31 +02:00
parent 4b68ea2d4d
commit 629a4c67e1
1 changed files with 1 additions and 1 deletions

View File

@ -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;