Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix xml

SVN Revision: 659
  • Loading branch information...
commit da56d5eab2793d7b4404a1d8d60f97b43890b890 1 parent 239c0c5
Nicolas Niclausse nniclausse authored

Showing 1 changed file with 6 additions and 4 deletions. Show diff stats Hide diff stats

  1. +6 4 src/log2tsung.pl.in
10 src/log2tsung.pl.in
@@ -173,13 +173,15 @@ print '<tsung loglevel="notice" dumptraffic="false" version="1.0">
173 173 <ip value="192.168.0.2"></ip>
174 174 </client>
175 175 </clients>
176   -
177   -<server host="myservername" port="80" type="tcp"></server>
  176 +<servers>
  177 + <server host="myservername" port="80" type="tcp"></server>
  178 +</servers>
178 179
179 180 <arrivalphase phase="1" duration="10" unit="minute">
180 181 <users interarrival="0.1" unit="second"></users>
181 182 </arrivalphase>
182 183
  184 +<sessions>
183 185 ';
184 186 my $real_visit = 0;
185 187 foreach my $key (keys %$visite) {
@@ -214,7 +216,7 @@ foreach my $key (sort {$visite->{$a}->{'id'} cmp $visite->{$b}->{'id'}} keys %$v
214 216 print "$tsung</session>\n";
215 217 }
216 218 }
217   -print '</tsung>';
  219 +print '</sessions></tsung>';
218 220 if ($verbose) {
219 221 select STDERR;
220 222 print "real_visit = $real_visit\n";
@@ -257,7 +259,7 @@ print "this script is part of tsung version $tagvsn
257 259
258 260 Written by Nicolas Niclausse
259 261
260   -Copyright (C) 2004 Nicolas Niclausse
  262 +Copyright (C) 2004-2006 Nicolas Niclausse
261 263
262 264 This program is free software; you can redistribute it and/or
263 265 modify it under the terms of the GNU General Public License

0 comments on commit da56d5e

Please sign in to comment.
Something went wrong with that request. Please try again.