增加获取用例测试详细日志内容API

This commit is contained in:
seagull 2019-06-18 16:35:25 +08:00
parent 97bd1fe49d
commit bc022f978c
1 changed files with 13 additions and 0 deletions

View File

@ -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());
}
}