fix(测试跟踪): 测试计划性能测试批量执行有用例没执行
--bug=1018671 --user=陈建星 【测试跟踪】测试计划-性能测试-批量串行执行用例实际只执行了一个 https://www.tapd.cn/55049933/s/1274480
This commit is contained in:
parent
e074e1c0ba
commit
ee3ab1537b
|
@ -245,7 +245,7 @@
|
|||
SELECT id
|
||||
FROM load_test_report
|
||||
WHERE test_id = #{testId}
|
||||
AND `status` !='Completed'
|
||||
AND `status` !='Completed' AND `status` !='Error'
|
||||
</select>
|
||||
|
||||
<select id="selectStatusById" resultType="string">
|
||||
|
|
|
@ -17,7 +17,7 @@ public class PerfExecController {
|
|||
PerfExecService perfExecService;
|
||||
|
||||
@PostMapping("/run")
|
||||
public Map<String, String> getLoadFailureCases(@RequestBody PlanPerformanceExecRequest request) {
|
||||
public Map<String, String> run(@RequestBody PlanPerformanceExecRequest request) {
|
||||
return perfExecService.run(request.getPlanReportId(), request.getConfig(), request.getTriggerMode(), request.getPerfMap());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<ms-main-container>
|
||||
|
||||
<div v-if="showResponse">
|
||||
<micro-app v-if="!isTemplate"
|
||||
<micro-app v-if="!isTemplate && reportShow"
|
||||
route-name="perReportView"
|
||||
service="performance"
|
||||
:route-params="{
|
||||
|
@ -75,7 +75,8 @@ export default {
|
|||
failureTestCases: [],
|
||||
showResponse: false,
|
||||
reportId: "",
|
||||
response: null
|
||||
response: null,
|
||||
reportShow: true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -112,6 +113,10 @@ export default {
|
|||
if (exist) {
|
||||
this.reportId = loadReportId;
|
||||
this.showResponse = true;
|
||||
this.reportShow = false;
|
||||
this.$nextTick(() => {
|
||||
this.reportShow = true;
|
||||
});
|
||||
} else {
|
||||
this.showResponse = false;
|
||||
this.$message.warning(this.$t('test_track.plan.load_case.report_not_found'));
|
||||
|
|
Loading…
Reference in New Issue