I think you'll need to find out what the redirected URL is and use that instead of the original.
Or you could try using HttpClient instead of the default HTTP sampler; that may play nicer with stunnel. On 30/10/2007, Joseph Ribin Roy <[EMAIL PROTECTED]> wrote: > > hi all > > we have a mail application. Which uses https based protocol. We have a open= > source tool stunnel which will redirect request comming to port 443 to= > port 80. So when i capture the script using bad boy and run it in jmeter i= > m getting this exception. Any inputs to avoid this exception will be= > appriciated > > java.io.IOException: Unable to tunnel through proxy. Proxy returns= > "HTTP/1.0 302 Moved" at= > sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source) at= > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unkn= > own Source) at= > sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)= > at= > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.jav= > a:457) at= > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampler= > Base.java:889) at= > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampler= > Base.java:875) at= > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298) at= > java.lang.Thread.run(Unknown Source) > > > Regards > Joseph > > > > The information contained in, or attached to, this e-mail, contains > confidential information and is intended solely for the use of the individual > or entity to whom they are addressed and is subject to legal privilege. If > you have received this e-mail in error you should notify the sender > immediately by reply e-mail, delete the message from your system and notify > your system manager. Please do not copy it for any purpose, or disclose its > contents to any other person. The views or opinions presented in this e-mail > are solely those of the author and do not necessarily represent those of the > company. The recipient should check this e-mail and any attachments for the > presence of viruses. The company accepts no liability for any damage caused, > directly or indirectly, by any virus transmitted in this email. > > www.aztecsoft.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

