CN101286904B - Testing device and method for concurrent load of flow media server - Google Patents

Testing device and method for concurrent load of flow media server Download PDF

Info

Publication number
CN101286904B
CN101286904B CN2008101108658A CN200810110865A CN101286904B CN 101286904 B CN101286904 B CN 101286904B CN 2008101108658 A CN2008101108658 A CN 2008101108658A CN 200810110865 A CN200810110865 A CN 200810110865A CN 101286904 B CN101286904 B CN 101286904B
Authority
CN
China
Prior art keywords
load testing
test
server
testing
streaming media
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
CN2008101108658A
Other languages
Chinese (zh)
Other versions
CN101286904A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008101108658A priority Critical patent/CN101286904B/en
Publication of CN101286904A publication Critical patent/CN101286904A/en
Application granted granted Critical
Publication of CN101286904B publication Critical patent/CN101286904B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a concurrence load testing device and a testing method for a streaming media server, wherein, the device comprises the load testing server and a plurality of load testing clients arranged on a same host computer or different host computers, and the method comprises the steps as follows: a plurality of load testing clients simultaneously initiate testing to a streaming media server according to the control of the load testing server and respectively send the counted testing statistical data to the load testing server; the testing statistical data obtained from the load testing clients is analyzed by the load testing server, thereby obtaining the testing results with concurrence load property of the streaming media server. By controlling the load testing clients distributed on the same host computer or different host computers to initiate simultaneously testing to the streaming media server, the load testing server of the invention enables the providing of a large amount of testing loading, and the loading can be increased by increasing the number of the host computers; moreover, the testing device and method of the invention has good expansibility and improves the testing efficiency.

Description

