fix (接口自动化): SQl请求执行失败结果不显示问题 #1005724
--bug=1005724 --user=赵勇 【接口测试】sql场景执... https://www.tapd.cn/55049933/s/1034550
This commit is contained in:
parent
717f5d2f4b
commit
0c066ab808
|
@ -136,7 +136,6 @@ public class MsResultCollector extends AbstractListenerElement implements Sample
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void sampleStarted(SampleEvent e) {
|
public void sampleStarted(SampleEvent e) {
|
||||||
System.out.println("start ====");
|
|
||||||
try {
|
try {
|
||||||
MsgDto dto = new MsgDto();
|
MsgDto dto = new MsgDto();
|
||||||
dto.setContent(e.getThreadGroup());
|
dto.setContent(e.getThreadGroup());
|
||||||
|
|
|
@ -678,7 +678,7 @@ export default {
|
||||||
if (item && item.requestResults) {
|
if (item && item.requestResults) {
|
||||||
item.requestResults.forEach(req => {
|
item.requestResults.forEach(req => {
|
||||||
req.responseResult.console = res.console;
|
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);
|
this.getTransaction(req.subRequestResults, startTime, endTime, resMap);
|
||||||
} else {
|
} else {
|
||||||
this.reqTotal++;
|
this.reqTotal++;
|
||||||
|
@ -711,7 +711,6 @@ export default {
|
||||||
}
|
}
|
||||||
this.debugResult = resMap;
|
this.debugResult = resMap;
|
||||||
this.sort();
|
this.sort();
|
||||||
// this.reload();
|
|
||||||
this.reloadDebug = getUUID();
|
this.reloadDebug = getUUID();
|
||||||
},
|
},
|
||||||
removeReport() {
|
removeReport() {
|
||||||
|
|
Loading…
Reference in New Issue