Maybe this will help to resolve my problem... (i hope) I get the following exception in the JMeter log file:
01/22/2003 1:30:50 PM WARN - jmeter.protocol.http: file1 (The system cannot find the file specified) java.io.FileNotFoundException: file1 (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) at org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:107) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:472) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:899) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:380) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138) at java.lang.Thread.run(Thread.java:536) p.s: should i write something at the MIME type field ? > -----Original Message----- > From: Amos Sonnenwirth > Sent: Tuesday, January 21, 2003 7:28 PM > To: '[EMAIL PROTECTED]' > Subject: Send file with request is not working for me (using 1.8 version) > > Hi, > > I'm trying to upload a file with JMeter and resolve the file with Oreilly's >MultipartParser class, but when expecting the File part i receive null. > I'm sending the following parameters: > > one parameter: name=string value=yadayada > second parameter: is a file with the following deetails > > FileName: amos.pps > ParameterName: file1 > > That's all . > > When resolving on the server side what i got (with Oreilly's MultipartParser class) >, i realize that the first part (in the multipart request) is string as expected , >but the > second part arrives as null. > > My Question: why is that ? what am i doing wrong ? > Reminder: I'm using 1.8 version on Windows 2000 > > Thanks in advnaced > > Amos