发明名称 Load test system for a server and method of use
摘要 A method and system for load testing a server is disclosed. The method and system includes providing at least one virtual user, each of which simulates one client device, a main thread to emulate a plurality of user sessions between the at least one virtual user and the server, wherein each user session includes at least one request/response pair, and generating a plurality of subthreads from the main thread, wherein each subthread emulates one of the plurality of user sessions. The method and system further includes, building in each virtual user a message that includes a request extracted from the at least one request/response pairs in the one user session, and transmitting that message to the server. The method and system according to the preferred embodiment of the present invention easily creates a system load, quickly composes multi-user test scenarios, and automatically runs load testing. One aspect of the method and system of the present invention supports a stateful model, i.e., messages can be built based on previous synchronization user sessions with the server, because information that is to be used in subsequent messages or user sessions is stored and updated in a configuration file. Messages are then built to include information stored in the configuration file. In another aspect of the present invention, security information is also stored in the configuration file so that the subthread can emulate secure communications between the virtual user and the server.
申请公布号 US2003182408(A1) 申请公布日期 2003.09.25
申请号 US20020077237 申请日期 2002.02.15
申请人 HU QINGLONG 发明人 HU QINGLONG
分类号 G06F11/34;H04L12/24;H04L12/26;H04L29/06;(IPC1-7):G06F9/44;G06F15/173 主分类号 G06F11/34
代理机构 代理人
主权项
地址