Hi
i am facing error in jmeter while trying to upload the image in the web application using POST method of the JMETER.
is anyone help me in that to resolve this issue.
Sample Request :Thread Name: Thread Group 1-1
Sample Start: 2016-06-29 10:17:17 IST
Load time: 15809
Connect Time: 777
Latency: 15809
Size in bytes: 436
Headers size in bytes: 335
Body size in bytes: 101
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: 405
Response message: Method Not Allowed
Response headers:
HTTP/1.1 405 Method Not Allowed
Allow: GET, HEAD, OPTIONS, TRACE
Content-Length: 101
Content-Type: text/html
Server: Microsoft-IIS/8.0
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=a1634f39ccba9517317254d32be7078bb62c2877a947d85cab990f2708382045;Path=/;Domain=revflexsit.azurewebsites.net
Date: Wed, 29 Jun 2016 04:47:32 GMT
HTTPSampleResult fields:
ContentType: text/html
DataEncoding: null
Request :POST
http://revflexsit.azurewebsites.net/#//testerprofilePOST data:
--25EJ6J2c2j83xdifB8lK_Eq2Vd3YLiHhUmZsrd
Content-Disposition: form-data; name="profileUploadPhoto"; filename="Tulips.jpg"
Content-Type: image/jpeg
Content-Transfer-Encoding: binary
<actual file content, not shown here>
--25EJ6J2c2j83xdifB8lK_Eq2Vd3YLiHhUmZsrd--
[no cookies]
Request Headers:
Connection: keep-alive
Content-Length: 621121
Content-Type: multipart/form-data; boundary=25EJ6J2c2j83xdifB8lK_Eq2Vd3YLiHhUmZsrd; charset=US-ASCII
Host: revflexsit.azurewebsites.net
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_40)
Response Data :The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.