works fine for me - Can you post your exact response headers? regards deepak
On Fri, Jul 6, 2012 at 9:13 AM, Richard Gaywood <[email protected]>wrote: > Hi list, > > I'm load testing a RESTful web service. One of my scenarios is a GET which > receives no data, followed by a PUT to populate the web service. The GET, > naturally, returns 404. However, JMeter insists on tagging this as a failed > sampler, which is messing up my test stats and meaning I can't catch > genuine errors in a "errors only" results tree. > > How can I convince JMeter to regard 404 as a successful sample result? > > I tried adding a Response Assertion with config to state that "Response > Code", "Contains", "404" (with "Ignore Status" ticked), but the sample > still fails. I don't understand why; reading the JMeter manual makes it > sound like that should work. The assertion result says > > Assertion error: false > Assertion failure: true > Assertion failure message: Test failed: code expected to equal / > ****** received : 404[[[ ]]] > ****** comparison: 404[[[ > ]]] > / > > > Any help you can render would be gratefully received! > > [image: Inline image 1] >
