jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vipin Jain <>
Subject Re: passing byte stream to upload document in HTTP sampler (Rest API)
Date Fri, 04 Apr 2014 07:28:57 GMT

Thanks for the reply, here my request is PUT not post.
I need to send bytestream of the document I want to upload
Below is the request and response

PUT data:


[no cookies]

Request Headers:
Connection: keep-alive
x-isi-ifs-target-type: object
x-isi-ifs-site-url: http://SPOINT-3:8002/Site_Title_1
Content-Length: 63
User-Agent: Apache-HttpClient/4.2.6 (java 1.5)

Response headers:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/7.5
x-isi-ifs-sharepoint-version: SharePoint Server 2010,SharePoint Server 2010
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 04 Apr 2014 07:16:17 GMT
Content-Length: 2

HTTPSampleResult fields:
ContentType: application/json; charset=utf-8
DataEncoding: utf-8

But document is uploaded 1 KB and file path as its contents.
Real document is not uploaded.

Please help


Vipin Jain
View this message in context:
Sent from the JMeter - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message