Re: [Http-webtest-general] Re: Benchmarks
Brought to you by:
m_ilya,
richardanderson
From: Dr. T. Y. <tya...@ya...> - 2002-10-23 22:24:00
|
Ilya, Thanks for responding. I did follow your advice and hacked the DefaultReport to printout the information I need. Thanks again. Tolga. --- Ilya Martynov <il...@ma...> wrote: > >>>>> On Sat, 12 Oct 2002 13:14:13 -0700 (PDT), "Dr. > Tolga Yalcinkaya" <tya...@ya...> said: > > TY> First of all great work! Many thanks for to > Ilya and > TY> Richard (and other who have contributed) for > putting > TY> together a geat peice testing code. > > Thanks for you kind words. > > TY> I have a very simple question/request: > > TY> If there an easy way to generate a report that > has > TY> following information: > > TY> 1. The time it took to perform each test case. > TY> 2. Total time it took to perform the whole test > suite. > TY> 3. Final count on successful/failed test cases > > TY> Now this particularly important for monitoring a > TY> production web site and determining problem > areas. > > TY> Thanks in advance for your response. > > HTTP::WebTest does collect this kind of statistics > (in 1.99xx beta > versions). Though it is not published in default > report. You can read > it via HTTP::WebTest API: > > use HTTP::WebTest; > > my $wt = new HTTP::WebTest; > > $wt->run_wtscript('test.wt'); > > my $i = 1; > my $total = 0; > for my $test (@{$self->webtest->tests}) { > my $response_time = $test->response_time; > $total += $response_time; > > print "Test #$i: response time = > $response_time\n"; > > $i ++; > } > > print "Total: response time = $total\n"; > > You can take default report plugin and hack it to > output this > information too. > > -- > Ilya Martynov, il...@ip... > CTO IPonWEB (UK) Ltd > Quality Perl Programming and Unix Support > UK managed @ offshore prices - > http://www.iponweb.net > Personal website - http://martynov.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay > you up to > $1,000 for every account that you consolidate with > us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Http-webtest-general mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/http-webtest-general __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ |