REST Assured 1.8.0
Highlights
Section titled “Highlights”-
XmlPath and JsonPath have been extracted to their own projects which means that you can use them without depending on REST Assured. See the getting started page for more details on how to start using them.
-
Both XmlPath and JsonPath can now be configured independently. For example you can config custom object serializers and charset etc. JsonPath example:
JsonPath jsonPath = new JsonPath(SOME_JSON).using(new JsonPathConfig("UTF-8"));It’s also possible to configure JsonPath and XmlPath statically:
JsonPath.config = new JsonPathConfig("UTF-8");
See JsonPathConfig and XmlPathConfig for more details.
Non-backward compatible changes
Section titled “Non-backward compatible changes”- Third party dependencies have been updated, download the corresponding distribution zip file from the download page.
com.jayway.restassured.exception.ParsePathExceptionwas renamed tocom.jayway.restassured.exception.PathException- JsonPath now throws JsonPathException instead of Groovy’s
JsonExceptionwhen parsing invalid JSON documents - XmlPath now throws XmlPathException instead of
PathExceptionwhen parsing invalid malformed XML documents - ObjectMapperDeserializationContext#getResponse() has been renamed to “getDataToDeserialize()”. It no longer returns an instance of
ResponseBodyData, it now returns an instance of DataToDeserialize.
Other notable changes
Section titled “Other notable changes”- Added getPath method to Node and NodeChildren elements in XmlPath which allows you get a subpath using the GPath notation.
- Improved speed of JsonPath when parsing multiple values
- Upgraded to Groovy 2.1.2
Minor changes
Section titled “Minor changes”See change log for more details

