Re: Grinder scripts query
Gary Mulder <[email protected]>
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAKy9zTD+KxbKtSLx-KecQ2_VLob1zWs+03_z6R6f9zjxDThhYA@mail.gmail.com> |
On 7 April 2014 10:53, Mayur Kapadia <[email protected]> wrote: > Hello, > > > > This is my first query to this forum. > > > > I have recorded grinder script to update a few fields and save the changes. > > I am able to replay the same with single process. > > > > When I increase number of processes only one processes is successful, and > remaining processes get redirected response to a page. > > It appears that when multiple processes are making an update only one > script passes and other processes fail to recognize a warning page and get > redirected to the same page for all subsequent steps. > If a single playback of your script works it point to a feature of your web application and not your script. Does the script include session handling? Is it possible that the additional instances of your script are not properly managing unique session tokens or something similar? Is there a way I could debug this issue. > You need to check the response headers to see if there is any login-specific headers being returned. A tool like Firebug or Chrome Dev Tools can help here. > I was manually able to open three sessions of the application and make > updates concurrently. > With the same or different user ids? > I would assume this eliminates the application issue is any. > A dangerous assumption. ;-) If your application is stateless, then you could confirm whether or not The Grinder is sending the *exact* same HTTP requests using WireShark per request thread. If it is, then the Grinder is faithfully playing the same script. I suspect the issue is less with the application and more with the application's stateful interaction (or lack thereof) with The Grinder. Regards, Gary ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use