From fbf4d6fb15ab0ca6c0a364c8107fa20ebb37c9f2 Mon Sep 17 00:00:00 2001 From: fanfuxiaoran <495538672@qq.com> Date: Fri, 22 Aug 2014 11:09:32 +0800 Subject: [PATCH 1/5] add stop to testplan --- .../src/main/resources/ipConfig.properties | 2 +- .../webapp/WEB-INF/classes/i18n_en.properties | 5 +-- .../webapp/WEB-INF/classes/i18n_zh.properties | 2 ++ .../src/main/webapp/i18n/i18n.properties | 3 +- .../main/webapp/i18n/i18n_zh-CN.properties | 3 +- Bench4Q-Web/src/main/webapp/result.jsp | 11 +++++-- .../main/webapp/script/testResult/result.js | 33 +++++++++++++++---- .../src/test/resources/ipConfig.properties | 2 +- 8 files changed, 45 insertions(+), 16 deletions(-) diff --git a/Bench4Q-Web/src/main/resources/ipConfig.properties b/Bench4Q-Web/src/main/resources/ipConfig.properties index 06535e4f..8184dc34 100644 --- a/Bench4Q-Web/src/main/resources/ipConfig.properties +++ b/Bench4Q-Web/src/main/resources/ipConfig.properties @@ -1 +1 @@ -masterAddress=133.133.2.100:8901 \ No newline at end of file +masterAddress=127.0.0.1:8901 \ No newline at end of file diff --git a/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_en.properties b/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_en.properties index e3ee66df..5e14671b 100644 --- a/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_en.properties +++ b/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_en.properties @@ -204,5 +204,6 @@ staticTip=The static resources contains:js,css,jpeg,gif,png files. timeTipe=The Think time refers the time between tow behaviors. startServer=start server to generate a script or upload a script to server testExecuteTime=Execute Time - -startServerFail=Fail to start record server: \ No newline at end of file +startServerFail=Fail to start record server: +stopTestPlan=Stop Test +stop=Stop \ No newline at end of file diff --git a/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_zh.properties b/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_zh.properties index b30aaa2f..360262ac 100644 --- a/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_zh.properties +++ b/Bench4Q-Web/src/main/webapp/WEB-INF/classes/i18n_zh.properties @@ -206,3 +206,5 @@ staticTip=\u9759\u6001\u8D44\u6E90\u4E3B\u8981\u662F\u6307:js,css,jpeg,gif,png\u timeTip=\u601D\u8003\u65F6\u95F4\u6307\u7684\u662F\u7528\u6237\u4E24\u4E2A\u8FDE\u7EED\u884C\u4E3A\u4E4B\u95F4\u7684\u95F4\u9694\u65F6\u95F4 startServer=\u70B9\u51FB\u542F\u52A8\u670D\u52A1\u5F55\u5236\u811A\u672C\u6216\u8005\u4E0A\u4F20\u811A\u672C\u6587\u4EF6 testExecuteTime=\u6267\u884C\u65F6\u95F4 +stopTestPlan=\u505C\u6B62\u6D4B\u8BD5 +stop=\u505C\u6B62 diff --git a/Bench4Q-Web/src/main/webapp/i18n/i18n.properties b/Bench4Q-Web/src/main/webapp/i18n/i18n.properties index e233f632..eb379906 100644 --- a/Bench4Q-Web/src/main/webapp/i18n/i18n.properties +++ b/Bench4Q-Web/src/main/webapp/i18n/i18n.properties @@ -44,4 +44,5 @@ recordScript=Record Script stopRecord=The script recording has been stopped, please input the script name and save it. saveScriptSuccess=Save successfully. saveScriptFail=Fail to save script. -plugin_jsp_addPage=Add Page \ No newline at end of file +plugin_jsp_addPage=Add Page +stopTestPlan_fail=Stop running test plan fail \ No newline at end of file diff --git a/Bench4Q-Web/src/main/webapp/i18n/i18n_zh-CN.properties b/Bench4Q-Web/src/main/webapp/i18n/i18n_zh-CN.properties index 91d45e55..4ad94669 100644 --- a/Bench4Q-Web/src/main/webapp/i18n/i18n_zh-CN.properties +++ b/Bench4Q-Web/src/main/webapp/i18n/i18n_zh-CN.properties @@ -40,4 +40,5 @@ recordScript=\u5F55\u5236\u811A\u672C stopRecord=\u505C\u6B62\u811A\u672C\u5F55\u5236\uFF0C\u8BF7\u8F93\u5165\u811A\u672C\u540D\u79F0\uFF0C\u4FDD\u5B58\u811A\u672C saveScriptSuccess=\u4FDD\u5B58\u6210\u529F\u3002 saveScriptFail=\u4FDD\u5B58\u811A\u672C\u5931\u8D25 -plugin_jsp_addPage=\u52A0\u9875 \ No newline at end of file +plugin_jsp_addPage=\u52A0\u9875 +stopTestPlan_fail=\u505C\u6B62\u8FD0\u884C\u6D4B\u8BD5\u8BA1\u5212\u5931\u8D25 \ No newline at end of file diff --git a/Bench4Q-Web/src/main/webapp/result.jsp b/Bench4Q-Web/src/main/webapp/result.jsp index 1cf3a318..87d327f3 100644 --- a/Bench4Q-Web/src/main/webapp/result.jsp +++ b/Bench4Q-Web/src/main/webapp/result.jsp @@ -67,23 +67,28 @@ body { --%>