To add information about my previous email, please find the extract from the
log file concerning recording of my scenario
 
2005/10/27 16:20:17 INFO  - jmeter.protocol.http.proxy.Daemon: Proxy up and
running! 
2005/10/27 16:21:22 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
java.io.IOException: Server returned HTTP response code: 500 for URL:
http://bsg-front.univ-paris1.fr/repons/portal/portal?cocoon-portal-action=0
<http://bsg-front.univ-paris1.fr/repons/portal/portal?cocoon-portal-action=0
&cocoon-portal-event=194&cocoon-portal-event=195&cocoon-portal-event=196&coc
oon-portal-event=197&cocoon-portal-event=198&cocoon-portal-event=199>
&cocoon-portal-event=194&cocoon-portal-event=195&cocoon-portal-event=196&coc
oon-portal-event=197&cocoon-portal-event=198&cocoon-portal-event=199 
2005/10/27 16:21:22 ERROR - jmeter.protocol.http.sampler.HTTPSampler: 
<html><head><title>Problem in creating the Request</title><style><!--body {
background-color: white; color: black; font-family: verdana, helvetica, sanf
serif;}h1 {color: #336699; margin: 0px 0px 20px 0px; border-width: 0px 0px
1px 0px; border-style: solid; border-color: #336699;}p.footer { color:
#336699; border-width: 1px 0px 0px 0px; border-style: solid; border-color:
#336699; }span {color: #336699;}pre {padding-left: 20px;}a:link
{font-weight: bold; color: #336699;}a:visited {color: #336699; }a:hover
{color: #800000; background-color: #ffff80;}a:active {color:
#006666;}--></style></head><body><h1>Problem in creating the
Request</h1><p><span>Message:</span> null</p><p><span>Description:</span> No
details available.</p><p><span>Sender:</span>
org.apache.cocoon.servlet.CocoonServlet</p><p><span>Source:</span> Cocoon
Servlet</p><p><span>cause</span><pre>Malformed
stream</pre></p><p><span>request-uri</span><pre>/repons/portal/portal</pre><
/p><p class='footer'><a href='http://cocoon.apac
 ... 
2005/10/27 16:21:26 INFO  - jmeter.protocol.http.proxy.Daemon: Proxy Server
stopped 
 
 


  _____  

De : Bruno Charloup [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 27 octobre 2005 15:57
À : 'JMeter Users List'
Objet : Problem while recording scenario with the JMeter internal proxy


Hi all,
(I'm working with JMeter 2.1.1, JDK 1.4.2_09).
I'm registering scenario through the JMeter proxy, with IE6.
My application is developped using Apache Cocoon (I'm only the tester of
this application, I've no knowledge about Cocoon).
In my application, I've a form, with enctype "multipart/form-data;" (I have
other scenario with this kind of forms, and it works fine).
 
But, with this "famous" form, JMeter proxy creates an http request and
automatically fills part of the "Send a File With the Request" frame :
- the field "Filename" is left blank,
- the field "Parameter name" is filled with "upload" and 
- the field "MIME Type" is filled with "application/octet-stream"
 
After posting this form while recording my scenario, Cocoon returns an
error, with the following information : Malformed stream (see screen copy
below)

I have the same result with differents configuration of the proxy : "capture
http headers" checked or "capture http headers" unchecked ...
 
Does anybody has ever met such a problem ? any idea to solve this problem ?
 
This behaviour is really blocking for me ...
 
Thanking you in advance,

--
Bruno 

Reply via email to