On 30/11/2009, zengqingyi12 <[email protected]> wrote:
>
>  I use JMeter to test my web application. and my test case is to add a record
>  in database. and then I set the "number of thread user" to 20, it means that
>  it will simulate 20 users work at the same time. and then I run the test
>  case. But finally i found the system didn't create 20 records in database,
>  but instead just create 13 records in database.
>
>  I want to know why this happened ?

Impossible to say without further information.

> Is it possible that because in my web
>  application i didn't add a "synchronized" in front of the add records method
>  ? I used linq, If two user post a request to create a record to server at
>  the same time, what will happen? Just create a record or can successfully
>  create two records, or unknown ?

Did you check whether the JMeter request was successful?
I.e. did the response page say something like "Record added OK" or did
some responses show an error message?

Note that an HTTP response of 200 - OK does not necessarily mean that
the request was successful from the point of view of the application,
it just means that the server responded to the request.

> --
>  View this message in context: 
> http://old.nabble.com/Why-didn%E2%80%99t-see-10-records-in-database---tp26568620p26568620.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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to