Re: POST REST WebService in jmeter

2011-09-08 Thread eniveld
Guess that is by design? -- View this message in context: http://jmeter.512774.n5.nabble.com/POST-REST-WebService-in-jmeter-tp4778905p4782721.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe,

RE: POST REST WebService in jmeter

2011-09-07 Thread Ray Trejo
: POST REST WebService in jmeter I have to test some REST web services and I'm using the POSTER add on tool (Firefox). I'm successful running the services via the tool, but I'm not able to get a POST to work in jmeter using the HTTP Request sampler. Here are the parameters I input into

Re: POST REST WebService in jmeter

2011-09-07 Thread sebb
On 7 September 2011 17:37, David Levine wrote: > I just use a normal HTTP Request with Method=POST, and specify a file for > the XML contents to send.  Wish I could embed the XML contents in the JMeter > test script instead of putting it in a separate file, but that's worked http://jakarta.apache

Re: POST REST WebService in jmeter

2011-09-07 Thread Deepak Shetty
ampler.HTTPJavaImpl: readRespo > nse: java.io.IOException: Server returned HTTP response code: 401 for URL: > http: > //blogsweb.dmz.arch.myoffice.com/blogs/blog/new.json/ > > When I use the POSTER add on tool, it returns code 201 as expected. > > Can somebody help. > > Th

Re: POST REST WebService in jmeter

2011-09-07 Thread David Levine
I just use a normal HTTP Request with Method=POST, and specify a file for the XML contents to send. Wish I could embed the XML contents in the JMeter test script instead of putting it in a separate file, but that's worked great for testing my RESTful service (built using Jersey). D On Wed, Sep 7

Re: POST REST WebService in jmeter

2011-09-07 Thread Bruce Ide
I would swear that I've used the SOAP request for that in the past. My service wanted a post in XML format, but it doesn't seem to provide a WSDL or anything I'd normally associate with SOAP. If your service wants some XML, I'd suggest giving that a try. -- Bruce Ide flyingrhenqu...@gmail.com

POST REST WebService in jmeter

2011-09-07 Thread testerinCO
code 201 as expected. Can somebody help. Thanks -- View this message in context: http://jmeter.512774.n5.nabble.com/POST-REST-WebService-in-jmeter-tp4778905p4778905.html Sent from the JMeter - User mailing list archive at Nabble.com. -