REST Assured 5.4.0 is released

51 views
Skip to first unread message

Johan Haleby

unread,
Dec 8, 2023, 5:57:52 AM12/8/23
to rest-a...@googlegroups.com
REST Assured 5.4.0 was just released. Changes are:

* Properly parse primitive JSON values (thanks to Jörg Eichhorn for pull request)
* Upgraded Groovy from 4.0.10 to 4.0.16
* Introduce spring-web-test-client-kotlin-extensions (#1731) (thanks for TheDevLuffy for pull request). This means that if you depend on: `org.restassured:spring-web-test-client-kotlin-extensions:<version>` you can write code like this for Spring WebTest client:
val id: Int =
Given {
webTestClient(webTestClient)
param("name", "Johan")
} When {
get("/greeting")
} Then {
body(
"id", Matchers.equalTo(1),
"content", Matchers.equalTo("Hello, Johan!")
)
} Extract {
path("id")
}
* Fix 1746: JsonPath: wrong result and exception when jsonPath partly evaluates to string/boolean/number (#1747) (thanks to Oleksandr Kulychok for pull request)
* Add support for negative indexes in JsonPath (thanks to Oleksandr Kulychok for pull request). This means that you can now do e.g. String object = JsonPath.from("<some json>").getString("[-1].email");
* Upgraded Kotlin from 1.9.10 to 1.9.21

Enjoy!
Reply all
Reply to author
Forward
0 new messages