CN100394732C - WAP gateway performance test method - Google Patents

WAP gateway performance test method Download PDF

Info

Publication number
CN100394732C
CN100394732C CNB2005101128287A CN200510112828A CN100394732C CN 100394732 C CN100394732 C CN 100394732C CN B2005101128287 A CNB2005101128287 A CN B2005101128287A CN 200510112828 A CN200510112828 A CN 200510112828A CN 100394732 C CN100394732 C CN 100394732C
Authority
CN
China
Prior art keywords
gateway
response
connection request
client emulator
interface channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005101128287A
Other languages
Chinese (zh)
Other versions
CN1744535A (en
Inventor
杨光华
刘钧毅
程卫东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CNB2005101128287A priority Critical patent/CN100394732C/en
Publication of CN1744535A publication Critical patent/CN1744535A/en
Application granted granted Critical
Publication of CN100394732C publication Critical patent/CN100394732C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a WAP gateway performance testing method which comprises the following procedures: 1. a client end emulator transmits a first connection request to a WAP2.0 gateway; 2. the WAP2.0 gateway returns a first response and transmits a second connection request; 3. a server emulator returns the second response; 4. the client end emulator obtains the performance index of the WAP2.0 gateway. The other WAP gateway performance testing method comprises the following procedures: 1. the client end emulator transmits a plurality of first connection requests to the WAP2.0 gateway; 2. the WAP2.0 gateway returns a plurality of first responses and transmits a plurality of second connection requests; 3. the server emulator returns a plurality of second responses; 4. the client end emulator transmits a service request; 5. the WAP2.0 gateway retransmits the service request; 6. the server emulator returns a third response; 7. the WAP2.0 gateway retransmits the third response; 8. the performance index of the WAP2.0 gateway is obtained.

Description

The method of testing of WAP gateway performance
Technical field
The present invention relates to a kind of method of testing of WAP gateway performance, especially a kind of method of testing of utilizing the WAP2.0 gate performance of emulation client and emulation server.
Background technology
The function of the existing acting server of WAP gateway has the function of gateway again concurrently, so is referred to as WAP gateway, and it mainly contains protocol conversion and codec functions.WAP gateway connects mobile communications network and Internet, and portable terminal can have access to content server on the Internet by WAP gateway, thereby obtains the abundant information service that the Internet content server provides.
The WAP2.0 gateway has just appearred in 2.0 editions release along with wap protocol, all functions of the WAP2.0 gateway is integrated WAP1.2 and WAP2.0.As shown in Figure 1, schematic diagram for WAP2.0 gateway place network environment, WAP terminal 20 is undertaken alternately by Radio Access Networks such as GSM CSD/GPRS21 and WAP2.0 gateway 1, and WAP2.0 gateway 1 is undertaken by Internet31 and various application server 30 alternately.WAP terminal 20 and wireless network side thereof are called wireless side, and Internet and various application server 30 1 sides are called wired side, WAP terminal 20 is sent service request by Wi-Fi to the WAP2.0 gateway, transmit to application server 30 by WAP2.0 gateway 1, application server 30 is replied response, and by WAP2.0 gateway forwards and WAP terminal 20.
Along with developing rapidly of WAP2.0 technology and related service, the handling property of gateway device is directly connected to the quality of network operation, therefore must be extremely important to the test of WAP2.0 gateway quality.Existing test to the WAP2.0 gateway also is confined to by a large amount of PC, uses the corresponding software programs modelling customer behavior to carry out the WAP2.0 test, and does not have special Performance Test System.In test process, use a lot of PC aptitude tests to go out the performance of WAP2.0 gateway possibly, so testing cost is very high, and very loaded down with trivial details.
Summary of the invention
The objective of the invention is at the deficiencies in the prior art, propose a kind of method of testing of WAP gateway performance, can be very flexibly and the performance of testing WAP gateway easily.
For realizing purpose of the present invention, the present invention also provides a kind of method of testing WAP gateway largest request processing speed, comprises the steps:
For realizing purpose of the present invention, the present invention also provides a kind of method of testing WAP gateway largest request processing speed, comprises the steps:
Step 1, N WAP2.0 terminal of client emulator simulation send N first connection request to the WAP2.0 gateway;
Step 2, described WAP2.0 gateway return and described N this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and described N the same number of this N of first connection request second connection request to the server simulator;
Step 3, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Described N the interface channel that step 4, described client emulator are set up based on client emulator in the step 2 and WAP2.0 gateway, simulate this N WAP2.0 terminal to the WAP2.0 gateway by setting speed transmission service request;
Step 5, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 6, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 7, described WAP2.0 gateway are transmitted described the 3rd response to client emulator;
Step 8, this client emulator obtain the performance index of WAP2.0 gateway according to described the 3rd response.
Described step 4 is specially: described client emulator is based on described this N interface channel, and WAP2.0 terminal of simulation sends service request according to identical speed to the WAP2.0 gateway on each interface channel.
After the described step 7, also comprise before the step 8:
Step 700, client emulator are judged described the 3rd response, if be success response then disconnect all N interface channel, execution in step 701; If comprise failure response, then disconnect all N interface channel, execution in step 709;
Step 701, client emulator are simulated this N WAP2.0 terminal to the WAP2.0 gateway, send and send for the first time the same number of this N of first connection request first connection request;
Step 702, described WAP2.0 gateway return and N described in the step 701 this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of N of first connection request second connection request to the server simulator;
Step 703, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Described N the interface channel that step 704, described client emulator are set up based on client emulator in the step 702 and WAP2.0 gateway, simulation WAP2.0 terminal increases transmission rate respectively to WAP2.0 gateway transmission service request on each interface channel;
Step 705, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 706, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 707, described WAP2.0 gateway are transmitted described the 3rd response that the server simulator returns to the WAP2.0 gateway in the step 706 to client emulator;
Described the 3rd response that the WAP2.0 gateway is transmitted to client emulator in step 708, the client emulator determining step 707 if be success response then disconnect all N interface channel, is returned step 701 and is carried out successively; If comprise failure response, then disconnect all N interface channel, execution in step 709;
Step 709, client emulator are simulated this N WAP2.0 terminal to the WAP2.0 gateway, send and send for the first time the same number of this N of connection request first connection request;
Step 710, described WAP2.0 gateway return and N described in the step 709 this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of this N of first connection request second connection request to the server simulator;
Step 711, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
This N interface channel that step 712, described client emulator are set up based on client emulator in the step 710 and WAP2.0 gateway, simulation WAP2.0 terminal on each interface channel, according to the transmission rate that the pairing service request of failure response occurs, be the transmission rate of the pairing service request of response of the success speed after average for the last time, send service request to the WAP2.0 gateway respectively;
Step 713, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 714, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 715, described WAP2.0 gateway are transmitted described the 3rd response that the server simulator returns to the WAP2.0 gateway in the step 714 to client emulator;
Step 716, described client emulator are judged described the 3rd response, and send service request according to average principle to described WAP2.0 gateway.
Described step 716 is specially:
Described the 3rd response that the WAP2.0 gateway is transmitted to client emulator in step 7160, the client emulator determining step 715 is if be success response then all N of break step interface channel, execution in step 7161; If comprise failure response, then disconnect all N interface channel, execution in step 7166;
Step 7161, described client emulator judge that this is the transmission rate of the pairing service request of success response, with the transmission rate that comprises the pairing service request of failure response for the last time whether can be average, if can be on average then execution in step 7162, otherwise execution in step 8;
Step 7162, client emulator are simulated this N WAP2.0 terminal to the WAP2.0 gateway, send and send for the first time the same number of this N of connection request first connection request;
Step 7163, described WAP2.0 gateway return and this N described in the step 7162 this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of this N of first connection request second connection request to the server simulator;
Step 7164, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Described N the interface channel that step 7165, described client emulator are set up based on client emulator in the step 7163 and WAP2.0 gateway, simulation WAP2.0 terminal on each interface channel, transmission rate according to the corresponding service request that is success response, comprise the transmission rate of corresponding service request of the failure response speed after average for the last time, send service request to the WAP2.0 gateway respectively, return step 713 and carry out successively;
Step 7166, described client emulator judge that this comprises the transmission rate of the pairing service request of failure response, with the transmission rate that is the pairing service request of success response for the last time whether can be average, if can be on average then execution in step 7167, otherwise execution in step 8;
Step 7167, client emulator are simulated this N WAP2.0 terminal to the WAP2.0 gateway, send and send for the first time the same number of this N of connection request first connection request;
Step 7168, described WAP2.0 gateway return and N described in the step 7167 this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of this N of first connection request second connection request to the server simulator;
Step 7169, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Described N the interface channel that step 71610, described client emulator are set up based on client emulator in the step 7168 and WAP2.0 gateway, simulation WAP2.0 terminal on each interface channel, according to comprising the pairing service request transmission rate of failure response, be for the last time success response the speed of corresponding service request transmission rate after average, send service request to the WAP2.0 gateway respectively, return step 713 and carry out successively;
In addition, after the described step 7, can also comprise before the step 8:
Step 70, client emulator are judged described the 3rd response, if be success response then disconnect all interface channels, the transmission number that increases first connection request returns step 1 and carries out successively; If comprise failure response, then disconnect all interface channels, execution in step 71;
Step 71, described client emulator are according to the transmission number that comprises pairing first connection request of failure response and be the average number N of the transmission number of pairing first connection request of success response for the last time j, send first connection request to the WAP2.0 gateway;
Step 72, described WAP2.0 gateway return and described N to this client emulator jThe same number of this N of individual first connection request jIndividual first response, described client emulator and WAP2.0 gateway are set up this N jIndividual interface channel, described WAP2.0 gateway sends and described N to the server simulator jThe same number of N of individual first connection request jIndividual second connection request;
Step 73, server simulator return and this N to described WAP2.0 gateway jThe same number of this N of individual second connection request jIndividual second response, described server simulator and WAP2.0 gateway are also set up this N jIndividual interface channel;
The described N that step 74, described client emulator are set up based on client emulator in the step 72 and WAP2.0 gateway jIndividual interface channel is simulated this N jIndividual WAP2.0 terminal sends service request to the WAP2.0 gateway according to the transmission rate of service request first;
Step 75, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 76, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 77, described WAP2.0 gateway are transmitted described the 3rd response that the server simulator returns to the WAP2.0 gateway in the step 76 to client emulator;
Step 78, client emulator are judged described the 3rd response, according to average principle, send first connection request to the WAP2.0 gateway.
Described step 78 is specially:
Described the 3rd response that the WAP2.0 gateway is transmitted to client emulator in step 780, the client emulator determining step 77 is if be success response then disconnect all interface channels, execution in step 781; If comprise failure response, then disconnect all interface channels, execution in step 783;
Step 781, described client emulator judge that this is the transmission number of pairing first connection request of success response, with the transmission number of pairing first connection request that comprises failure response for the last time whether can be average, if can be on average then execution in step 782, otherwise execution in step 8;
Step 782, client emulator simulation N kIndividual WAP terminal is to the WAP2.0 gateway, according to be success response corresponding first connection request the transmission number and comprise the transmission number of pairing first connection request of the failure response number N after average for the last time kSend first connection request, return step 72 and carry out successively, and with step 72 and the numerical value of N in the execution in step successively jReplace with numerical value of N k
Step 783, described client emulator judge that this all comprises the number that pairing first connection request of failure response sends, with be pairing first connection request of success response for the last time and send number whether can be average, if can be on average then execution in step 784, otherwise execution in step 8;
Step 784, client emulator simulation N mIndividual WAP terminal is to the WAP2.0 gateway, according to the transmission number that comprises pairing first connection request of failure response, and is number that pairing first connection request of success response the sends number N after average for the last time mSend first connection request, return step 72 and carry out successively, and with step 72 and the numerical value of N in the execution in step successively jReplace with numerical value of N m
The performance index of the WAP2.0 gateway in the described step 8 are the largest request processing speed.Therefore, realized flexibly for the method for testing that realizes the WAP gateway performance that purpose of the present invention provides and easily the performance of WAP gateway has been tested.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the schematic diagram of WAP2.0 gateway place network environment.
The structure chart of the method for testing of Fig. 2 WAP gateway performance of the present invention.
Fig. 3 is the protocol stack schematic diagram of the method for testing of WAP gateway performance of the present invention.
Fig. 4 tests the method flow diagram of maximum concurrent connection number for the method for testing of WAP gateway performance of the present invention.
Fig. 5 tests one of method flow diagram of largest request processing speed for the method for testing of WAP gateway performance of the present invention.
Fig. 6 is two of the method flow diagram of the method for testing of WAP gateway performance of the present invention test largest request processing speed.
Fig. 7 is the method flow diagram of the another kind of test of the method for testing largest request processing speed of WAP gateway performance of the present invention.
Embodiment
The present invention is that the WAP2.0 gateway is independent, breaks away from other network equipments except that gateway fully, utilizes the simulation of emulation client and emulation server and other mutual network equipments of gateway, with the performance of test WAP2.0 gateway.
In conjunction with illustrated in figures 1 and 2, the present invention utilizes client emulator 1 to simulate the mobile subscriber, Radio Access Networks such as emulation WAP terminal 20 and GSM CSD/GPRS20, and come Internet simulation 21 and various application server 30 with server simulator 3, and the various data service platforms that provide of cellular carrier, (refer to a kind of downloading service as MMS (service of Multimedia Message Service Multimedia Message) and KJava based on Java, owing to be program at mobile phone, size is all smaller, about general several KB, so be Kjava) business model such as download, promptly utilize client emulator 1 can simulate a plurality of mobile subscribers (passing through GGSN), utilize a plurality of Web servers of server simulator 3 simulations, and the various data service platforms that provide of cellular carrier, (refer to a kind of downloading service as MMS (service of Multimedia MessageService Multimedia Message) and KJava based on Java, owing to be program at mobile phone, size is all smaller, about general several KB, so be Kjava) business model such as download, and all be connected with WAP2.0 gateway 2.The structure of client emulator 1 and server simulator 3 is simpler than its equipment of simulating and network, can simulate visible agreement of WAP gateway system and service traffics.Client emulator 1 can emulation WAP1.2 and WAP2.0 agreement and base service traffics thereon; Server simulator 3 can emulation http protocol and base service traffics thereon.The top of WAP1.2 agreement is the WSP agreement, and the top of WAP2.0 agreement is the WHTTP agreement.Be that wireless side and wired side among Fig. 1 replaced with client emulator 1 and server simulator 3 respectively, can obtain structure of the present invention as shown in Figure 2.Therefore WAP2.0 gateway 2 is independent, break away from other network equipments except that WAP2.0 gateway 2 fully, simulated the network equipment (as GGSN and Web Server) mutual with client emulator 1 and server simulator 3 fully, can guarantee the order of accuarcy of testing with WAP2.0 gateway 2.
The major function of WAP2.0 gateway is the processing of transport layer, the WAP2.0 gateway is wireless side and the mutual node of wired top-cross in mobile data services are handled, what use in wireless side is Wireless ProfiledTCP protocol stack, and what then use in wired side is the tcp protocol stack of standard.
WTCP (Wireless Transmission Control Protocol wireless transmission control protocol) is the protocol stack of formulating at the characteristics of wireless transmission based on TCP, and the tcp protocol stack of standard has been carried out following optimization:
1, big window (Large Window Size)
2, big initialization window (Large Initial Window)
3, window is weighed option (Window Scale Option)
4, MTU is than the MTU bigger (MTU Larger than Default IP MTU) of acquiescence
5, selective acknowledgement (Selective Acknowledgement)
As shown in Figure 3, at the characteristics of WTCP, the present invention makes up new protocol stack according to the optimization option of WTCP, mainly comprises following several:
1, adjustable window size
Can arbitrarily adjust window size, can use different window sizes to test according to the demand of different testing standards
2, adjustable MTU size
Can arbitrarily adjust the size of MTU according to the requirement of different testing standards and different WAP2.0 gateway devices, rather than 1500 bytes of acquiescence;
3, the SACK option of TCP
Increase the SACK option in the TCP Option option, satisfy the requirement of WTCP protocol stack.
Based on making up complete WTCP protocol stack, can on WTCP, carry out various application layer tests, as HTTP over WTCP, use WAP gateway to send the WHTTP request to server as the agency.Being to be the WTCP agreement between client emulator and the WAP20. gateway, is Transmission Control Protocol between WAP20. gateway and the server simulator.
As shown in Figure 4, test the method flow diagram of maximum concurrent connection number for the method for testing of WAP gateway performance of the present invention, method of testing is:
Step 101, client emulator simulation WAP terminal send connection request to the WAP2.0 gateway;
Step 102, WAP2.0 gateway return response to described client emulator;
Step 103, client emulator are judged this response, if for success response then keep being connected with the WAP2.0 gateway, simulate another WAP terminal execution in step 101; Otherwise, execution in step 104;
The number of all success responses that step 104, this client emulator are returned according to the WAP2.0 gateway, promptly the number that connects with the WAP2.0 gateway is the maximum concurrent connection number of this WAP2.0 gateway, i.e. the maximum concurrent connection number supported of WAP2.0 gateway.
Because the WAP2.0 gateway is the limited WAP terminal of number of connection simultaneously, how many WAP terminals are the method can connect simultaneously in order to test this WAP2.0 gateway exactly.
As shown in Figure 5 and Figure 6, for the present invention tests the method flow diagram of largest request processing speed, because this method flow process is very big, therefore is divided into two width of cloth figure and describes, identical alphabetical A, B and C represents tie point in the way, and method of testing is:
Step 201, N WAP terminal of client emulator simulation send N first connection request to the WAP2.0 gateway;
Step 202, described WAP2.0 gateway return and described N N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up N interface channel, and described WAP2.0 gateway sends and described N the same number of N of first connection request second connection request to the server simulator;
Step 203, server simulator return and N the corresponding N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up N interface channel;
Step 204, described client emulator are based on a described N interface channel, and WAP terminal of simulation sends service request according to identical speed to the WAP2.0 gateway on each interface channel; Promptly the speed according to NM/S sends service request to the WAP2.0 gateway;
Step 205, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 206, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 207, described WAP2.0 gateway are transmitted described the 3rd response to client emulator;
Step 208, client emulator are judged described the 3rd response, if be success response then disconnect a described N interface channel, execution in step 211; If comprise failure response, then disconnect described several interface channels, execution in step 221;
Step 211, N WAP terminal of client emulator simulation send N first connection request to the WAP2.0 gateway;
Step 212, described WAP2.0 gateway return and described N N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up N interface channel, and described WAP2.0 gateway sends and the same number of N of first connection request second connection request to the server simulator;
Step 213, server simulator return and N the corresponding N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up N interface channel;
Step 214, described client emulator are based on a described N interface channel, and simulation WAP terminal increases transmission rate according to M on each interface channel i/ SM/S sends service request to the WAP2.0 gateway respectively; Be that transmission rate is NM i/ S;
Step 215, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 216, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 217, described WAP2.0 gateway are transmitted described the 3rd response to client emulator;
Step 218, client emulator are judged described the 3rd response, if be success response then disconnect a described N interface channel, execution in step 211; If comprise failure response, then disconnect a described N interface channel, execution in step 221;
Step 221, N WAP terminal of client emulator simulation send and send for the first time the same number of N of connection request first connection request to the WAP2.0 gateway;
Step 222, described WAP2.0 gateway return and described N N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up N interface channel, and described WAP2.0 gateway sends N second connection request to the server simulator;
Step 223, server simulator return and N the corresponding N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up N interface channel;
Step 224, described client emulator are based on described several interface channels, simulation WAP terminal on each interface channel, according to the transmission rate that the pairing service request of failure response occurs, be the transmission rate of the pairing service request of response of the success speed after average for the last time, send service request to the WAP2.0 gateway respectively;
Step 225, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 226, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 227, described WAP2.0 gateway are transmitted described the 3rd response to client emulator;
Step 228, client emulator are judged described the 3rd response, if be success response then disconnect a described N interface channel, execution in step 230; If comprise failure response, then disconnect a described N interface channel, execution in step 240;
Step 230, described client emulator judge that this is the transmission rate of the pairing service request of success response, with the transmission rate that comprises the pairing service request of failure response for the last time whether can be average, if can be on average then execution in step 231, otherwise execution in step 250;
Step 231, N WAP terminal of client emulator simulation send N first connection request to the WAP2.0 gateway;
Step 232, described WAP2.0 gateway return and described N N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of N of first connection request second connection request to the server simulator;
Step 233, server simulator return and the corresponding N of several second connection requests second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Step 234, described client emulator are based on a described N interface channel, simulation WAP terminal on each interface channel, transmission rate according to the corresponding service request that is success response, comprise the transmission rate of corresponding service request of the failure response speed after average for the last time, send service request, execution in step 225 to the WAP2.0 gateway respectively;
Step 240, described client emulator judge that this comprises the transmission rate of the pairing service request of failure response, with the transmission rate that is the pairing service request of success response for the last time whether can be average, if can be on average then execution in step 241, otherwise execution in step 250;
Step 241, N WAP terminal of client emulator simulation send and send for the first time the same number of N of connection request first connection request to the WAP2.0 gateway;
Step 242, described WAP2.0 gateway return and described N N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up N interface channel, and described WAP2.0 gateway sends and the same number of N of first connection request second connection request to the server simulator;
Step 243, server simulator return and N the corresponding N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up N interface channel;
Step 244, described client emulator are based on a described N interface channel, simulation WAP terminal on each interface channel, according to comprising the pairing service request transmission rate of failure response, be for the last time success response the speed of corresponding service request transmission rate after average, send service request, execution in step 225 to the WAP2.0 gateway respectively;
Step 250, this client emulator obtain the largest request processing speed of WAP2.0 gateway according to described the 3rd response.
In step 230, client emulator is judged this transmission rate that is the pairing service request of success response, with the transmission rate that comprised the request of failure response corresponding service last time cannot be average, illustrate that then this transmission rate that sends the speed of service request and comprised the request of failure response corresponding service last time differs 1, therefore the transmission rate of this whole success response corresponding service request is the maximum traffic processing speed of an interface channel, be the largest request processing speed of this gateway with the product of interface channel number N, i.e. the maximum HTTP processing speed supported of WAP2.0 gateway.
In step 240, client emulator is judged the transmission rate of this transmission rate that comprises the pairing service request of failure response and whole success response corresponding service request last time cannot be average, illustrate that then the transmission rate that this comprises the request of failure response corresponding service and the transmission rate of whole success response corresponding service request last time differ 1, therefore the transmission rate of whole success response corresponding service request last time is the maximum traffic processing speed of an interface channel, is the largest request processing speed of this gateway with the product of interface channel number N.
As shown in Figure 7, for the present invention tests the other method flow chart of largest request processing speed, method of testing is for of the present invention:
Step 301, client emulator simulation N iIndividual WAP terminal sends N to the WAP2.0 gateway iIndividual first connection request;
Step 302, described WAP2.0 gateway return and described N to this client emulator iThe N of the individual first connection request correspondence iIndividual first response, described client emulator and WAP2.0 gateway are set up N iIndividual interface channel, described WAP2.0 gateway sends and described N to the server simulator iThe same number of N of individual first connection request iIndividual second connection request;
Step 303, server simulator return and N to described WAP2.0 gateway iThe corresponding N of individual second connection request iIndividual second response, described server simulator and WAP2.0 gateway are also set up N iIndividual interface channel;
Step 304, described client emulator are based on described N iIndividual interface channel, WAP terminal of simulation sends service request according to identical speed M/S to the WAP2.0 gateway on each interface channel; Therefore based on N iThe transmission rate of individual passage is N iM/S;
Step 305, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 306, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 307, described WAP2.0 gateway are transmitted described the 3rd response to client emulator;
Step 308, client emulator are judged described the 3rd response, if be success response then disconnect described several interface channels, increase the transmission number execution in step 301 of first connection request; If comprise failure response, then disconnect described several interface channels, execution in step 310;
Step 310, described client emulator are according to the transmission number that comprises pairing first connection request of failure response, be the average number of the transmission number of pairing first connection request of success response for the last time, send first connection request to the WAP2.0 gateway;
Step 311, described WAP2.0 gateway return and described N to this client emulator iThe N of the individual first connection request correspondence iIndividual first response, described client emulator and WAP2.0 gateway are set up N iIndividual interface channel, described WAP2.0 gateway sends and described N to the server simulator iThe same number of N of individual first connection request iIndividual second connection request;
Step 312, server simulator return and N to described WAP2.0 gateway iThe corresponding N of individual second connection request iIndividual second response, described server simulator and WAP2.0 gateway are also set up this N iIndividual interface channel;
Step 313, described client emulator are based on described N iIndividual interface channel, simulation N iIndividual WAP terminal sends service request to the WAP2.0 gateway according to the transmission rate M/S of service request first;
Step 314, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 315, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 316, described WAP2.0 gateway are transmitted described the 3rd response to client emulator;
Step 317, client emulator are judged described the 3rd response, if be success response then disconnect described N iIndividual interface channel, execution in step 320; If comprise failure response, then disconnect described several interface channels, execution in step 330;
Step 320, described client emulator judge that this is the transmission number of pairing first connection request of success response, with the transmission number of pairing first connection request that comprises failure response for the last time whether can be average, if can be on average then execution in step 321, otherwise execution in step 340;
Step 321, client emulator simulation N iIndividual WAP terminal is to the WAP2.0 gateway, according to be success response the transmission number of corresponding first connection request, comprise the transmission number of pairing first connection request of the failure response number after average for the last time and send first connection request, execution in step 311;
Step 330, described client emulator judge that this all comprises the number that pairing first connection request of failure response sends, with be pairing first connection request of success response for the last time and send number whether can be average, if can be on average then execution in step 331, otherwise execution in step 340;
Step 331, client emulator simulation N iIndividual WAP terminal is to the WAP2.0 gateway, according to the transmission number that comprises pairing first connection request of failure response, with be number that pairing first connection request of success response the sends number after average for the last time and send first connection request, execution in step 311;
Step 340, this client emulator obtain the largest request processing speed of WAP2.0 gateway according to described the 3rd response.
In step 320, client emulator is judged this transmission number that is pairing first connection request of success response, the transmission number of first connection request corresponding with comprising failure response last time cannot be average, the transmission number that first connection request that this number that sends first connection request is corresponding with comprising failure response last time then is described differs 1, so transmission number of this whole success response corresponding service request, with the product of the transmission rate M/S of service request be the largest request processing speed of this gateway, i.e. the maximum HTTP processing speed supported of WAP2.0 gateway.
In step 330, client emulator is judged this transmission number that comprises pairing first connection request of failure response, the transmission number of first connection request corresponding with whole success responses last time cannot be average, the transmission number that first connection request that this number that sends first connection request is corresponding with whole success responses last time then is described differs 1, therefore last time whole success response correspondences the transmission number of first connection request, with the product of the transmission rate M/S of service request be the largest request processing speed of this gateway.
In sum, be to utilize identical interface channel N at a last embodiment, change the transmission rate M of service request based on it i, measure the largest request processing speed, present embodiment then is to change interface channel N i, and the transmission rate M of service request is constant, measures the largest request processing speed, but its result must be identical.
More than the performance of the high more explanation of the performance index of two WAP2.0 gateways WAP2.0 gateway high more.
Therefore, the method for testing of WAP2.0WAP gate performance of the present invention has realized flexibly and easily the performance of WAP2.0 gateway has been tested.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (2)

1. a method of testing WAP gateway largest request processing speed is characterized in that, comprising:
Step 1, N WAP2.0 terminal of client emulator simulation send N first connection request to the WAP2.0 gateway;
Step 2, described WAP2.0 gateway return and described N this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and described N the same number of this N of first connection request second connection request to the server simulator;
Step 3, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Described N the interface channel that step 4, described client emulator are set up based on client emulator in the step 2 and WAP2.0 gateway, simulate this N WAP2.0 terminal to the WAP2.0 gateway by setting speed transmission service request;
Step 5, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 6, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 7, described WAP2.0 gateway are transmitted described the 3rd response to client emulator;
Step 700, client emulator are judged described the 3rd response, if be success response then disconnect all N interface channel, execution in step 701; If comprise failure response, then disconnect all N interface channel, execution in step 709;
Step 701, client emulator are simulated this N WAP2.0 terminal to the WAP2.0 gateway, send and send for the first time the same number of this N of first connection request first connection request;
Step 702, described WAP2.0 gateway return and N described in the step 701 this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of this N of first connection request second connection request to the server simulator;
Step 703, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Described N the interface channel that step 704, described client emulator are set up based on client emulator in the step 702 and WAP2.0 gateway, simulation WAP2.0 terminal increases transmission rate respectively to WAP2.0 gateway transmission service request on each interface channel;
Step 705, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 706, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 707, described WAP2.0 gateway are transmitted described the 3rd response that the server simulator returns to the WAP2.0 gateway in the step 706 to client emulator;
Described the 3rd response that the WAP2.0 gateway is transmitted to client emulator in step 708, the client emulator determining step 707 if be success response then disconnect all N interface channel, is returned step 701 and is carried out successively; If comprise failure response, then disconnect all N interface channel, execution in step 709;
Step 709, client emulator are simulated this N WAP2.0 terminal to the WAP2.0 gateway, send and send for the first time the same number of this N of connection request first connection request;
Step 710, described WAP2.0 gateway return and N described in the step 709 this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of this N of first connection request second connection request to the server simulator;
Step 711, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
This N interface channel that step 712, described client emulator are set up based on client emulator in the step 710 and WAP2.0 gateway, simulation WAP2.0 terminal on each interface channel, according to the transmission rate that the pairing service request of failure response occurs, be the transmission rate of the pairing service request of response of the success speed after average for the last time, send service request to the WAP2.0 gateway respectively;
Step 713, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 714, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 715, described WAP2.0 gateway are transmitted described the 3rd response that the server simulator returns to the WAP2.0 gateway in the step 714 to client emulator;
Described the 3rd response that the WAP2.0 gateway is transmitted to client emulator in step 7160, the client emulator determining step 715 is if be success response then disconnect all N interface channel, execution in step 7161; If comprise failure response, then disconnect all N interface channel, execution in step 7166;
Step 7161, described client emulator judge that this is the transmission rate of the pairing service request of success response, with the transmission rate that comprises the pairing service request of failure response for the last time whether can be average, if can be on average then execution in step 7162, otherwise execution in step 8;
Step 7162, client emulator are simulated this N WAP2.0 terminal to the WAP2.0 gateway, send and send for the first time the same number of this N of connection request first connection request;
Step 7163, described WAP2.0 gateway return and this N described in the step 7162 this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of this N of first connection request second connection request to the server simulator;
Step 7164, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Described N the interface channel that step 7165, described client emulator are set up based on client emulator in the step 7163 and WAP2.0 gateway, simulation WAP2.0 terminal on each interface channel, transmission rate according to the corresponding service request that is success response, comprise the transmission rate of corresponding service request of the failure response speed after average for the last time, send service request to the WAP2.0 gateway respectively, return step 713 and carry out successively;
Step 7166, described client emulator judge that this comprises the transmission rate of the pairing service request of failure response, with the transmission rate that is the pairing service request of success response for the last time whether can be average, if can be on average then execution in step 7167, otherwise execution in step 8;
Step 7167, client emulator are simulated this N WAP2.0 terminal to the WAP2.0 gateway, send and send for the first time the same number of this N of connection request first connection request;
Step 7168, described WAP2.0 gateway return and N described in the step 7167 this N first response that first connection request is corresponding to this client emulator, described client emulator and WAP2.0 gateway are set up this N interface channel, and described WAP2.0 gateway sends and the same number of this N of first connection request second connection request to the server simulator;
Step 7169, server simulator return and this N corresponding this N of second connection request second response to described WAP2.0 gateway, and described server simulator and WAP2.0 gateway are also set up this N interface channel;
Described N the interface channel that step 71610, described client emulator are set up based on client emulator in the step 7168 and WAP2.0 gateway, simulation WAP2.0 terminal on each interface channel, according to comprising the pairing service request transmission rate of failure response, be for the last time success response the speed of corresponding service request transmission rate after average, send service request to the WAP2.0 gateway respectively, return step 713 and carry out successively;
Step 8, obtain the performance index of WAP2.0 gateway, i.e. the largest request processing speed.
2. a method of testing WAP gateway largest request processing speed is characterized in that, comprising:
Step 1, client emulator simulation N iIndividual WAP2.0 terminal sends this N to the WAP2.0 gateway iIndividual first connection request;
Step 2, described WAP2.0 gateway return and described N to this client emulator iThis N of the individual first connection request correspondence iIndividual first response, described client emulator and WAP2.0 gateway are set up described N iIndividual interface channel, described WAP2.0 gateway sends and described N to the server simulator iThe same number of this N of individual first connection request iIndividual second connection request;
Step 3, server simulator return and this N to described WAP2.0 gateway iCorresponding this N of individual second connection request iIndividual second response, described server simulator and WAP2.0 gateway are also set up this N iIndividual interface channel;
The described N that step 4, described client emulator are set up based on client emulator in the step 3 and WAP2.0 gateway; Individual interface channel is simulated this N iIndividual WAP2.0 terminal sends service request to the WAP2.0 gateway by setting speed;
Step 5, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 6, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 7, described WAP2.0 gateway are transmitted described the 3rd response to client emulator;
Step 70, client emulator are judged described the 3rd response, if be success response then disconnect all interface channels, the transmission number that increases first connection request returns step 1 and carries out successively; If comprise failure response, then disconnect all interface channels, execution in step 71;
Step 71, described client emulator are according to the transmission number that comprises pairing first connection request of failure response and be the average number N of the transmission number of pairing first connection request of success response for the last time j, send first connection request to the WAP2.0 gateway;
Step 72, described WAP2.0 gateway return and described N to this client emulator jThe same number of this N of individual first connection request jIndividual first response, described client emulator and WAP2.0 gateway are set up this N jIndividual interface channel, described WAP2.0 gateway sends and described N to the server simulator jThe same number of N of individual first connection request jIndividual second connection request;
Step 73, server simulator return and this N to described WAP2.0 gateway jThe same number of this N of individual second connection request jIndividual second response, described server simulator and WAP2.0 gateway are also set up this N jIndividual interface channel;
The described N that step 74, described client emulator are set up based on client emulator in the step 72 and WAP2.0 gateway jIndividual interface channel is simulated this N jIndividual WAP2.0 terminal sends service request to the WAP2.0 gateway according to the transmission rate of service request first;
Step 75, described WAP2.0 gateway are transmitted described service request to the server simulator;
Step 76, described server simulator return the 3rd response according to described service request to the WAP2.0 gateway;
Step 77, described WAP2.0 gateway are transmitted described the 3rd response that the server simulator returns to the WAP2.0 gateway in the step 76 to client emulator;
Described the 3rd response that the WAP2.0 gateway is transmitted to client emulator in step 780, the client emulator determining step 77 is if be success response then disconnect all interface channels, execution in step 781; If comprise failure response, then disconnect all interface channels, execution in step 783;
Step 781, described client emulator judge that this is the transmission number of pairing first connection request of success response, with the transmission number of pairing first connection request that comprises failure response for the last time whether can be average, if can be on average then execution in step 782, otherwise execution in step 8;
Step 782, client emulator simulation N kIndividual WAP terminal is to the WAP2.0 gateway, according to be success response corresponding first connection request the transmission number and comprise the transmission number of pairing first connection request of the failure response number N after average for the last time kSend first connection request, return step 72 and carry out successively, and with step 72 and the numerical value of N in the execution in step successively jReplace with numerical value of N k
Step 783, described client emulator judge that this all comprises the number that pairing first connection request of failure response sends, with be pairing first connection request of success response for the last time and send number whether can be average, if can be on average then execution in step 784, otherwise execution in step 8;
Step 784, client emulator simulation N mIndividual WAP terminal is to the WAP2.0 gateway, according to the transmission number that comprises pairing first connection request of failure response, and is number that pairing first connection request of success response the sends number N after average for the last time mSend first connection request, return step 72 and carry out successively, and with step 72 and the numerical value of N in the execution in step successively jReplace with numerical value of N m
Step 8, obtain the performance index of WAP2.0 gateway, i.e. the largest request processing speed.
CNB2005101128287A 2005-10-14 2005-10-14 WAP gateway performance test method Expired - Fee Related CN100394732C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101128287A CN100394732C (en) 2005-10-14 2005-10-14 WAP gateway performance test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101128287A CN100394732C (en) 2005-10-14 2005-10-14 WAP gateway performance test method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CNA200810008355XA Division CN101232410A (en) 2005-10-14 2005-10-14 System and method for testing WAP gateway performance

Publications (2)

Publication Number Publication Date
CN1744535A CN1744535A (en) 2006-03-08
CN100394732C true CN100394732C (en) 2008-06-11

Family

ID=36139741

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101128287A Expired - Fee Related CN100394732C (en) 2005-10-14 2005-10-14 WAP gateway performance test method

Country Status (1)

Country Link
CN (1) CN100394732C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035697B (en) * 2010-12-31 2012-04-18 中国电子科技集团公司第十五研究所 Concurrent connections performance testing system and method for file system
CN102984025B (en) * 2012-11-23 2015-09-30 华为技术有限公司 The method of testing of gateway device virtual tunnel performance, Apparatus and system
CN105553752B (en) * 2015-12-02 2018-07-03 中国联合网络通信集团有限公司 The method that tests the speed online for home gateway, test the speed platform and gateway device
CN107949069A (en) * 2017-12-30 2018-04-20 广东欧珀移动通信有限公司 terminal wireless data transmission method, device, terminal and storage medium
CN108848007A (en) * 2018-08-28 2018-11-20 郑州云海信息技术有限公司 A kind of test method and device storing collaborative share maximum number of connections
CN109120478A (en) * 2018-08-28 2019-01-01 郑州云海信息技术有限公司 CIFS shares test method, device, equipment and the system of maximum number of connections
CN110233772B (en) * 2019-04-22 2021-11-19 视联动力信息技术股份有限公司 Method and device for testing video networking system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004012403A1 (en) * 2002-07-25 2004-02-05 Telefonaktiebolaget Lm Ericsson (Publ) End to end test between gateways in an ip network
CN1549541A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Method and apparatus for automatic testing media gateway
US20050149787A1 (en) * 2003-12-03 2005-07-07 Choi Gil Y. Apparatus and method for testing MEGACO protocol
CN1665330A (en) * 2005-03-16 2005-09-07 北京北方烽火科技有限公司 A simple method for testing performance of positioning service system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004012403A1 (en) * 2002-07-25 2004-02-05 Telefonaktiebolaget Lm Ericsson (Publ) End to end test between gateways in an ip network
CN1549541A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Method and apparatus for automatic testing media gateway
US20050149787A1 (en) * 2003-12-03 2005-07-07 Choi Gil Y. Apparatus and method for testing MEGACO protocol
CN1665330A (en) * 2005-03-16 2005-09-07 北京北方烽火科技有限公司 A simple method for testing performance of positioning service system

Also Published As

Publication number Publication date
CN1744535A (en) 2006-03-08

Similar Documents

Publication Publication Date Title
CN101232410A (en) System and method for testing WAP gateway performance
CN100394732C (en) WAP gateway performance test method
CN101171853B (en) Optimizing network performance system for communication services
EP1859638B1 (en) Apparatus and methods for product acceptance testing on a wireless device
US9538404B2 (en) Apparatus and methods for product acceptance testing on a wireless device
AU727579B2 (en) Network manager providing advanced interconnection capability
CN102006616B (en) Test system and test method
US20060039538A1 (en) "Software only" tool for testing networks under high-capacity, real-world conditions
MX2007010846A (en) Apparatus and methods for determining voice and/or data processing performance of a wireless device.
JP2009135916A (en) Method and system for managing information
CN102355688A (en) Equipment testing system and method
CN102098702B (en) Performance testing system, method and equipment
CN101035346B (en) Method and device for large traffic simulation test of packet data service
CN104135735A (en) Automatic testing method, device and system for LTE core network
CN105264907A (en) Method for predicting quality of experience of mobile video service, and base station
CN102387516B (en) PS operation analog system and test method for NodeB test
CN100389570C (en) Method and system for testing functions of forwarding actual services at communication nodes
CN202218407U (en) Terminal browser service testing system
CN101472290B (en) Flow control method and apparatus for mobile data business platform performance test
CN105828387A (en) Wireless communication system, service processing method and device
CN103906111A (en) Problem determination method and device for general packet radio service network
CN106304166B (en) System and method for testing number of concurrent users of wireless router
CN104640158B (en) Terminal occupies Internet resources calculation method, device and Internet resources calculation server
CN102281559B (en) Method and device for testing packet switch (PS) performance of wireless network by performing file transfer protocol (FTP) service through multiple data cards
WO2006012787A1 (en) A terminal data simulation method and mobile terminal data source simulation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080611

Termination date: 20201014