fix (接口自动化): 插件报告展示问题修复 (#5916)
Co-authored-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
2eec0d7f48
commit
95e0e1921c
|
@ -341,7 +341,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, resMap);
|
||||
} else {
|
||||
this.reqTotal++;
|
||||
|
|
|
@ -20,7 +20,7 @@ export const ELEMENTS = new Map([
|
|||
['JmeterElement', []],
|
||||
['CustomizeReq', ["ConstantTimer", "JSR223PreProcessor", "JSR223PostProcessor", "JDBCPostProcessor", "JDBCPreProcessor", "Assertions", "Extract"]],
|
||||
['MaxSamplerProxy', ["JSR223PreProcessor", "JSR223PostProcessor", "JDBCPreProcessor", "JDBCPostProcessor", "Assertions", "Extract"]],
|
||||
['AllSamplerProxy', ["HTTPSamplerProxy", "DubboSampler", "JDBCSampler", "TCPSampler"]],
|
||||
['AllSamplerProxy', ["HTTPSamplerProxy", "DubboSampler", "JDBCSampler", "TCPSampler","Sampler"]],
|
||||
['AllCanExecType', ["HTTPSamplerProxy", "DubboSampler", "JDBCSampler", "TCPSampler", "JSR223Processor"]]
|
||||
])
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@ export default {
|
|||
this.request.requestResult = [];
|
||||
}
|
||||
this.data = this.request;
|
||||
this.request.type = 'Sampler';
|
||||
},
|
||||
watch: {
|
||||
message() {
|
||||
|
|
Loading…
Reference in New Issue