its more likely that the file isnt getting picked up and hence not getting
sent.
I assume its an HTTP Sampler, with send files in request ,
multipart-form-data? or are you trying something else.
you should also upgrade to 2.3.4



On Mon, Feb 22, 2010 at 3:29 PM, viggo <[email protected]> wrote:

>
> Hi,
>
> I have a jmeter test where I want to upload a file to a web server (JBoss
> 4.2.2.GA for those of you curious). The file is XML, and it generates:
>  Caused by: org.xml.sax.SAXParseException: Premature end of file.
>
> I've tried to upload the exact same file from a test in java, and it goes
> well, I've also tried to use curl to upload the file, and it goes well. It
> makes me think this has something to do with misconfiguration of JMeter, so
> please, does anyone know what can be wrong?
>
> Can it be that JMeter reads the file with wrong encoding? Should I have
> added a specific encoding(I've tried to put UTF-8 in Content Encodig, but
> it
> didn't help)
>
> I'm by the way running JMeter 2.3.2.
>
> --
> View this message in context:
> http://old.nabble.com/HttpRequest-POST-with-file-tp27695402p27695402.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to