It should be fairly easy to enhance the code to calculate an
additional delay per request.

Would that solve your problem?

S.
On 07/11/06, Christensen, Alan <[EMAIL PROTECTED]> wrote:
Hi Sebb-

I was afraid that that the "characters per second" mechanism for
simulating slow bandwidth links was the only thing available.  Although
this mechanism does probably work by inserting delays, it really doesn't
properly simulate network latency.  The actual delay in response time
that would be incurred for a transaction using the cps mechanism would
be directly proportional to filesize and nothing else.  The proper delay
incurred for network latency effects would be dependent upon the actual
number of serialized request/reply or acknowledgement cycles that
occurred during a particular transaction. For example, a user in
Australia with 400ms of round trip network latency to a server in Texas
would incur at least one 400ms latency penalty in downloading a page.
This latency penalty would be independent of the users "last mile"
bandwidth.  A user in Texas with 30ms of network latency would incur at
least one 30ms latency.  The number of latencies that worldwide users
would incur would be the same for a particular transaction, but the
number might be different for different transactions.  I don't want to
analyze each transaction to see how many latencies are incurred for each
one, so I wanted to simulate this effect in jmeter.  Unfortunately it
sounds like there isn't a built in mechanism to do so.

Thanks,

Alan



-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 6:32 AM
To: JMeter Users List
Subject: Re: Simulating network latency in Jmeter?

If you use the HTTPClient HTTP Sampler, you can set up the connection to
behave like a slow modem - see the comments in jmeter.properties.

S.
On 07/11/06, Michal Kaczmarzyk <[EMAIL PROTECTED]> wrote:
>
> Try to use Uniform Random Timer in your test plan.
>
> -----Original Message-----
> From: Christensen, Alan [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 03, 2006 11:34 PM
> To: JMeter Users List
> Subject: Simulating network latency in Jmeter?
>
>
> Is there a mechanism that simulates network latency in Jmeter?  I want

> to be able to measure the response times that will be experienced by
> users who are a long ways from the website.
>
>
> --
> Empowering business
> http://webinars.comarch.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to