透過您的圖書館登入
IP:18.222.131.58
  • 學位論文

以雲端測試服務進行之Web應用程式效能測試實驗

Performance Testing Experiments for Web Applications Based on a Cloud Testing Service

指導教授 : 陳偉凱

摘要


在網站應用程式的設計與開發階段,測試人員除了必須確保各種功能均能正常執行以外,還要考量伺服器的系統效能,如反應時間、同時支援的上線使用者數量等,以確保網站應用程式的品質與穩定性。本論文使用台北科大軟體開發與測試實驗室所開發的雲端測試服務進行系統的效能測試,測試人員以HyperGTT撰寫測試腳本,透過雲端效能測試服務模擬大量的使用者操作Web應用程式,系統可以將測試流程自動化,並且自動產生報表,由報表中得知伺服器的CPU、Disk、Network及Memory的使用率,再利用這些數據找出系統效能的瓶頸,做為調整系統軟硬體的依據。本論文設計4個實驗,分別探討在虛擬機器中的硬體資源分配方式、適當的模擬使用者數量,並且量測Web應用程式中單一或混合功能所能同時服務的使用者數量。實驗結果顯示虛擬機器的硬體資源採用平均分配的方式優於集中分配,並且可以找出Web應用程式各功能所能同時服務的使用者數量。

並列摘要


During the design and development of web applications, in addition to testing functional requirements, a tester must make sure that the performance of the system, such as response time and the maximum number of concurrent users, is acceptable so that the quality and stability of the application can be satisfied. This thesis conducts performance testing based on the cloud testing system developed by the Software Development and Testing Lab of National Taipei University of Technology. A tester writes a test script by using HyperGTT. The cloud testing system can simulate many virtual users simultaneously and can automatically perform testing and generate test reports. The bottleneck of the web application can be identified by analyzing the test report, which contains the test execution time and the usage of CPU, Disk, Network, and Memory. This thesis designs 4 experiments to study the distribution of hardware resources, the number of virtual users that a virtual machine can simulate, and the number of concurrent users that a web application can serve. The experimental results reveal that distributing hardware resources is better than centralizing them. In addition, the maximum number of concurrent users for each use-case scenario can be identified.

參考文獻


[47] 張哲銘,一個以巨集為基礎的圖型使用者介面測試規格語言,碩士論文,國立台北科技大學資訊工程所,台北,2004年。94TIT00392004。
[54] 溫聖凱,一個以合約語言為基礎的圖型使用者介面測試案例產生工具,碩士論文,國立台北科技大學資訊工程所,台北,2007年。095TIT05392023。
[55] 朱曉晏,一個可調整功能的線上會議管理系統,碩士論文,國立台北科技大學資訊工程研究所,台北,2009年。097TIT05392016。
[57] 吳先達,一個以階層式有限狀態機為基礎的圖型使用者介面測試案例產生工具,碩士論文,國立台北科技大學資訊工程所,台北,2007年。095TIT05392019。
[58] 王振宇,一個以Harel Statechart為基礎的GUI測試案例產生工具,碩士論文,國立台北科技大學資訊工程所,台北,2008。096TIT05392024。

延伸閱讀