增加获取用例测试详细日志内容API
This commit is contained in:
parent
97bd1fe49d
commit
bc022f978c
|
@ -129,5 +129,18 @@ public class PostServerAPI {
|
|||
JSONObject jsonObject = JSON.parseObject(str);
|
||||
return HttpRequest.httpClientPostJson(prefix+"/clientDeleteTaskCaseLog", jsonObject.toJSONString());
|
||||
}
|
||||
|
||||
/**
|
||||
* 提取测试用例的详细日志以及结果
|
||||
* @param taskId
|
||||
* @param casecount
|
||||
* @author Seagull
|
||||
* @date 2019年4月22日
|
||||
*/
|
||||
public static String getLogDetailResult(String taskName, String caseSign){
|
||||
String str = "{\"taskName\":\""+taskName+"\",\"caseSign\":\""+caseSign+"\"}";
|
||||
JSONObject jsonObject = JSON.parseObject(str);
|
||||
return HttpRequest.httpClientPostJson(prefix+"/getLogDetailResult", jsonObject.toJSONString());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue