jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: Measure throughput over time
Date Fri, 06 Jul 2012 15:59:17 GMT
On 4 July 2012 17:52, Havard Blok <> 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.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message