diff --git a/frontend/src/views/api-test/scenario/components/setting.vue b/frontend/src/views/api-test/scenario/components/setting.vue index 6e768b5674..5519568f5a 100644 --- a/frontend/src/views/api-test/scenario/components/setting.vue +++ b/frontend/src/views/api-test/scenario/components/setting.vue @@ -1,13 +1,90 @@ diff --git a/frontend/src/views/api-test/scenario/locale/en-US.ts b/frontend/src/views/api-test/scenario/locale/en-US.ts index 7d372229fc..056e22b045 100644 --- a/frontend/src/views/api-test/scenario/locale/en-US.ts +++ b/frontend/src/views/api-test/scenario/locale/en-US.ts @@ -80,4 +80,20 @@ export default { 'apiScenario.scriptOperationName': 'Script operation name', 'apiScenario.scriptOperationNamePlaceholder': 'Please enter the script operation name', + + 'apiScenario.setting.cookie.config': 'Cookie configuration', + 'apiScenario.setting.environment.cookie': 'Environment Cookie', + 'apiScenario.setting.share.cookie': 'Shared Cookie', + 'apiScenario.setting.run.config': 'Run configuration', + 'apiScenario.setting.step.waitTime': 'Step wait time', + 'apiScenario.setting.waitTime': 'Wait time', + 'apiScenario.setting.step.rule': 'Step execution failure rule', + 'apiScenario.setting.step.rule.ignore': 'Ignore error and continue execution', + 'apiScenario.setting.step.rule.stop': 'Stop/end execution', + 'apiScenario.setting.cookie.config.tip': + 'When there are both global and scene variable cookies, shared cookies will overwrite both global and scene variable cookies', + 'apiScenario.setting.share.cookie.tip': + 'As long as the system extracts the returned cookie information from the result of a certain step, the subsequent steps will use this cookie. If a cookie variable is added to the request, it will also be overwritten', + 'apiScenario.setting.waitTime.tip': + 'When running a scenario, each step of the scenario will wait for a certain time after execution before triggering the next step to start execution', }; diff --git a/frontend/src/views/api-test/scenario/locale/zh-CN.ts b/frontend/src/views/api-test/scenario/locale/zh-CN.ts index 03e9de9cda..5473a1100d 100644 --- a/frontend/src/views/api-test/scenario/locale/zh-CN.ts +++ b/frontend/src/views/api-test/scenario/locale/zh-CN.ts @@ -166,4 +166,19 @@ export default { 'apiScenario.scriptOperationName': '脚本操作名称', 'apiScenario.scriptOperationNamePlaceholder': '请输入脚本操作名称', + + 'apiScenario.setting.cookie.config': 'Cookie 配置', + 'apiScenario.setting.environment.cookie': '环境 Cookie', + 'apiScenario.setting.share.cookie': '共享 Cookie', + 'apiScenario.setting.run.config': '运行配置', + 'apiScenario.setting.step.waitTime': '步骤等待时间', + 'apiScenario.setting.waitTime': '等待时间', + 'apiScenario.setting.step.rule': '步骤执行失败规则', + 'apiScenario.setting.step.rule.ignore': '忽略错误,继续执行', + 'apiScenario.setting.step.rule.stop': '停止/结束执行', + 'apiScenario.setting.cookie.config.tip': + '同时存在全局变量cookie与场景变量cookie时,共享cookie会覆盖全局cookie与场景变量cookie', + 'apiScenario.setting.share.cookie.tip': + '系统只要从某个步骤的结果内提取到返回的cookie信息,则后续步骤都会使用此 cookie ,如果请求添加了Cookie 变量也会被覆盖', + 'apiScenario.setting.waitTime.tip': '运行场景时,场景的每一个步骤执行后都会等待相应的时间再触发下一个步骤开始执行', };