REST Assured 5.5.0 is released

115 views
Skip to first unread message

Johan Haleby

unread,
Jul 5, 2024, 9:27:51 AM7/5/24
to rest-a...@googlegroups.com
REST Assured 5.5.0 has just been released. Changes are:

* Removing custom validation of pathParams in the mock-mvc module and instead rely on the Spring implementation(issue 1782) (thanks to taeyeon-Kim for pull request)
* Fixing "Error java.lang.NoSuchMethodError for HttpMethod.resolve()" in mock-mvc module (issue 1760) (thanks to d0vi for pull request)
* Fix #1707: SVG file upload - fatal error :1:1: content is not allowed in prolog (#1777) (thanks to Byounghee kim for pull request)
* Fix #1773: Remove check for response HTTP status code. (thanks to macmon for pull request)
* Introducing the "scala-extensions" module for Scala 3 (#1770). This means that you can write tests like this in Scala 3:

@Test
def `extraction with rest assured scala extensions`: Unit =
val message: String = Given(req =>
req.port(7000)
req.header("Header", "Header")
req.body("hello")
)
.When(
_.put("/the/path")
)
.Extract(
_.path("message")
)
assertThat(message).isEqualTo("Hello World")
(thanks to Carlos Eduardo for pull request)
* Remove deprecated Content-Transfer-Encoding from multipart post headers (#1762) (thanks to Michal Trna for pull request)
* Fixed pathParams double encoding in mock-mvd module (#1756) (thanks to Dmitry Kaukov for pull request)
* Upgraded Groovy from version 4.0.16 to 4.0.22
* Upgraded Jackson from version 2.14.3 to 2.17.1
* Upgraded kotlin extension module to use Kotlin 2.0.0 (previously 1.9.20 was used)
* Upgraded Guava library from 32.0.1-jre to 33.2.1-jre

Enjoy!

Bolero23

unread,
Jul 11, 2024, 10:28:21 AM7/11/24
to REST assured
Hi Johan,

As of version 5.5.0 there is file content that appears in a multipart request when using LogDetails.ALL. Is there a way to turn off only that part ie. to be exactly as it was in 5.4.0 without showing the contents of the file?

5.5.0:
Multiparts: ------------
Content-Disposition: form-data; charset=UTF-8; name = file; filename = Test.properties
Content-Type: application/octet-stream

First segment. Second segment. Third segment.


5.4.0
Multiparts: ------------
Content-Disposition: form-data; charset=UTF-8; name = file; filename = Test.properties
Content-Type: application/octet-stream

Thanks,
Bosko

Bolero23

unread,
Dec 13, 2024, 7:34:14 AM12/13/24
to REST assured
Hi Johan,

Any update on this?

Thanks,
Bosko
Reply all
Reply to author
Forward
0 new messages