feat(接口测试): 场景导入增加同步刷新功能
--task=1008408 --user=赵勇 接口导入和场景导入列表加刷新按钮 https://www.tapd.cn/55049933/s/1187478
This commit is contained in:
parent
d5b66aa54d
commit
3372eba944
|
@ -137,13 +137,13 @@ public class JMeterService {
|
|||
// 如果是K8S调用
|
||||
if (request.getPool().isK8s()) {
|
||||
try {
|
||||
LoggerUtil.error("开始发送请求[ " + request.getTestId() + " ] 到K8S节点执行");
|
||||
LoggerUtil.info("开始发送请求[ " + request.getTestId() + " ] 到K8S节点执行");
|
||||
final Engine engine = EngineFactory.createApiEngine(request);
|
||||
engine.start();
|
||||
} catch (Exception e) {
|
||||
RemakeReportService apiScenarioReportService = CommonBeanFactory.getBean(RemakeReportService.class);
|
||||
apiScenarioReportService.testEnded(request, e.getMessage());
|
||||
LoggerUtil.error("调用K8S执行请求[ " + request.getTestId() + " ] 失败:", e);
|
||||
LoggerUtil.error("调用K8S执行请求[ " + request.getTestId() + " ],报告:[" + request.getReportId() + "] 失败:", e);
|
||||
}
|
||||
} else {
|
||||
this.send(request);
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
<!-- 显示数量 -->
|
||||
<table-select-count-bar :count="selectCounts" style="float: left; margin: 5px;"/>
|
||||
|
||||
<el-button size="mini" icon="el-icon-refresh" @click="refresh"/>
|
||||
<el-button type="primary" @click="copy" :loading="buttonIsWorking" @keydown.enter.native.prevent size="mini">
|
||||
{{ $t('commons.copy') }}
|
||||
</el-button>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<div v-loading="result.loading">
|
||||
<api-list-container
|
||||
:is-api-list-enable="isApiListEnable"
|
||||
@isApiListEnableChange="isApiListEnableChange">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<div v-loading="result.loading">
|
||||
<api-list-container
|
||||
:is-api-list-enable="isApiListEnable"
|
||||
@isApiListEnableChange="isApiListEnableChange">
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<template v-slot:headerBtn>
|
||||
<table-select-count-bar :count="selectCounts" style="float: left; margin: 5px;"/>
|
||||
|
||||
<el-button size="mini" icon="el-icon-refresh" @click="refresh"/>
|
||||
<el-button type="primary" @click="copy" :loading="buttonIsWorking" @keydown.enter.native.prevent size="mini">
|
||||
{{ $t('commons.copy') }}
|
||||
</el-button>
|
||||
|
|
Loading…
Reference in New Issue