The concurrent load testing device and the method for testing of streaming media server
Technical field
The present invention relates to multi-user's analogue technique of streaming media server, relate in particular to a kind of concurrent load testing device and method of testing of streaming media server.
Background technology
The multi-user concurrent load performance is an important indicator weighing the streaming media server performance.
At present, the test of the concurrent load performance of convection media server is generally finished by the manual testing, be that the tester passes through STB (Set-Top-Box, set-top box) and streaming media server connects, initiate test and test result is carried out analyzing and processing by the tester.
In manual testing's process,, need usually to use a plurality of STB to test simultaneously, thereby cause testing cost than higher in order to increase load; And, in the reciprocal process of each STB and streaming media server, all relate to multi-mode operation, by manually coming the test job amount will be very big, and the also very difficult various performance response parameters of extracting server of manual testing, and the checking inspection is not enough, test validity is low, comprehensive inadequately, can safeguard and poor expandability that the test effect is undesirable.
Summary of the invention
In view of above-mentioned analysis, the object of the present invention is to provide a kind of concurrent load testing device and method of testing of streaming media server, the manual testing's efficient that exists in the prior art is low in order to solve, covering is comprehensive, validity is hanged down the problems such as the checking inspection is not enough that reach.
Purpose of the present invention mainly is achieved through the following technical solutions:
The invention provides a kind of concurrent load testing device of streaming media server, described device comprises:
The load testing server be arranged on same main frame or different main frame on a plurality of load testing clients, wherein,
Described load testing server, be used to control a plurality of described load testing clients and initiate test to streaming media server simultaneously, and the test statistics data that obtain from a plurality of described load testing clients are analyzed, obtain the test result of the concurrent load performance of streaming media server;
A plurality of described load testing clients are used for initiating test to streaming media server simultaneously according to the control of load testing server, and respectively the test statistics data after the statistical disposition are sent to described load testing server; Described load testing client specifically comprises: a plurality of test simulations unit and test data statistic unit, and wherein, described test simulation unit is used to simulate the analog set top that a plurality of convection media servers are tested; Specifically, each described test simulation unit is by a test thread specific implementation, and each described test thread is simulated a plurality of set-top box; Described test data statistic unit is used for the result that a plurality of analog set top convection media servers are tested is added up, and the test statistics data after the statistical disposition is sent to described load testing server.
The present invention also provides a kind of concurrent load test approach of streaming media server, a plurality of load testing clients on setting in advance the load testing server and being arranged on same main frame or different main frame, and described method comprises:
Steps A: a plurality of described load testing clients are initiated test to streaming media server simultaneously according to the control of described load testing server, and the test statistics data after will adding up respectively send to described load testing server; Described steps A specifically comprises: the load testing client is created a plurality of test threads according to the request of load testing server, and each test thread generates a plurality of analog set tops that convection media server is tested that are used for respectively simultaneously; A plurality of described load testing clients are initiated test to streaming media server simultaneously according to the control of described load testing server; Described load testing client is carried out statistical disposition to test data respectively, and the test statistics data are sent to described load testing server;
Step B: described load testing server is analyzed the test statistics data that obtain from a plurality of described load testing clients, obtains the test result of the concurrent load performance of streaming media server.
Beneficial effect of the present invention is as follows:
The present invention initiates test to streaming media server simultaneously by the load testing client that is distributed on same main frame or the different main frame by the unified control of load testing server, make the test load that provides a large amount of become possibility, and can add heavy load by increasing the main frame number, have favorable expansibility, improved testing efficiency; Simultaneously, each load testing client among the present invention is tested by simulating a plurality of set-top box convection media servers, has realized test automation, has reduced tester's workload, improve the comprehensive and accuracy of check greatly, further improved the test utilance.
Description of drawings
Fig. 1 is the structural representation of the described device of the embodiment of the invention;
Fig. 2 is the schematic flow sheet of the described method of the embodiment of the invention.
Embodiment
Specifically describe preferential embodiment of the present invention below in conjunction with accompanying drawing, wherein, accompanying drawing constitutes the application's part, and is used from explaination principle of the present invention with embodiments of the invention one.
1 pair of described testing apparatus of the embodiment of the invention is elaborated at first in conjunction with the accompanying drawings.
As shown in Figure 1, Fig. 1 is the structural representation of the described testing apparatus of the embodiment of the invention, specifically can comprise: load testing server and a plurality of load testing client are described in detail respectively below.
The load testing server, be connected respectively with a plurality of load testing clients, the main a plurality of load testing clients of control of being responsible for are initiated test to streaming media server simultaneously, and collect the test statistics data from a plurality of load testing clients, then the test statistics data are carried out analyzing and processing, finally obtain the test result of the concurrent load performance of streaming media server;
A plurality of load testing clients can be distributed on the same main frame, also can be distributed on the different main frames; One end is connected with the load testing server, and an end is connected with streaming media server, mainly is responsible for the control command according to the load testing server, sends to the load testing server after adding up simultaneously to streaming media server initiation test, and with test data;
Wherein, the load testing client specifically can comprise: a plurality of test simulations unit and test data statistic unit, wherein,
Each test simulation unit can be by a test thread specific implementation, and each test cell can be simulated the simulation STB (set-top box) that a plurality of convection media servers are tested, and initiates test according to the control of load testing server to streaming media server; If the Test Host number is h, the load testing number clients of each main frame is c, and the p-wire number of passes of each load testing client is t, and the STB number of each test thread simulation is s, then concurrent load STB sum l=h * c * t * s;
Test data statistic unit, basic load receive the result that a plurality of simulation STB convection media servers are tested, and then these test results are carried out statistical disposition, and the test statistics data after will adding up send to described load testing server.
Be elaborated below in conjunction with 2 pairs of described methods of the embodiment of the invention of accompanying drawing.
As shown in Figure 2, Fig. 2 is the schematic flow sheet of the described method of the embodiment of the invention, specifically can may further comprise the steps:
Step 201: behind the load testing client terminal start-up, carry out initialization, open listening port, wait for the connection request of load testing server;
Step 202: load testing server and a plurality of load testing client establish a communications link;
Step 203: the load testing server sends the test initialization request to a plurality of load testing clients;
Step 204: each load testing client is created a plurality of test threads after receiving initialization request, and each test thread can generate a plurality of simulation STB again, prepares to initiate test to streaming media server;
Step 205: the load testing server sends test to all load testing clients and begins request;
Step 206: all load testing clients are initiated test to streaming media server after receiving that test begins request simultaneously;
Step 207: after each load testing client test finishes, report the test statistics data to the load testing server;
Step 208: the load testing server compiles the test statistics data of all load testing clients, analyzes, adds up, and finally draws the test result of the concurrent load performance of streaming media server.
In sum, the embodiment of the invention provides a kind of concurrent load testing device and method of testing of streaming media server, initiate test to streaming media server simultaneously by the load testing client that the load testing server controls is distributed on same main frame or the different main frame, make the test load that provides a large amount of become possibility, and can add heavy load by increasing the main frame number, have favorable expansibility, improved testing efficiency; Simultaneously, each load testing client in the embodiment of the invention is tested by simulating a plurality of STB convection media servers, has realized test automation, has reduced tester's workload, improve the comprehensive and accuracy of check greatly, further improved the test utilance.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.

Claims (2)

