refactor(性能测试): 自动停止页面国际化

This commit is contained in:
Captain.B 2021-04-07 08:22:39 +08:00 committed by 刘瑞斌
parent 859bf3085b
commit 302d814a3c
5 changed files with 22 additions and 7 deletions

View File

@ -223,6 +223,12 @@
<groupId>org.apache.zookeeper</groupId> <groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId> <artifactId>zookeeper</artifactId>
<version>3.4.14</version> <version>3.4.14</version>
<exclusions>
<exclusion>
<artifactId>slf4j-log4j12</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.curator</groupId> <groupId>org.apache.curator</groupId>

View File

@ -17,10 +17,10 @@
<el-switch v-model="serializeThreadGroups"/> <el-switch v-model="serializeThreadGroups"/>
</el-form-item> </el-form-item>
<br> <br>
<el-form-item :label="$t('自动停止开启')"> <el-form-item :label="$t('load_test.autostop_threadgroups')">
<el-switch v-model="autoStop"/> <el-switch v-model="autoStop"/>
</el-form-item> </el-form-item>
<el-form-item :label="$t('到达执行时间')"> <el-form-item :label="$t('load_test.reaches_duration')">
<el-input-number <el-input-number
:disabled="isReadOnly || !autoStop" :disabled="isReadOnly || !autoStop"
v-model="autoStopDelay" v-model="autoStopDelay"
@ -28,7 +28,7 @@
:max="9999" :max="9999"
size="mini"/> size="mini"/>
</el-form-item> </el-form-item>
<el-form-item :label="$t('秒后停止测试')"/> <el-form-item :label="$t('load_test.autostop_delay')"/>
</el-form> </el-form>
</el-col> </el-col>
</el-row> </el-row>

View File

@ -524,6 +524,9 @@ export default {
custom_http_code: 'Custom HTTP response success status code', custom_http_code: 'Custom HTTP response success status code',
separated_by_commas: 'Separated by commas', separated_by_commas: 'Separated by commas',
serialize_threadgroups: 'Whether the scene is executed sequentially', serialize_threadgroups: 'Whether the scene is executed sequentially',
autostop_threadgroups: 'Auto stop enable',
reaches_duration: 'Delay',
autostop_delay: 'seconds before stopping the test',
create: 'Create Test', create: 'Create Test',
select_resource_pool: 'Please Select Resource Pool', select_resource_pool: 'Please Select Resource Pool',
resource_pool_is_null: 'Resource Pool is empty', resource_pool_is_null: 'Resource Pool is empty',

View File

@ -524,6 +524,9 @@ export default {
run: '一键运行', run: '一键运行',
select_resource_pool: '请选择资源池', select_resource_pool: '请选择资源池',
serialize_threadgroups: '场景是否顺序执行', serialize_threadgroups: '场景是否顺序执行',
autostop_threadgroups: '自动停止开启',
reaches_duration: '到达执行时间',
autostop_delay: '秒后停止测试',
resource_pool_is_null: '资源池为空', resource_pool_is_null: '资源池为空',
download_log_file: '下载完整日志文件', download_log_file: '下载完整日志文件',
pressure_prediction_chart: '压力预估图', pressure_prediction_chart: '压力预估图',

View File

@ -524,6 +524,9 @@ export default {
run: '壹鍵運行', run: '壹鍵運行',
select_resource_pool: '請選擇資源池', select_resource_pool: '請選擇資源池',
serialize_threadgroups: '場景是否順序執行', serialize_threadgroups: '場景是否順序執行',
autostop_threadgroups: '自動停止開啟',
reaches_duration: '到達執行時間',
autostop_delay: '秒後停止測試',
resource_pool_is_null: '資源池為空', resource_pool_is_null: '資源池為空',
download_log_file: '下載完整日誌文件', download_log_file: '下載完整日誌文件',
pressure_prediction_chart: '壓力預估圖', pressure_prediction_chart: '壓力預估圖',