Hi
Assuming your test script is correct (i.e. you have extracted any dynamic
parameters and you can see all your content correctly in view Results Tree)
then a difference between a JMeter test v/s a user is "think time" - The
amount of time a user spends reading the page / typing stuff before actually
clicking the next link. (so active users i.e. ones who have a session on
your site is always far > users who are actually doing something on your
site concurrently). By default JMeter has 0 think time. If you need JMeter
to simulate this behavior then you must use one of the timers available.
http://jakarta.apache.org/jmeter/usermanual/component_reference.html

Again , if your script is wrong then you need to fix that first (for e.g.
make sure your requests dont have any session ids , make sure you dont have
any dynamic parameters)

regards
deepak


On Tue, Aug 31, 2010 at 9:36 AM, mjwillis <[email protected]> wrote:

>
> Hello Everyone,
> I am a new JMeter user and am having difficulty setting up my tests to
> accurately simulate users.  I ran a test with 50 simulated users and it
> completely hammers the server (which didnt seem right to me).  So then I
> tried with one simulated user and it appears to hammering the cache at an
> unrealistic rate.  Almost as if the single simulated user is looping
> through
> the test at an incredible rate that a normal user couldnt do.  Its worth
> noting that the test is being run behind a few XServes as the actual test
> would be 1000 simulated users (once I figure this out).
>
> You must log into the site using username/password combination.  After
> logging in, your session is stored in a cookie.  I used the cookie manager
> for that piece and recorded my test using JMeters proxy feature.  I didnt
> do
> anything fancy when recording the test, just clicking on different pages
> and
> waiting for them to load.  With that said, here is how I have the test
> setup:
>
> -Thread (with the # of simulated users set inside it)
> --Cookie Manager
> --Recorded test plan
> -Listener 1
> -Listener 2
> -Listener 3
>
> Is there a key controller or component I am missing?  Or is this really
> what
> 1 user will do to the website?  Once I figure out how to properly test with
> one user I will try to scale this number up to the 1000 that is needed.
>
> Thanks for any help you can give!
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Simulated-users-tp2798333p2798333.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to