Font Size: a A A

Performance Testing Of Web Application Based On Websocket Protocol

Posted on:2015-07-28Degree:MasterType:Thesis
Country:ChinaCandidate:H ZhaoFull Text:PDF
GTID:2298330467957560Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of Internet application, the methods and tools of Web application performance testing based on the traditional HTTP protocol have become more and more mature. In the next generation of Web standard HTML5, many Web applications are implemented by WebSocket protocol which allows the real-time communication between browser and Web server. The Web application has changed from single HTTP protocol to a type of composite application that supports both HTTP protocol and WebSocket protocol because of the introduction of WebSocket protocol. At present, the popular performance testing tools do not support WebSocket protocol yet. So how to test and measure the performance of WebScoket based Web application becomes a topic worth of study in the area of software performance testing.Firstly, this paper studies and analyzes the theory of Web Application performance testing, including principle, classification, indicator, performance testing tool and method. Through the comparison of traditional real time communication technologies in Web application, this paper describes the technical feature and working principle of WebSocket protocol.Secondly, this paper summarizes the differences in performance characteristic between traditional HTTP protocol based Web application and WebSocket protocol based Web application by analyzing a Web event processing system implemented by WebSocket protocol. According to the performance characteristics, some key performance indicators are redefined and a set of performance testing cases and scenarios are designed.Again, a performance testing method for the Web event processing system based on WebSocket protocol is proposed. By extending the existing performance testing tools such as JMeter and developing independent WebSocket client software, this paper designs and implements a suitable performance testing framework for WebSocket protocol.Finally, we run performance testing against the Web event processing system based on WebSocket protocol using the performance testing framework we developed, to verify the correctness and effectiveness of the performance testing framework. During the progress of performance testing, we collect and analyze the performance indicators to figure out the system bottleneck and put forward some improvement suggestions.
Keywords/Search Tags:software testing, performance testing, WebSocket, Web application, JMeter
PDF Full Text Request
Related items