1. the concurrent load testing device of a streaming media server is characterized in that, described device comprises: the load testing server be arranged on same main frame or different main frame on a plurality of load testing clients, wherein,
Described load testing server, be used to control a plurality of described load testing clients and initiate test to streaming media server simultaneously, and the test statistics data that obtain from a plurality of described load testing clients are analyzed, obtain the test result of the concurrent load performance of streaming media server;
A plurality of described load testing clients are used for initiating test to streaming media server simultaneously according to the control of load testing server, and respectively the test statistics data after the statistical disposition are sent to described load testing server; Described load testing client specifically comprises: a plurality of test simulations unit and test data statistic unit, wherein,
Described test simulation unit is used to simulate the analog set top that a plurality of convection media servers are tested; Specifically, each described test simulation unit is by a test thread specific implementation, and each described test thread is simulated a plurality of set-top box;
Described test data statistic unit is used for the result that a plurality of analog set top convection media servers are tested is added up, and the test statistics data after the statistical disposition is sent to described load testing server.
2. the concurrent load test approach of a streaming media server, a plurality of load testing clients on setting in advance the load testing server and being arranged on same main frame or different main frame, described method comprises:
Steps A: a plurality of described load testing clients are initiated test to streaming media server simultaneously according to the control of described load testing server, and the test statistics data after will adding up respectively send to described load testing server; Described steps A specifically comprises: the load testing client is created a plurality of test threads according to the request of load testing server, and each test thread generates a plurality of analog set tops that convection media server is tested that are used for respectively simultaneously; A plurality of described load testing clients are initiated test to streaming media server simultaneously according to the control of described load testing server; Described load testing client is carried out statistical disposition to test data respectively, and the test statistics data are sent to described load testing server;
Step B: described load testing server is analyzed the test statistics data that obtain from a plurality of described load testing clients, obtains the test result of the concurrent load performance of streaming media server.
CN2008101108658A 2008-06-16 2008-06-16 Testing device and method for concurrent load of flow media server Expired - Fee Related CN101286904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101108658A CN101286904B (en) 2008-06-16 2008-06-16 Testing device and method for concurrent load of flow media server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101108658A CN101286904B (en) 2008-06-16 2008-06-16 Testing device and method for concurrent load of flow media server

Publications (2)

Publication Number Publication Date
CN101286904A CN101286904A (en) 2008-10-15
CN101286904B true CN101286904B (en) 2011-01-19

Family

ID=40058884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101108658A Expired - Fee Related CN101286904B (en) 2008-06-16 2008-06-16 Testing device and method for concurrent load of flow media server

Country Status (1)

Country Link
CN (1) CN101286904B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480392B (en) * 2010-11-23 2014-09-10 中兴通讯股份有限公司 Performance test device and working method thereof
CN103138995A (en) * 2011-11-24 2013-06-05 中兴通讯股份有限公司 Method and device for server performance test
CN102620746B (en) * 2012-02-28 2015-06-24 惠州市德赛西威汽车电子有限公司 Navigator testing system
CN103875213A (en) * 2013-11-26 2014-06-18 华为技术有限公司 Network device performance testing method, terminals, management device and system
CN106488221B (en) * 2015-08-31 2018-09-07 展讯通信(上海)有限公司 A kind of method and system of terminal streaming media video reality automation test
CN105337798A (en) * 2015-10-22 2016-02-17 上海斐讯数据通信技术有限公司 Method and system for testing server performance
CN108632645A (en) * 2017-03-17 2018-10-09 北京京东尚科信息技术有限公司 Information demonstrating method and device
CN107454384A (en) * 2017-07-27 2017-12-08 网宿科技股份有限公司 A kind of live performance test methods and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728657A (en) * 2004-07-30 2006-02-01 Ut斯达康通讯有限公司 Load simulator and simulation system for stream media service
CN1852180A (en) * 2005-12-12 2006-10-25 华为技术有限公司 Multi-media service system performance testing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728657A (en) * 2004-07-30 2006-02-01 Ut斯达康通讯有限公司 Load simulator and simulation system for stream media service
CN1852180A (en) * 2005-12-12 2006-10-25 华为技术有限公司 Multi-media service system performance testing method

Also Published As

Publication number Publication date
CN101286904A (en) 2008-10-15

Similar Documents

Publication Publication Date Title
CN101286904B (en) Testing device and method for concurrent load of flow media server
CN108399114B (en) System performance testing method and device and storage medium
CN104717337A (en) Method for testing mobile application in batch and equipment used in method
CN106155906B (en) A kind of bank's host close beta system and method
CN107797928B (en) Instrument control system platform logic algorithm block testing device and method
WO2014101383A1 (en) Method and system for testing driver
CN105306299A (en) Streaming media server performance test method and test system
CN104268076A (en) Memory bandwidth automatically testing method applicable to various processor platforms
CN107992403B (en) IO performance test method, device, equipment and computer readable storage medium
CN102541723A (en) Automated testing device for software testing
CN103810092A (en) Application system testing method and device
CN103746879A (en) Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol
CN104123397A (en) Automatic test device and method for Web page
US6691259B1 (en) Terminal server data file extraction and analysis application
CN101902368A (en) WEB performance test method based on simulation of bulk thin client operation and test system thereof
CN109828921A (en) HTML5 webpage automated function test method, system and electronic equipment
CN102567186A (en) Automated software testing method
CN102620746B (en) Navigator testing system
CN110730112A (en) Method, system, equipment and storage medium for testing network running speed
CN103823750A (en) Cloud-based software test service method
JP2009517733A (en) Grid computing system for testing server application program performance
CN112269697A (en) Equipment storage performance testing method, system and related device
CN116545891A (en) Automatic distribution network testing method based on intelligent equipment
CN101551765A (en) Test method for strength printing based on virtual device software
CN106855843B (en) Performance analysis method and device of Web system

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

Granted publication date: 20110119

Termination date: 20160616

CF01 Termination of patent right due to non-payment of annual fee