sasidharsmit
2011-07-26 14:46:09 UTC
Dear All,
I'm trying out the "***@gc - HTTP Raw Request" sampler to send in HTTP POST
requests to the server.
My request in the "Request Data" section of the sampler, looks like the one
below:
*/
POST / HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: jmeter
Cache-Control: no-store,no-cache
Pragma: no-cache
Accept-Encoding: gzip, deflate
Accept: */*
Host: abc.com
command.....<rest of the body>
/*
The problem I'm facing is that, when I send this request, I always get the
below error:
*/<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
Bad Request
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.3 (Red Hat) Server at abc.com Port 80</address>
</body></html>/*
I referred to the documentation for this sampler at the below location:
http://code.google.com/p/jmeter-plugins/
Nothing much has been mentioned in reference to the POST requests. So, I'm
not sure if the details, I'm mentioning in the "Request Data" section of
this sampler, is in the right format or not.
Has anyone else tried this particular sampler? Can you help me?
Cheers,
Sasi
--
View this message in context: http://jmeter.512774.n5.nabble.com/jp-gc-HTTP-Raw-Request-for-POST-requests-tp4635060p4635060.html
Sent from the JMeter - User mailing list archive at Nabble.com.
I'm trying out the "***@gc - HTTP Raw Request" sampler to send in HTTP POST
requests to the server.
My request in the "Request Data" section of the sampler, looks like the one
below:
*/
POST / HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: jmeter
Cache-Control: no-store,no-cache
Pragma: no-cache
Accept-Encoding: gzip, deflate
Accept: */*
Host: abc.com
command.....<rest of the body>
/*
The problem I'm facing is that, when I send this request, I always get the
below error:
*/<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
Bad Request
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.3 (Red Hat) Server at abc.com Port 80</address>
</body></html>/*
I referred to the documentation for this sampler at the below location:
http://code.google.com/p/jmeter-plugins/
Nothing much has been mentioned in reference to the POST requests. So, I'm
not sure if the details, I'm mentioning in the "Request Data" section of
this sampler, is in the right format or not.
Has anyone else tried this particular sampler? Can you help me?
Cheers,
Sasi
--
View this message in context: http://jmeter.512774.n5.nabble.com/jp-gc-HTTP-Raw-Request-for-POST-requests-tp4635060p4635060.html
Sent from the JMeter - User mailing list archive at Nabble.com.