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

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

View File

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

View File

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

View File

@ -523,7 +523,10 @@ export default {
response_timeout: 'Timeout to response',
custom_http_code: 'Custom HTTP response success status code',
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',
select_resource_pool: 'Please Select Resource Pool',
resource_pool_is_null: 'Resource Pool is empty',

View File

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

View File

@ -401,7 +401,7 @@ export default {
apikey_delete_confirm: '這個 API Key 確定要刪除嗎?',
input_id_placeholder: '請輸入ID (不支持中文)',
source: '用戶來源',
button:{
button: {
add_workspace_batch: '批量添加到工作空間',
add_user_role_batch: '批量添加角色',
}
@ -524,6 +524,9 @@ export default {
run: '壹鍵運行',
select_resource_pool: '請選擇資源池',
serialize_threadgroups: '場景是否順序執行',
autostop_threadgroups: '自動停止開啟',
reaches_duration: '到達執行時間',
autostop_delay: '秒後停止測試',
resource_pool_is_null: '資源池為空',
download_log_file: '下載完整日誌文件',
pressure_prediction_chart: '壓力預估圖',
@ -909,8 +912,8 @@ export default {
code_template_get_response_header: "獲取響應頭",
code_template_get_response_code: "獲取響應碼",
code_template_get_response_result: "獲取響應結果",
code_add_report_length : "報文头添加長度",
code_hide_report_length : "隱藏報文長度"
code_add_report_length: "報文头添加長度",
code_hide_report_length: "隱藏報文長度"
},
dubbo: {
protocol: "協議",