我一起使用黄瓜和柑橘,在我的@Then
定义中,我有柑橘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对象中?