Hi,

I have looked in Bugzilla and this forum/mailinglist, but couldn't find an
answer. Sorry if this is a known
issue. In that case, it would be nice, if you just point me to the
respective resource.

I am using jmeter v2.4. I am trying to upload a (simple text) file to my
local webdav server.

I have tested the HTTP request sampler _and_ HTTP Request HTTPClient
sampler. Both create a file
on my webdav server. But in both cases this file is empty (file size 0
bytes).

When I do the same with an unamed argument (without the file) it works in
both cases.

I inspected the sources for a while and discovered that around (have added
some debug code) line 1100
in HTTPSampler2.java (which is HTTP Request HTTPClient) the
putBody.toString() returns an empty string.
That looks like this is the reason for the zero byte sized file on my webdav
server.

Is this an known behavior? Can I do something to work around it?

tia, tom

-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/Uploading-File-to-WebDAV-Server-tp3375611p3375611.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to