Hello,

I try to use the JMeter 1.8 to test the application server on Tomcat
4.03 with Struts. 
I use the HTTP Request sampler to send the request:

HTTP Request
Protocol: HTTP  Method: POST

Send parameters With a Request:
  --  Appr. 15 parameters --

Send a File With the Request:
  Filename: F:\TEMP\Women1.jpg
  Parameter name: image
  MIME type: image/pjpeg

Request is successfully sent to server (and all 15 "text" parameters
too) but uploading file is empty.

There are also messages in jmeter.log on each request:

11/14/2002 9:21:00 AM WARN - jmeter.protocol.http: image (The system
cannot find the file specified) java.io.FileNotFoundException: image
(The system cannot find the file specified)  
 at java.io.FileInputStream.open(Native Method)
 at java.io.FileInputStream.<init>(FileInputStream.java:103)
 at java.io.FileInputStream.<init>(FileInputStream.java:66)
 at 
org.apache.jmeter.protocol.http.sampler.PostWriter.getFileStream(PostWriter.java:150)
   ...........................

It seems like JMeter tries to open the "image" file but not
the "F:\TEMP\Women1.jpg".

What do I do wrong?

Thank you. Roman.


--
To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@;jakarta.apache.org>

Reply via email to