Thank you Deepak for all your help and support. I really appreciate. Deepak Shetty wrote: > >>When I increase the users/thread to 2 or more, >>sometimes they are able to perform the complete script and sometimes only >>till step 2. >>So I would deny, that there is a bug in the server, since sometimes they > are >>able to perform the complete script. > > By the same reasoning theres nothing wrong with the test either , if it > sometimes works? > > The reasoning is flawed, applications that fail on concurrent access only > fail if things happen within a certain window and having multiple threads > does not mean every request is executed at exactly the same time. > > If your test is correct as you have stated that you have taken care of the > data , and it sometimes works even in parallel , the problem must be in > your > app. > > > > On Thu, Jun 17, 2010 at 10:15 AM, virkenator <[email protected]> wrote: > >> >> Hi Deepak, >> >> Thanks you for the reply. >> Yes I recorded the script and I am replaying it. There was user specific >> dynamic data, which I have already taken care of, that is not a problem >> at >> all. >> >> My home page does show me which user is logging in. However logging in is >> not an issue, all the users are able to log in. I am already using the >> same >> technique of asserting the text and checking. >> >> The problem is when the script runs with one user/thread, all the 4 steps >> are performed successfully. When I increase the users/thread to 2 or >> more, >> sometimes they are able to perform the complete script and sometimes only >> till step 2. I am not able to figure out yet what is going wrong. >> >> So I would deny, that there is a bug in the server, since sometimes they >> are >> able to perform the complete script. >> >> Do you think, it has something to do with ramp up period, since its 0 in >> my >> case. >> >> >> >> Deepak Shetty wrote: >> > >> > hi >> > probably not >> > did you record and replay? in which case you probably have some dynamic >> > data >> > that is user specific (the other option is that your app does have a >> bug). >> > Doesnt your home page print out the logged in users name? If so you can >> > assert the text and you should be able to see that each user gets his >> own >> > home page with his own name , in which case the sessions are fine. >> > >> > >> > regards >> > deepak >> > >> > >> > On Wed, Jun 16, 2010 at 10:53 AM, virkenator <[email protected]> >> wrote: >> > >> >> >> >> Hi, >> >> >> >> I am testing a web based application. I have a script which is doing: >> >> >> >> 1. Logging in user/s. >> >> 2. Goes to home page. >> >> 3. Searches for fields. >> >> 4. Searches for a specific field. >> >> >> >> The script runs successfully for one thread. I am able to relate and >> >> track >> >> all these events by checking the database log. >> >> But when I increase the thread number to 2 or more, steps 1 through 3 >> are >> >> being successfully executed but the step 4 is not being executed and >> >> shows >> >> error in the server log "Error in finduser() in >> useragentbeanjavax....." >> >> >> >> I have HTTP cookie manger with compatibility, HTTP header manager ON >> in >> >> the >> >> script. >> >> >> >> Can somebody please tell me whats going on and how to overcome this >> >> problem? >> >> >> >> -- >> >> View this message in context: >> >> >> http://old.nabble.com/Is-this-a-cookie-problem--tp28905679p28905679.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] >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/Is-this-a-cookie-problem--tp28905679p28917247.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] >> >> > >
-- View this message in context: http://old.nabble.com/Is-this-a-cookie-problem--tp28905679p28918350.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]

