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 the POSTER tool in the header: Name Value Authorization child:1251829861345:95c4999b38661c7d450a0d58379b28fb in the content to send section I added the following string: {"title":"test","description":"this is a test"} How can I send the authorization (header) and string (content to send) in jmeter? I added the authorization into the "send parameters with the request" section. When I attempted to add the string into the section "send parameters with the request" into the name column leaving the value null or the other way around, I always get a 401 error: 2011/09/07 09:07:13 ERROR - jmeter.protocol.http.sampler.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. 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. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org