我正在使用放心的 lib 和范围报告进行报告,
ValidatableResponse reponseManualLead = given().header("Accept", "application/json")
.contentType("application/json").header("Authorization", access_token)
.body(requestBody).log().body().when()
.put(losdevUrl + "/endUrl").then().log().all();log().all() :控制台日志中请求/响应的 Pritn 日志,我需要登录 extentreport ,我们可以这样做吗?
ExtentTestManager.getTest().log(LogStatus.INFO, "Response is:<br>" + "here");
倚天杖
慕勒3428872
随时随地看视频慕课网APP
相关分类