>both the requests (what Jmeter send and what the browser sends) are exactly the same. But in JMeter I am not getting the >expected response. They cant be *exactly* the same. Post the request/response headers from the browser and the request/response that Jmeter sees
regards deepak On Fri, Nov 20, 2009 at 11:26 AM, Lolina Bharathan < [email protected]> wrote: > Hi, > Thanks for replying. > I am not running the proxy while I replay the test. > > both the requests (what Jmeter send and what the browser sends) are exactly > the same. But in JMeter I am not getting the expected response. > > Regards, > Lolina > > > -----Original Message----- > From: Deepak Shetty [mailto:[email protected]] > Sent: Saturday, November 21, 2009 12:20 AM > To: JMeter Users List > Subject: Re: POST Request fails during replay > > hi > while running your test , you shouldnt be running the proxy and unless you > have setup java proxy parameters (which you shouldnt have), the test wont > use the proxy. > > If the POST fails you need to compare what Jmeter sends (using View Results > Tree) with what the browser sends (using any browser tool e.g. Live > HTTPHeaders in firefox) > > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour > Numerous messages in archives dela with similar problems. > > regards > deepak > > On Fri, Nov 20, 2009 at 10:47 AM, Lolina Bharathan < > [email protected]> wrote: > > > Hi All, > > > > I created a test plan by recording my actions when i access the Web App > > that i wanted to test. While the actions were being performed there were > > corresponding Samplers being created > > by the "HTTP Proxy Recorder". When i replay the test plan all request > > except one pass. One of the POST request fails. > > > > If I submit the request manually with the JMeter Proxy running, I am > > getting the following error which says (in jmeter logs) , > > > > ERROR - jmeter.protocol.http.proxy.Proxy: Not implemented (probably used > > https) java.lang.IllegalArgumentException: Cannot handle CONNECT - > probably > > used HTTPS > > at > > > org.apache.jmeter.protocol.http.proxy.HttpRequestHdr.parseFirstLine(HttpRequestHdr.java:212) > > at > > > org.apache.jmeter.protocol.http.proxy.HttpRequestHdr.parse(HttpRequestHdr.java:164) > > at > > org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:165) > > > > I am not using HTTPs. Any suggestions on what could rectify this issue??? > > > > Thanks in advance > > > > Regards, > > Lolina > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

