REST Assured Changelog

What's new in REST Assured 2.3.2

Jun 9, 2014
  • Fixed an issue with logging of request and response using RestAssured.enableLoggingOfRequestAndResponseIfValidationFails() for certain validations.
  • Fixed issue with content-type validation when no content-type was sent from the server.
  • Updated Groovy to version 2.3.2
  • Widen the standaloneSetup builder method in Spring MVC module to accept a AbstractMockMvcBuilder (issue 321).
  • Added possibility to include parameters in JsonPath and XmlPath to prevent injection weaknesses (issue 328).
  • Added "matchesXsdFromClasspath" to com.jayway.restassured.matcher.RestAssuredMatchers and com.jayway.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers (issue 330).
  • Added "matchesDtdFromClasspath" to com.jayway.restassured.matcher.RestAssuredMatchers and com.jayway.restassured.module.mockmvc.matcher.RestAssuredMockMvcMatchers (issue 331).
  • Upgraded Spring MVC module to depend on Spring 4.0.5. (issue 335)
  • Added possibility to use "no wrap" for response streams of type gzdeflate (RFC 1951) used by e.g. PHP.
  • basePath can now be set in the RequestSpecification as well as RequestSpecBuilder (issue 325).
  • Static usage of "enableLoggingOfRequestAndResponseIfValidationFails" can now be assign after static request and response configurations (issue 323).
  • Multipart parameters are now logged when logging the request specification (issue 144).
  • Added ability to get multipart parameters from com.jayway.restassured.specification.FilterableRequestSpecification using the "getMultiPartParams" method.
  • Added "replaceFiltersWith" method to RestAssured which makes it possible to replace statically defined filters (issue 174).
  • Added support for specifying arguments to root or append paths at a later stage.
  • Added ability to log the request and response generated by the form authentication scheme.
  • Fixed so that CharsetExtractor no longer fails to extract the charset when more than one key=value pair present in the content-type header (issue 337).
  • Updated json-schema-validator module to use version 2.2.5 of FGE's json schema validator project.
  • Updated commons-lang3 dependency to version 3.3.2.
  • Added static compilation to inner class PathType to avoid IncompatibleClassChangeError because of a bug in Groovy (GROOVY-6080) (issue 336).
  • Added better proxy support.