????????????????????!
+
From def1229fadd6d3d0c2e9b514dc4a4cd596aa7c18 Mon Sep 17 00:00:00 2001 From: fanfuxiaoran <495538672@qq.com> Date: Tue, 1 Jul 2014 16:38:03 +0800 Subject: [PATCH] refactor testPlan result --- .../RecordScriptTestCase/baidu.html | 63 +++ .../master/api/TestPlanController.java | 21 +- .../service/TestPlanScriptResultService.java | 13 + .../domain/service/TestPlanService.java | 10 +- .../service/Test_TestPlanService.java | 2 +- .../models/master/ScriptHandleModel.java | 38 ++ .../models/master/TestPlanResultModel.java | 22 +- Bench4Q-Web/TestResult.xml | 105 +++++ .../main/java/org/bench4q/web/api/Main.java | 110 +++++ .../bench4q/web/api/TestPlanController.java | 395 ++++++++++++++++++ .../web/api/TestPlanHistoryController.java | 103 +++++ .../bench4q/web/init/TestResultHandle.java | 54 +++ .../web/masterMessager/ScriptMessager.java | 4 + .../bench4q/web/model/ResultInfoModel.java | 40 +- .../org/bench4q/web/model/TestResult.java | 22 + .../web/model/WebTestPlanResultModel.java | 64 --- .../bench4q/web/service/MonitorService.java | 149 +++++++ .../bench4q/web/service/PluginService.java | 30 ++ .../bench4q/web/service/TestPlanService.java | 56 +-- Bench4Q-Web/src/main/resources/SUT_result.xml | 57 +++ .../src/main/resources/ipConfig.properties | 2 +- .../src/main/resources/script_result.xml | 53 +++ .../src/main/webapp/WEB-INF/homepage.jsp | 134 ++++++ Bench4Q-Web/src/main/webapp/portManage.jsp | 2 +- Bench4Q-Web/src/main/webapp/result.jsp | 200 +-------- Bench4Q-Web/src/main/webapp/script/script.js | 17 +- .../script/testResult/behaviorAndPage.js | 18 +- .../main/webapp/script/testResult/charts.js | 262 ++++++------ .../webapp/script/testResult/graphSelector.js | 253 +++++++++++ .../script/testResult/graphSelectorTree.js | 131 ++++++ .../main/webapp/script/testResult/result.js | 52 +-- .../webapp/script/testResult/resultNew.js | 178 ++++++++ .../script/testResult/testBriefResult.js | 127 +++--- .../src/main/webapp/script/testResult/tree.js | 226 ++++++++++ 34 files changed, 2432 insertions(+), 581 deletions(-) create mode 100644 Bench4Q-Master/RecordScriptTestCase/baidu.html create mode 100644 Bench4Q-Share/src/main/java/org/bench4q/share/models/master/ScriptHandleModel.java create mode 100644 Bench4Q-Web/TestResult.xml create mode 100644 Bench4Q-Web/src/main/java/org/bench4q/web/api/Main.java create mode 100644 Bench4Q-Web/src/main/java/org/bench4q/web/api/TestPlanController.java create mode 100644 Bench4Q-Web/src/main/java/org/bench4q/web/api/TestPlanHistoryController.java create mode 100644 Bench4Q-Web/src/main/java/org/bench4q/web/init/TestResultHandle.java create mode 100644 Bench4Q-Web/src/main/java/org/bench4q/web/model/TestResult.java delete mode 100644 Bench4Q-Web/src/main/java/org/bench4q/web/model/WebTestPlanResultModel.java create mode 100644 Bench4Q-Web/src/main/java/org/bench4q/web/service/MonitorService.java create mode 100644 Bench4Q-Web/src/main/java/org/bench4q/web/service/PluginService.java create mode 100644 Bench4Q-Web/src/main/resources/SUT_result.xml create mode 100644 Bench4Q-Web/src/main/resources/script_result.xml create mode 100644 Bench4Q-Web/src/main/webapp/WEB-INF/homepage.jsp create mode 100644 Bench4Q-Web/src/main/webapp/script/testResult/graphSelector.js create mode 100644 Bench4Q-Web/src/main/webapp/script/testResult/graphSelectorTree.js create mode 100644 Bench4Q-Web/src/main/webapp/script/testResult/resultNew.js create mode 100644 Bench4Q-Web/src/main/webapp/script/testResult/tree.js diff --git a/Bench4Q-Master/RecordScriptTestCase/baidu.html b/Bench4Q-Master/RecordScriptTestCase/baidu.html new file mode 100644 index 00000000..52ca5b51 --- /dev/null +++ b/Bench4Q-Master/RecordScriptTestCase/baidu.html @@ -0,0 +1,63 @@ + +
+ ++ |
+
|
+
????????????????????!
Page | -Script | -Count | -Test Min | -Test Max | -Average | -Last | -
---|
- | URL | -Script | -Successful | -Total | -
---|