0
我使用的是黃瓜,柑橘在一起,在我@Then
定義,我有柑橘HTTP響應:如何訪問Java中的柑橘http接收消息正文?
@CitrusResource TestRunner runner;
runner.http(builder -> {
final HttpClientResponseActionBuilder rab =
builder.client("citrusEndpointAPI").receive()
.response(HttpStatus.OK).messageType(MessageType.JSON)
.contentType(MediaType.APPLICATION_JSON_VALUE);
是否有返回的JSON消息體存儲到一個Java JSON對象的方法嗎?