What steps will reproduce the problem?
1. Perform a GET on a resource that returns an 409 with empty body (may also
work with a 200, did not test)
2. Construct a expect().statusCode(409).body("error", "some text")
3. See it fail with an NPE in token.getType() in parse method of
ConfigurableJSONSlurper
What is the expected output? What do you see instead?
I would expect to either receive a null value for the property and have the
assertion fail, or I would expect to have a method on the response spec that
can check for an empty body.
What version of the product are you using? On what operating system?
1.8.1 on OSX Mavericks
Please provide any additional information below.
Original issue reported on code.google.com by dolf.sta...@gmail.com on 25 Oct 2013 at 4:45
Original issue reported on code.google.com by
dolf.sta...@gmail.com
on 25 Oct 2013 at 4:45