修复用例编排“提取”和“校验”填写不能保存的bug以及优化拖曳排序逻辑、后端拼接url逻辑
This commit is contained in:
@@ -137,6 +137,10 @@ public class TestCaseStepServiceImpl implements ITestCaseStepService {
|
||||
log.error("不支持的请求方式:{}", method);
|
||||
return null;
|
||||
}
|
||||
if (!url.startsWith("http")) {
|
||||
String apiProtocol = testCaseStep.getApiProtocol();
|
||||
url = apiProtocol + "://" + url;
|
||||
}
|
||||
JmeterRequest jmeterRequest = new JmeterRequest();
|
||||
jmeterRequest.setId(id);
|
||||
jmeterRequest.setUrl(url);
|
||||
|
||||
Reference in New Issue
Block a user