jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Measure throughput over time
Date Fri, 06 Jul 2012 15:59:17 GMT
On 4 July 2012 17:52, Havard Blok <hrblok@google.com> wrote:
> I'm looking for ideas on what would be the best way of measuring throughput
> over time for very large data. Example: an FTP transfer of a 5 GB file. I'm
> assuming a custom implemented JavaSamplerClient, however, even so, doing
> the full transfer in a single call to runTest() would not provide valuable
> sampling. So maybe runTest() could just start the transfer (on a separate
> thread) on its first call, and then sample progress on the subsequent calls.
>
> If this is possible then, what would be the best way to monitor the
> transferred bytes over time. Is there an API to monitor the traffic on a
> socket? Maybe some kind of in-memory proxy? Monitoring the underlying
> network device? Other ideas?

Sounds like you might do better to test this externally from JMeter.

Some network APIs include hooks to monitor IO.
For example, Commons Net.

The FTP example includes the option
-# - add hash display during transfers

Have a look at how that is implemented.

http://commons.apache.org/net/examples/ftp/FTPClientExample.java

> Regards,
> Havard
>
> --
> --->Google Switzerland GmbH Identifikationsnummer: CH-020.4.028.116-1<----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message