fix (接口自动化): SQl请求执行失败结果不显示问题 #1005724

--bug=1005724 --user=赵勇 【接口测试】sql场景执... https://www.tapd.cn/55049933/s/1034550
This commit is contained in:
fit2-zhao 2021-08-12 16:34:53 +08:00 committed by fit2-zhao
parent 717f5d2f4b
commit 0c066ab808
2 changed files with 1 additions and 3 deletions

View File

@ -136,7 +136,6 @@ public class MsResultCollector extends AbstractListenerElement implements Sample
@Override
public void sampleStarted(SampleEvent e) {
System.out.println("start ====");
try {
MsgDto dto = new MsgDto();
dto.setContent(e.getThreadGroup());

View File

@ -678,7 +678,7 @@ export default {
if (item && item.requestResults) {
item.requestResults.forEach(req => {
req.responseResult.console = res.console;
if (req.method === 'Request') {
if (req.method === 'Request' && req.subRequestResults && req.subRequestResults.length > 0) {
this.getTransaction(req.subRequestResults, startTime, endTime, resMap);
} else {
this.reqTotal++;
@ -711,7 +711,6 @@ export default {
}
this.debugResult = resMap;
this.sort();
// this.reload();
this.reloadDebug = getUUID();
},
removeReport() {