CN103051500A - Test method and system of service network system - Google Patents

Test method and system of service network system Download PDF

Info

Publication number
CN103051500A
CN103051500A CN2013100014480A CN201310001448A CN103051500A CN 103051500 A CN103051500 A CN 103051500A CN 2013100014480 A CN2013100014480 A CN 2013100014480A CN 201310001448 A CN201310001448 A CN 201310001448A CN 103051500 A CN103051500 A CN 103051500A
Authority
CN
China
Prior art keywords
service
test
network system
data
node
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.)
Granted
Application number
CN2013100014480A
Other languages
Chinese (zh)
Other versions
CN103051500B (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201310001448.0A priority Critical patent/CN103051500B/en
Publication of CN103051500A publication Critical patent/CN103051500A/en
Application granted granted Critical
Publication of CN103051500B publication Critical patent/CN103051500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a test method of a service network system. The method comprises the following steps that the service network system is operated; a plurality of service nodes are monitored, and in addition, the communication information of the service nodes is obtained; simulated test data is generated according to the communication information, in addition, test commands are sent to the service nodes, and the test commands have configuration information; the service nodes are subjected to pressure test according to the corresponding test commands and the simulated test data, and in addition, the test information of the service nodes is obtained; and the test information of the service nodes is counted and analyzed so that test results of the service network system are obtained according to analysis results. The method can truly, objectively and reliably reflect the performance of the service network system. The invention also provides a test system of the service network system.

Description

A kind of method of testing of service network system and system
Technical field
The present invention relates to the distributed system performance technical field of measurement and test, particularly a kind of method of testing of service network system and system.
Background technology
There are two aspect problems in emulation and the performance test of present Service Source distributing network (service network system) towards composite services.
(1) at first, if wish to carry out performance test for distributed system in the development phase, can only respectively towards specific service, apply the performance index that large-scale analog access packet is tested this service.But these requests may not truly reflect the access situation of system in actual moving process.Automatic access (non-user directly accesses) for service based logic between the modules, if the simple simulation request msg of using, can not reflect this service network system for the logical relation complexity of logical relation between the module, be difficult to the call relation between each service of real reaction.This can cause the distortion of Evaluation results.Although for example some service performance index is lower, because the frequency that is called is also lower, therefore can not become system bottleneck in system, if resource has been wasted in the simple resource distribution that strengthens this class service node on the contrary yet.This shows that visit data can not break away from real logical relation between each service module between the service of simulation, and be difficult at the environment Imitating of experiment out based on the real scene data of this logical relation.
(2) in addition, in order to simulate the actual conditions of a large number of users access websites system in the development phase, a lot of Web service testing tools have appearred, as: LoadRunner, WebLoad, JMeter etc., they are by gathering the real data of user's access websites, and then simulate more massive access intensity, realize pressure test.But these instruments often adopt the CS structure, can only simulant-client to a large amount of requests of a service end, reach the purpose to the pressure test of service.But for the combination of network service system of complexity, the entrance service (namely with the direct-connected service module of client) that these instruments can only realize asking the system that sends to can not realize performance test and performance evaluation to other service modules of system.If use these instruments that other service modules are tested, also can only isolate this module out from integral body, test separately.For example come the test database service by send out request to the database service interface, but this test can not be collaborative with the test of other business service.Therefore, at present in laboratory environment, if wish to carry out pressure test for the network software system based on composite services, can only send to different service modules independently analog access data, this is unfavorable for the performance bottleneck from the visual angle lookup service combination of integral body.
For instance, composite services software systems are by Service1, Service2, three Distributed Services module compositions of Service3, when system moves, module Service3 may seldom be called to, even the performance of Service3 is not high like this, server-capabilities is poor, also can not affect the software overall performance.And this situation is indiscoverable (can only find the Service3 poor performance) with traditional independent pressure test.
In addition, if the access intensity of entrance is used in simple increase, although also may scale up the access intensity of each module, the bottleneck of some intermediate node may cause follow-up analogue data to send to.For example, each service has the following relation of calling, and Service1 → Service2 → Service3, the bottleneck at Service2 place may cause more massive visit data can't arrive Service3, thereby can not find the performance issue that exists among the Service3.
Summary of the invention
The present invention is intended to one of solve the problems of the technologies described above at least.
For this reason, one object of the present invention is to propose a kind of method of testing of service network system of the performance that can reflect true, objective and reliably service network system.
Another object of the present invention is to propose a kind of method of testing of service network system.
To achieve these goals, the embodiment of first aspect present invention has proposed a kind of method of testing of service network system, and described service network system comprises a plurality of service nodes, said method comprising the steps of: move described service network system; Described a plurality of service nodes are monitored, and obtained the communication information of described a plurality of service nodes; Generate the simulation test data according to described communication information, and send test command to described a plurality of service nodes, wherein, described test command has configuration information; Described a plurality of service node carries out pressure test according to test command and the simulation test data of correspondence, and obtains the detecting information of described a plurality of service nodes; And the detecting information of described a plurality of service nodes carried out statistics and analysis to obtain the test result of described service network system according to analysis result.
Method of testing according to the service network system of the embodiment of the invention, can test the integral body (a plurality of service node) of service network system, a plurality of service nodes are carried out integration test, performance bottleneck can making up from the visual angle lookup service of service network system integral body, test result has objectivity, authenticity and reliability, further, the method of testing of the service network system of the embodiment of the invention can produce test case from the test data of service network system, in order to service network system is tested, thereby test result can be true, objective and reflect reliably the performance of service network system.
In addition, the method for testing of service network system according to the above embodiment of the present invention can also have following additional technical characterictic:
In example of the present invention, described communication information comprises: the receive data of each service node, transmission data and sending node information and receiving node information.
In example of the present invention, intensity, degree of parallelism and the data volume of the visit data by controlling each service node are carried out pressure test to described each service node respectively.
In example of the present invention, described detecting information comprises: the occupancy of flow, throughput, data rate and CPU and memory.
In example of the present invention, described service node is service end or gateway.
In example of the present invention, also comprise: whether the performance of judging described a plurality of service nodes of described service network system according to described test result satisfies preassigned.
The embodiment of second aspect present invention discloses a kind of test macro of service network system, described service network system comprises a plurality of service nodes, described test macro comprises: the service broker SA that is deployed in each service node, be used for after described service network system operation, described a plurality of service nodes are monitored, and obtain the communication information of described a plurality of service nodes, and according to test command and simulation test data described a plurality of service nodes are carried out pressure test; Controller is used for generating the simulation test data according to described communication information, and sends test command to described service broker SA, and wherein, described test command has configuration information; And the performance evaluation module, be used for the detecting information from described a plurality of service nodes of described service broker SA is carried out statistics and analysis, and obtain the test result of described service network system according to analysis result.
Test macro according to the service network system of the embodiment of the invention, can test the integral body (a plurality of service node) of service network system, a plurality of service nodes are carried out integration test, performance bottleneck can making up from the visual angle lookup service of service network system integral body, test result has objectivity, authenticity and reliability, further, the test macro of the service network system of the embodiment of the invention can produce test case from the test data of service network system, in order to service network system is tested, thereby test result can be true, objective and reflect reliably the performance of service network system.
In addition, the test macro of service network system according to the above embodiment of the present invention can also have following additional technical characterictic:
In some instances, described communication information comprises: the receive data of each service node, transmission data and sending node information and receiving node information.
In some instances, described service broker SA according to intensity, degree of parallelism and the data volume of the visit data of service node corresponding to described configuration information control in order to described each service node is carried out pressure test.
In some instances, described detecting information comprises: the occupancy of flow, throughput, data rate and CPU and memory.
In some instances, described service node is service end or gateway.
In some instances, described performance evaluation module also is used for judging according to described test result whether the performance of described a plurality of service nodes of described service network system satisfies preassigned.
Additional aspect of the present invention and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously and easily understanding becoming the description of embodiment in conjunction with following accompanying drawing, wherein:
Fig. 1 is the flow chart of the method for testing of service network system according to an embodiment of the invention;
Fig. 2 is the structure chart of the test macro of service network system according to an embodiment of the invention;
Fig. 3 is the topology diagram of the test macro of service network system according to an embodiment of the invention;
Fig. 4 is that the acquisition phase SA of the according to an embodiment of the invention test macro of the test macro of service network system transmits the service request schematic diagram;
Fig. 5 is the test phase SA simulation request schematic diagram of the test macro of the according to an embodiment of the invention test macro of service network system;
Fig. 6 is the analysis phase SA report analysis result schematic diagram of the test macro of the according to an embodiment of the invention test macro of service network system; And
Fig. 7 is the schematic diagram of the test process of the test macro of service network system according to an embodiment of the invention.
Embodiment
The below describes embodiments of the invention in detail, and the example of described embodiment is shown in the drawings, and wherein identical or similar label represents identical or similar element or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.
In description of the invention, it will be appreciated that, term " " center "; " vertically "; " laterally "; " on "; D score; " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end ", " interior ", orientation or the position relationship of indications such as " outward " are based on orientation shown in the drawings or position relationship, only be for convenience of description the present invention and simplified characterization, rather than device or the element of indication or hint indication must have specific orientation, with specific orientation structure and operation, therefore can not be interpreted as limitation of the present invention.In addition, term " first ", " second " only are used for describing purpose, and can not be interpreted as indication or hint relative importance.
In description of the invention, need to prove that unless clear and definite regulation and restriction are arranged in addition, term " installation ", " linking to each other ", " connection " should be done broad understanding, for example, can be to be fixedly connected with, also can be to removably connect, or connect integratedly; Can be mechanical connection, also can be to be electrically connected; Can be directly to link to each other, also can indirectly link to each other by intermediary, can be the connection of two element internals.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.
Below in conjunction with method of testing and the system of accompanying drawing description according to the service network system of the embodiment of the invention.
Fig. 1 is the flow chart of the method for testing of service network system according to an embodiment of the invention.
Wherein, service network system comprises a plurality of service nodes.The principle of this method of testing is: at first, for real visit data between the composite services (each service node) is gathered, for any one service node, need to send to the request of this node and monitor and record from the service request that this node sends all.Move first a service and use, after a period of time, gather the interactive access record between each service node.Then, according to the log generating test use case, by test case is configured, comprise request access speed, the parameter configuration such as request degree of parallelism, then send the startup test command to each service node, then send the test pack of setting intensity to each service node, and in test process the dynamic collection test result, and gather in the result set that will gather separately, by collecting, measure, add up the throughput of each node, the parameters such as denial of service rate are come assay service combination system (service network system), synthetically find out system bottleneck, thereby propose prioritization scheme data are provided, improve performance and the efficient of service network system.
Particularly, as shown in Figure 1, the method may further comprise the steps:
Step S101: operation service network system.
Step S102: a plurality of service nodes are monitored, and obtained the communication information of a plurality of service nodes.
In one embodiment of the invention, communication information comprises: the receive data of each service node, transmission data and sending node information and receiving node information.Particularly, take a service node as example, monitor data and record that all send to this node (service node) designated port, grasp simultaneously the data that all send from this service node designated port, transmit to original transmission target behind the record, and the response data of record object loopback.Thus, can record the inputoutput data of each service node under real scene, for the pressure test of back provides parameter.
Step S103: generate the simulation test data according to communication information, and send test command to a plurality of service nodes, wherein, test command has configuration information.
Step S104: a plurality of service nodes carry out pressure test according to test command and the simulation test data of correspondence, and obtain the detecting information of a plurality of service nodes.
In one embodiment of the invention, detecting information comprises: the occupancy of flow, throughput, data rate and CPU and memory, further, intensity, degree of parallelism and the data volume of the visit data by controlling each service node are carried out pressure test to each service node respectively.Particularly, each service node can be according to test command, sends the simulation request msg to local port, and simulation is local sends the response that expection obtains after the data.Can come the intensity of access control data according to the configuration information that comprises in the test command, carry out pressure test by increase degree of parallelism, increase data volume.Under test pattern, can monitor the flow of local network, throughput, speed data stream and the CPU of service and the occupancy of memory are measured.Further, owing to the multidate information that can collect in each service node running, after test finishes, can allow the various information that collect are carried out initial analysis, gather again and further analysis.
In one embodiment of the invention, service node is service end or gateway.Namely except can directly monitoring service node and record etc., also can monitor and record etc. gateway, wherein, can connect a plurality of service nodes under the gateway, thereby realize perception of content and analysis to whole network domains server data stream, so realize to from arrive this network domains Simulation and analysis of data of handling up.
Step S105: the detecting information to a plurality of service nodes carries out statistics and analysis to obtain the test result of service network system according to analysis result.
By the communication information of each service node comprehensively being gone analysis-by-synthesis, not only obtain resource consumption and the network index of each service node, can also be from the angle of the overall situation, find the performance bottleneck on the Services Composition chain, thereby use minimum one-tenth originally to reach the optimization of service network system.
Further, when the detecting information to a plurality of service nodes carries out statistics and analysis with after obtaining the test result of service network system according to analysis result, also comprise: whether the performance of judging a plurality of service nodes of service network system according to test result satisfies preassigned, thereby find further the performance bottleneck on the Services Composition chain, for the optimization to service network system provides objective reliable reference.
Method of testing according to the service network system of the embodiment of the invention, can test the integral body (a plurality of service node) of service network system, a plurality of service nodes are carried out integration test, performance bottleneck can making up from the visual angle lookup service of service network system integral body, test result has objectivity, authenticity and reliability, further, the method of testing of the service network system of the embodiment of the invention can produce test case from the test data of service network system, in order to service network system is tested, thereby test result can be true, objective and reflect reliably the performance of service network system.
Fig. 2 is the structure chart of the test macro of service network system according to an embodiment of the invention.Wherein, service network system comprises a plurality of service nodes.Service network system comprises a plurality of service nodes.The principle of this test macro is: at first, for real visit data between the composite services (each service node) is gathered, with service broker SA(Service Agent) be deployed on each service node of service network system, service broker SA plays the function of local agent service at service node.For any one service node, service broker SA sends to the request of this node to all and monitors and record from the service request that this node sends.Move first one based on the service application of Services Composition, after a period of time, service broker SA gathers the interactive access record between each service node.Then, controller is according to the log generating test use case, by test case is configured, comprise request access speed, the parameter configuration such as request degree of parallelism, then send the startup test command to service broker SA, service broker SA begins to send the test pack of setting intensity to service node by local agent, service broker SA is the dynamic collection test result in test process, and gather in the result set that will gather separately, by collecting, measure, add up the throughput of each node, the parameters such as denial of service rate, come assay service combination system (service network system), synthetically find out system bottleneck, thereby propose prioritization scheme data are provided, improve performance and the efficient of service network system.
As shown in Figure 2, this system 200 comprises: service broker SA, controller CC and performance evaluation modules A C.
Particularly, service broker SA is deployed on each service node, is used for after the service network system operation a plurality of service nodes being monitored, and obtain the communication information of a plurality of service nodes, and according to test command and simulation test data a plurality of service nodes are carried out pressure test.Controller CC is used for generating the simulation test data according to communication information, and sends test command to service broker SA, and wherein, test command has configuration information.Performance evaluation modules A C is used for the detecting information from a plurality of service nodes of service broker SA is carried out statistics and analysis, and obtains the test result of service network system according to analysis result.
In one embodiment of the invention, communication information comprises: the receive data of each service node, transmission data and sending node information and receiving node information.Particularly, take a service node as example, service broker SA monitors all data and records of sending to this node (service node) designated port, grasp simultaneously the data that all send from this service node designated port, transmit to original transmission target behind the record, and the response data of record object loopback.Thus, can record the inputoutput data of each service node under real scene, for the pressure test of back provides parameter.In addition, detecting information comprises: the occupancy of flow, throughput, data rate and CPU and memory, further, service broker SA according to intensity, degree of parallelism and the data volume of the visit data of service node corresponding to described configuration information control in order to described each service node is carried out pressure test.Particularly, each service broker SA can be according to the test command that comes self-controller CC, sends the simulation request msg to local port, and simulation is local sends the response that expection obtains after the data.Can come the intensity of access control data according to the configuration information that comprises in the test command, carry out pressure test by increase degree of parallelism, increase data volume.Under test pattern, service broker SA can monitor the flow of local network, and throughput, speed data stream and the CPU of service and the occupancy of memory are measured.Further, owing to the multidate information that can collect in each service node running, after test finishes, can allow the various information that collect are carried out initial analysis, gather again and further analysis.
In one embodiment of the invention, service node is service end or gateway.Be service broker SA except can directly monitoring service node and record etc., service broker SA also can monitor and record etc. gateway, wherein, can connect a plurality of service nodes under the gateway, thereby realize perception of content and analysis to whole network domains server data stream, so realize to from arrive this network domains Simulation and analysis of data of handling up.
Performance evaluation modules A C is by comprehensively going analysis-by-synthesis to the communication information of each service node, not only obtain resource consumption and the network index of each service node, can also be from the angle of the overall situation, find the performance bottleneck on the Services Composition chain, thereby use minimum one-tenth originally to reach the optimization of service network system.
Further, when the detecting information to a plurality of service nodes carries out statistics and analysis with after obtaining the test result of service network system according to analysis result, performance evaluation modules A C also is used for judging according to test result whether the performance of a plurality of service nodes of service network system satisfies preassigned, thereby find further the performance bottleneck on the Services Composition chain, for the optimization to service network system provides objective reliable reference.
As a concrete example, the test macro 200 of service network system adopts distributed framework, be divided into service broker (SA, Service Agent), be service broker SA, control centre (CC, Control Center), i.e. controller CC, analysis center (AC, Analyze Center), i.e. performance evaluation modules A C.
At first, for real visit data between the composite services is gathered, SA need to be deployed on the different service nodes (sevice) of service network, SA plays the function of local proxy server at service node, and all are sent to the request of this node and monitor and record from the service request that this node sends.The user need to move first a service and use, and after a period of time, the SA system will collect the interactive access record between each service node.Then, the user is configured test case by CC, comprises request access speed, the parameter configuration such as request degree of parallelism, and then CC sends the startup test command to each SA, and each SA begins to send the test pack of setting intensity to the local service node by local agent.SA can be in test process the dynamic collection test result, and gather to AC in the result set that will gather separately.The parameters such as the throughput of AC by collecting, measure, add up each node, denial of service rate are come the assay service combination system, for finding out system bottleneck, proposing prioritization scheme data are provided.
As shown in Figure 3, show the topological structure of the test macro 200 of service network system.Each module declaration is as follows in the system:
Service broker (SA, Service Agent)
Be deployed on each node of service network system.The functional mode that comprises three aspects::
The access recording mode, SA comprises the agency service functional module, can monitor the data that all send to this node designated port, is transmitted to local service software behind the record; Also can grasp the data that all send from designated port, transmit to original transmission target behind the record, and the response data of record object loopback.By opening the access recording function, can record the inputoutput data of next service module under real scene, for the pressure test of back provides parameter.As shown in Figure 4, the acquisition phase SA of test macro that shows the service network system of the embodiment of the invention transmits service request.
The simulation test pattern, SA can be according to order, sends the simulation request msg to local port, and simulation is local sends the response that expection obtains after the data.Can come the intensity of access control data according to the configuration information that comprises in the order, carry out pressure test by increase degree of parallelism, increase data volume.Under test pattern, SA can monitor the flow of local network, and throughput, speed data stream and the CPU of service and the occupancy of memory are measured.As shown in Figure 5, show the test phase SA simulation request of test macro 100 of the service network system of the embodiment of the invention.
Analytical model, because SA can collect the multidate information in each service operation process, after test finishes, the startup analysis pattern, the various information that can allow SA collect are carried out initial analysis, are aggregated among the AC again.As shown in Figure 6, show the analysis phase SA report analysis result of test macro 100 of the service network system of the embodiment of the invention.
Except directly being deployed on the service place node, SA also can be deployed on the gateway node of a network domains, realizes perception of content and analysis to whole network domains server data stream, so realize to from arrive the handle up simulation of data of this network domains.
Control centre (CC, Control Center)
Belong to independently network service software, Web webpage control interface is provided.Pass through message communicating with SA module, AC module.CC sends control command can for different SA.Comprise the pattern switching controls, the test parameter configuration, and analyze Data Collection control etc.Also can send control command to AC, start the collection analysis flow process, configuration needs the object set of collection etc.
Analysis center (AC, Analyze Center)
Belong to independently network service software, the Web page and user interactions are provided.This module is responsible for collecting the measurement data that each AC sends, and concentrates and carries out statistics and analysis.Different from traditional Web test analysis instrument, AC need to carry out analysis-by-synthesis to distributed serviced component, not only obtain resource consumption and the network index of each service node, can also be from the angle of the overall situation, find the performance bottleneck on the Services Composition chain, thereby use minimum one-tenth originally to reach system optimization.
Workflow is as follows:
Drainage pattern:
The composite services software systems are deployed on the server with SA module;
Test machine client starts each SA by CC, and it is drainage pattern that SA is set
Test machine client Reality simulation user, the entrance service of access combination service system;
SA begins to gather calling in the service interaction process, and record
Test pattern:
It is test pattern that test machine client arranges each SA by CC, and configuration intensity
The SA analog acquisition to access request and amplify, send analogue data to the service of the machine.Certainly, embodiments of the invention are not limited to this, and SA also can send analogue data to other service nodes of far-end.That is, SA can will collect the data of this node, sends analogue data to the machine (corresponding server node), and SA also can gather from the data of this service node output, sends analogue data to other related service nodes.In other words, SA sends analogue data local mode and remote mode.
Analytical model:
It is analytical model that test machine client controls each SA by CC
SA stops to send analogue data, and the startup analysis process generates analysis report
SA gathers analysis report to AC
Test machine client obtains statistic analysis result by the interface that AC provides.
Test macro according to the service network system of the embodiment of the invention, can test the integral body (a plurality of service node) of service network system, a plurality of service nodes are carried out integration test, performance bottleneck can making up from the visual angle lookup service of service network system integral body, test result has objectivity, authenticity and reliability, further, the test macro of the service network system of the embodiment of the invention can produce test case from the test data of service network system, in order to service network system is tested, thereby test result can be true, objective and reflect reliably the performance of service network system.
The test macro of the service network system of the embodiment of the invention can carry out pressure test to the software systems based on composite services, finds the performance bottleneck node in the composite services chain.Particularly, as shown in Figure 7, use the improved test mode of native system, SA can collect the mutual request of each serviced component in true use procedure, then under the control of CC, starts simulation process, strengthens test data pressure; The result who collects each module testing by SA at last reports to AC, and AC carries out analytical integration to data again, feeds back to test machine.As shown in Figure 7, show SA with the analogue data transmission of local mode, certainly, in other examples of the present invention, also remote mode can be arranged, be that SA sends to other service nodes with analogue data, the test of remote mode, i.e. the mode of long-range simulation can the analog network factor (as but be not limited to: postpone) impact that brings.And local mode can shield the impact that network factors is brought, and only studies the calculating factor of software itself.In the reality test, can select as required local mode or remote mode, certainly, also can select simultaneously these two kinds of test patterns, both software itself was tested and network was tested.The test macro of service network system can from the test data of service network system can the analog service network system true running, thereby test result can reflect the performance of service network system true, objective and reliably.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or the example in conjunction with specific features, structure, material or the characteristics of this embodiment or example description.In this manual, the schematic statement of above-mentioned term not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or characteristics can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple variation, modification, replacement and modification to these embodiment in the situation that does not break away from principle of the present invention and aim, scope of the present invention is by claim and be equal to and limit.

Claims (12)

1. the method for testing of a service network system is characterized in that, described service network system comprises a plurality of service nodes, said method comprising the steps of:
Move described service network system;
Described a plurality of service nodes are monitored, and obtained the communication information of described a plurality of service nodes;
Generate the simulation test data according to described communication information, and send test command to described a plurality of service nodes, wherein, described test command has configuration information;
Described a plurality of service node carries out pressure test according to test command and the simulation test data of correspondence, and obtains the detecting information of described a plurality of service nodes; And
Detecting information to described a plurality of service nodes carries out statistics and analysis to obtain the test result of described service network system according to analysis result.
2. method according to claim 1 is characterized in that, described communication information comprises:
The receive data of each service node, transmission data and sending node information and receiving node information.
3. method according to claim 1 is characterized in that, intensity, degree of parallelism and the data volume of the visit data by controlling each service node are carried out pressure test to described each service node respectively.
4. method according to claim 1 is characterized in that, described detecting information comprises:
The occupancy of flow, throughput, data rate and CPU and memory.
5. method according to claim 1 is characterized in that, described service node is service end or gateway.
6. each described method is characterized in that according to claim 1-5, also comprises:
Whether the performance of judging described a plurality of service nodes of described service network system according to described test result satisfies preassigned.
7. the test macro of a service network system is characterized in that, described service network system comprises a plurality of service nodes, and described test macro comprises:
Be deployed in the service broker SA of each service node, be used for after described service network system operation, described a plurality of service nodes are monitored, and obtain the communication information of described a plurality of service nodes, and according to test command and simulation test data described a plurality of service nodes are carried out pressure test;
Controller is used for generating the simulation test data according to described communication information, and sends test command to described service broker SA, and wherein, described test command has configuration information; And
The performance evaluation module is used for the detecting information from described a plurality of service nodes of described service broker SA is carried out statistics and analysis, and obtains the test result of described service network system according to analysis result.
8. system according to claim 7 is characterized in that, described communication information comprises:
The receive data of each service node, transmission data and sending node information and receiving node information.
9. system according to claim 7 is characterized in that, described service broker SA according to intensity, degree of parallelism and the data volume of the visit data of service node corresponding to described configuration information control in order to described each service node is carried out pressure test.
10. system according to claim 7 is characterized in that, described detecting information comprises:
The occupancy of flow, throughput, data rate and CPU and memory.
11. system according to claim 7 is characterized in that, described service node is service end or gateway.
12. each described method is characterized in that according to claim 7-11, described performance evaluation module also is used for judging according to described test result whether the performance of described a plurality of service nodes of described service network system satisfies preassigned.
CN201310001448.0A 2013-01-04 2013-01-04 A kind of method of testing of service network system and system Active CN103051500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310001448.0A CN103051500B (en) 2013-01-04 2013-01-04 A kind of method of testing of service network system and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310001448.0A CN103051500B (en) 2013-01-04 2013-01-04 A kind of method of testing of service network system and system

Publications (2)

Publication Number Publication Date
CN103051500A true CN103051500A (en) 2013-04-17
CN103051500B CN103051500B (en) 2015-09-09

Family

ID=48064005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310001448.0A Active CN103051500B (en) 2013-01-04 2013-01-04 A kind of method of testing of service network system and system

Country Status (1)

Country Link
CN (1) CN103051500B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767655A (en) * 2015-03-17 2015-07-08 微梦创科网络科技(中国)有限公司 Analog result detection method and device
CN105812210A (en) * 2016-05-25 2016-07-27 赵鹏 Distributed network performance measuring system
CN106155852A (en) * 2016-06-28 2016-11-23 浪潮(北京)电子信息产业有限公司 The collection method of Apache service error event and system
WO2017113848A1 (en) * 2015-12-30 2017-07-06 中兴通讯股份有限公司 Testing method, testing platform and simulated testing device for test case
CN108089965A (en) * 2017-12-08 2018-05-29 郑州云海信息技术有限公司 A kind of computer parallel type method for testing pressure
CN108196992A (en) * 2017-12-28 2018-06-22 广州品唯软件有限公司 A kind of automatic performance test method and device
CN108418730A (en) * 2018-03-06 2018-08-17 平安科技(深圳)有限公司 Network flow test method, device, equipment and computer readable storage medium
CN108512715A (en) * 2017-02-28 2018-09-07 菜鸟智能物流控股有限公司 Load pressure test method of service link and related device
CN109660421A (en) * 2018-10-26 2019-04-19 平安科技(深圳)有限公司 Method, apparatus, server and the storage medium of flexible scheduling resource
CN109743229A (en) * 2019-01-11 2019-05-10 武汉斗鱼鱼乐网络科技有限公司 Based on distributed performance test methods, device and system
CN109815154A (en) * 2019-02-22 2019-05-28 深圳市网心科技有限公司 A kind of test method, device, system and medium
CN110569442A (en) * 2019-09-23 2019-12-13 贵州省广播电视信息网络股份有限公司 three-layer structure-based media asset metadata service system
CN111143198A (en) * 2019-12-10 2020-05-12 湖北大学 Test data processing method and device
CN111181800A (en) * 2019-11-27 2020-05-19 腾讯科技(深圳)有限公司 Test data processing method and device, electronic equipment and storage medium
CN111817913A (en) * 2020-06-30 2020-10-23 北京红山信息科技研究院有限公司 Distributed network performance test method, system, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090295A (en) * 2007-07-25 2007-12-19 中兴通讯股份有限公司 Test system and method for ASON network
CN102035896A (en) * 2010-12-31 2011-04-27 北京航空航天大学 TTCN-3-based distributed testing framework applicable to software system
CN102118230A (en) * 2011-03-23 2011-07-06 华中科技大学 Tree and tabular combined notation (TTCN)-based network protocol performance testing method
CN102214139A (en) * 2011-06-01 2011-10-12 北京航空航天大学 Automatic test performance control and debugging method facing distributed system
CN102354298A (en) * 2011-07-27 2012-02-15 哈尔滨工业大学 Software testing automation framework (STAF)-based fault injection automation testing platform and method for high-end fault-tolerant computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090295A (en) * 2007-07-25 2007-12-19 中兴通讯股份有限公司 Test system and method for ASON network
CN102035896A (en) * 2010-12-31 2011-04-27 北京航空航天大学 TTCN-3-based distributed testing framework applicable to software system
CN102118230A (en) * 2011-03-23 2011-07-06 华中科技大学 Tree and tabular combined notation (TTCN)-based network protocol performance testing method
CN102214139A (en) * 2011-06-01 2011-10-12 北京航空航天大学 Automatic test performance control and debugging method facing distributed system
CN102354298A (en) * 2011-07-27 2012-02-15 哈尔滨工业大学 Software testing automation framework (STAF)-based fault injection automation testing platform and method for high-end fault-tolerant computer

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767655B (en) * 2015-03-17 2018-09-21 微梦创科网络科技(中国)有限公司 A kind of analog result detection method and device
CN104767655A (en) * 2015-03-17 2015-07-08 微梦创科网络科技(中国)有限公司 Analog result detection method and device
WO2017113848A1 (en) * 2015-12-30 2017-07-06 中兴通讯股份有限公司 Testing method, testing platform and simulated testing device for test case
CN105812210A (en) * 2016-05-25 2016-07-27 赵鹏 Distributed network performance measuring system
CN106155852A (en) * 2016-06-28 2016-11-23 浪潮(北京)电子信息产业有限公司 The collection method of Apache service error event and system
CN108512715A (en) * 2017-02-28 2018-09-07 菜鸟智能物流控股有限公司 Load pressure test method of service link and related device
CN108512715B (en) * 2017-02-28 2021-11-02 菜鸟智能物流控股有限公司 Load pressure test method of service link and related device
CN108089965A (en) * 2017-12-08 2018-05-29 郑州云海信息技术有限公司 A kind of computer parallel type method for testing pressure
CN108196992B (en) * 2017-12-28 2021-05-28 广州品唯软件有限公司 Automatic performance testing method and device
CN108196992A (en) * 2017-12-28 2018-06-22 广州品唯软件有限公司 A kind of automatic performance test method and device
CN108418730A (en) * 2018-03-06 2018-08-17 平安科技(深圳)有限公司 Network flow test method, device, equipment and computer readable storage medium
CN109660421A (en) * 2018-10-26 2019-04-19 平安科技(深圳)有限公司 Method, apparatus, server and the storage medium of flexible scheduling resource
CN109743229A (en) * 2019-01-11 2019-05-10 武汉斗鱼鱼乐网络科技有限公司 Based on distributed performance test methods, device and system
CN109815154A (en) * 2019-02-22 2019-05-28 深圳市网心科技有限公司 A kind of test method, device, system and medium
CN110569442A (en) * 2019-09-23 2019-12-13 贵州省广播电视信息网络股份有限公司 three-layer structure-based media asset metadata service system
CN110569442B (en) * 2019-09-23 2023-01-31 贵州省广播电视信息网络股份有限公司 Three-layer structure-based media asset metadata service system
CN111181800A (en) * 2019-11-27 2020-05-19 腾讯科技(深圳)有限公司 Test data processing method and device, electronic equipment and storage medium
CN111181800B (en) * 2019-11-27 2023-09-19 腾讯科技(深圳)有限公司 Test data processing method and device, electronic equipment and storage medium
CN111143198A (en) * 2019-12-10 2020-05-12 湖北大学 Test data processing method and device
CN111143198B (en) * 2019-12-10 2023-04-28 湖北大学 Test data processing method and device
CN111817913A (en) * 2020-06-30 2020-10-23 北京红山信息科技研究院有限公司 Distributed network performance test method, system, server and storage medium

Also Published As

Publication number Publication date
CN103051500B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN103051500B (en) A kind of method of testing of service network system and system
CN104579822B (en) Mobile application automated performance testing system and method based on Http agreements
CN106961362B (en) Automated testing method and mobile cloud test system
CN102244594B (en) At the networks simulation technology manually and in automatic testing instrument
CN102946616B (en) Internet of things middleware performance testing system and testing method
CN109150636B (en) Intelligent substation auxiliary point-to-point test method and system for full-link information flow
CN102695187B (en) Distributed Web-based device and method for testing 6LoWPAN protocol consistency
CN103686813B (en) Device and method for testing automatic switching stability of wireless AP (access point) channel
CN102185733A (en) Network card testing method and system
CN104683182B (en) IDC network of computer room service quality detection method and device
CN106453506A (en) Resource unified scheduling test system and method
CN112994972B (en) Distributed probe monitoring platform
CN109450743A (en) Platform of internet of things pressure testing system, method, apparatus and server
CN110460682A (en) A kind of data processing method, device, system and storage medium
JP2016527786A (en) Network test method, data collection method thereof, network test apparatus and system
CN103023967B (en) Cloud computing simulation system and method based on simics system simulator
CN101145977A (en) A QoS monitoring system and its measuring method of IP data network
CN107634871B (en) Connectivity test method, device and system
CN110365804A (en) A kind of distribution terminal cloud detection system
KR100551452B1 (en) Grid computing system for testing application program capacity of server
CN104639351A (en) Processing system and method for constructing network structure deployment diagram
CN103139004A (en) Method and system for simulating network bandwidth by using network rate-limiting tool
CN110532153A (en) A kind of business level user's operation experience visualization system
CN103780446A (en) Method and system for monitoring network bandwidth resource in real time
CN107070673A (en) Path state return algorithm based on centralized control plane

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