Try different options in Http Cookie Manager (Cookie policy)
Regards, Applications QA Analyst Information Technology Services (ITS) The University of Auckland, New Zealand Te Whare Wananga o Tamaki makaurau, Aotearoa, (: +64 9 923 5264 *: [email protected] 1883-2008: Celebrating 125 Years "Om Sakti Amman Vinayaka Muruga Sastha Tunai" P Please consider the environment before printing this email. -----Original Message----- From: Oguz Yarimtepe [mailto:[email protected]] Sent: Monday, December 07, 2009 1:11 AM To: JMeter Users List Cc: Deepak Shetty Subject: Re: jmeter usage for form testing I think i found the problem. At least after adding the appropriate Cookie value i just saw Content-Type: at the POST part is different. I used Firefox Firebug plug in. The Net pard is showed me the real values. At the Jmeter part i used View Results in Tree. When i checked the POST url, below is what i see: POST http://127.0.0.1:8000/test/default/show/1 POST data: -----------------------------7d159c1302d0y0 Content-Disposition: form-data; name="author" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit At the Firebug it says, Content-Type: multipart/form-data; boundary=---------------------------10851375172902757631338059158 Content-Length: 699 -----------------------------10851375172902757631338059158 Content-Disposition: form-data; name="author" I checked the test at Jmeter. "Use multipart/form-data for HTTP POST" is checked. But it still says text/plain. This is the only difference i could see at the requests and responses. How can i fix it? On Sat, 5 Dec 2009 12:17:16 -0800 Deepak Shetty <[email protected]> wrote: > Hi > its not just the headers its the data/url as well. Some data may be dynamic > i.e. extracted from the previous request and your recorded script may have > invalid values (there were valid for the recording , but not when you replay > e.g. duplicate form submit tokens). Did you use View results tree and render > as html and verify that your pages show correctly? > WebScarab is a java proxy , so its the equivalent of fiddler and should work > on linux > http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project > regards > deepak > > On Sat, Dec 5, 2009 at 11:19 AM, Oguz Yarimtepe <[email protected]> wrote: > > > > > I checked the LiveHttpHeaders. As i can see now there is nothing weird at > > the headers when i compare the ones at the Result Table and the ones > > captured by LiveHttpHeaders. Indeed i dont see any errors also when i > > replayed the web2py application. > > > > I am using Linux so is there any software that i can use like Fiddler at my > > Linux environment. > > I am testing the web2py application with its development server. So it is > > running 127.0.0.1:8000. If i deployed it on apache do you think my test > > will be working correctly? > > > > PC: I erased your reply while removing some mails from my email, sorry. > > > > > > >In firefox use LiveHttpHeaders. In IE you can use HTTPHeadersWatch basic. > > >You can use any proxy like Fiddler with either browser > > >Sometimes you can use the response tab in JMeter and use render response > > as > > >HTML. You may be able to use the error message , if present, to detect > > what > > >you are doing wrong > > >regards > > deepak > > > > -- > > Oguz Yarimtepe <[email protected]> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > -- Oguz Yarimtepe <[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]

