I'm using 1.8 , that might explain it all.
I'll try it with the latest nightly.

        Thanks

Amos

-----Original Message-----
From: Mike Stover [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 3:35 PM
To: JMeter Users List
Subject: Re: FW: Send file with request is not working for me (using 1.8 version) - 
Update


There was a bug that may have been in 1.8 that prevented file send from working.  
It has since been fixed in the cvs.  Do you have the latest nightly, or are you using 
1.8?

-Mike

On 22 Jan 2003 at 13:34, Amos Sonnenwirth wrote:

> 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
> 



--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to