Nothing Special   »   [go: up one dir, main page]

CN101001183A - Test method and system for network application software - Google Patents

Test method and system for network application software Download PDF

Info

Publication number
CN101001183A
CN101001183A CN 200710063399 CN200710063399A CN101001183A CN 101001183 A CN101001183 A CN 101001183A CN 200710063399 CN200710063399 CN 200710063399 CN 200710063399 A CN200710063399 A CN 200710063399A CN 101001183 A CN101001183 A CN 101001183A
Authority
CN
China
Prior art keywords
data
test
web
transporting device
environment
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.)
Pending
Application number
CN 200710063399
Other languages
Chinese (zh)
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.)
Netease Information Technology Beijing Co Ltd
Original Assignee
Netease Information Technology Beijing 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 Netease Information Technology Beijing Co Ltd filed Critical Netease Information Technology Beijing Co Ltd
Priority to CN 200710063399 priority Critical patent/CN101001183A/en
Publication of CN101001183A publication Critical patent/CN101001183A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This invention provides a test method and a system for network applied software, in which, the method includes: a data imaging device copies timely from a network transmission device to get a data copy, said network transmission device is used in transmitting data of normal environment, analyzing and processing said data copy to convert it to test data, which can be used by the test environment, operating the normal environment and test environment synchronously to finish the performance test to being tested software. The hardware part finishes the copy of the lowest bottom data in the network protocol and the software part re-processes data to input the processed data to the test environment to generate and produce operation scene in the same environment.

Description

A kind of method of testing of network application software and system
Technical field
The present invention relates to technical field of measurement and test, particularly relate to a kind of method of testing and system of network application software.
Background technology
Along with Internet technology is used more and more widely, routine work that people are a lot of and amusement are all carried out on network, thereby have produced numerous internet applications at present, as game on line, and e-mail or the like.These companies that service is provided by network also according to user's changes in demand, the needs of business development, the factors such as appearance of new technology, constantly upgrade correcting to existing system when these services are provided.So just need the new system of test can meet the demands at aspects such as performance, accuracy, safety, stability? new system can be good at substituting existing systems? how carrying out the test of new product, is a vital link.Other connects the back-up system (for example, the disaster tolerance system of standby systems such as telecom communication, financial industry) of the important department of the Internet, needs also whether it can normally work through test-based examination.
Present software test, dividing by the stage from the process of software development has A. unit testing B. integration testing C. to confirm test D. Acceptance Test E. system testing.
Several stages from the integration testing to the system testing, general conventional test methodologies are to adopt the manufacturing test data, and the means such as test of simulation production environment are tested.But the test data of otherwise configured can't the performance of reaction system in the actual environment of complexity and the problem that may occur.Particularly in Acceptance Test, need to simulate as far as possible realistically formal environments.
In the method for preferred simulation formal environments, need to revise the program in the production system usually, be the test record data necessary or the collaborative work of new system.For example, for the network application data storehouse, prior art is generally at data access interface layer (DAO layer, Data Access Object) increases the transmission message code, function name and parameter information that request in the true environment need be called are sent to Java message server (JMS server, java message service); Perhaps, can increase log recording function at data access interface layer (DAO layer), function name and parameter information that the request in the true environment need be called are stored in the journal file.
For the scheme that adopts the JMS server, at first, owing to increased the function that sends message, so be bound to the Business Processing of formal environments is exerted an influence; Secondly, from the JMS server, take out the message life period and postpone, and concurrent situation can be changed into the form of formation, thereby cause processing sequence and the inconsistent problem of formal environments.
For by record, read for the scheme of mode simulates real real environment of daily record, compare with employing JMS server, change and influence to formal environments are all smaller, but call and the formal environments of daily record can't synchronous operations, comparison, and the concurrency of multithreading call request can't simulate out, because daily record is write down successively.
For simulates real real environment further, prior art has also proposed to revise the scheme of server forwards module, revise the forwarding module of the webserver (web server), when true http request is forwarded to the application server (application server) of following one deck, can duplicate a to the application server of test environment simultaneously, thereby realization synchronism detection, but this scheme need be revised the forwarding module of bottom, the technology more complicated, it is bigger to the influence of whole system to revise the back, and be difficult to precognition in advance, need repeatedly test can know that just risk is bigger.
In sum, existing measuring technology is difficult to simulate all situations of true environment, the difficult simulations such as variation of the arbitrariness of the randomness of data, request, load in the true environment promptly allow to simulate well, and the cost of workload, realization also may be than higher.Under the present circumstances, go test, before not adopting new system to replace old system, also be difficult to the every concrete data target of seeing that new system shows in true environment even expend a lot of resources.
In a word, need the urgent technical problem that solves of those skilled in the art to be exactly: a kind of brand-new testing scheme is proposed, simulates real real environment that can be best, and influence minimum to what the operation of formal environments produced.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method of testing and system of network application software, adopt the present invention can be so that software under testing is moving in the extremely approaching environment of and true environment, obtain test result accurately, realization cost of the present invention is very low simultaneously, there is very little risk, can not exert an influence to existing system.
In order to address the above problem, the invention discloses a kind of method of testing of network application software, may further comprise the steps:
Data mirroring apparatus duplicates in real time from web-transporting device and obtains data trnascription, and described web-transporting device is used to transmit the data of formal environments;
The described data trnascription of analyzing and processing is converted to test data with described data trnascription, and described test data can be used by tested environment;
Synchronous operation formal environments and test environment are finished the Performance Detection to software under testing.
Wherein, preferred, described web-transporting device is switch or router, and described data mirroring apparatus is the Port Mirroring module of switch or router.
Preferably, described web-transporting device is the physical circuit of transmission data in the network, and described data mirroring apparatus is the circuit audiomonitor.
Preferably, described data trnascription duplicates between last one deck and the webserver that the position that obtains is a web-transporting device.
Preferably, the described data trnascription that obtains that duplicates comprises into and out of the data of this web-transporting device both direction.
Preferably, described analyzing and processing comprises: protocol analysis, packet reorganization, address transition, reciprocal process coupling.Further, described analyzing and processing also comprises: the encryption and decryption step.
When described network was Ethernet, described analyzing and processing can may further comprise the steps: the data packet analysis step; The analysis result filtration step; The combining step of user's request; Test data generates step.
The present invention also provides a kind of test macro of network application software, comprising:
Formal environments is used to the user that certain service is provided, and the environment of commencement of commercial operation;
Test environment, the running environment of building for the performance that detects software under testing;
Data mirroring apparatus is connected with web-transporting device, is used for duplicating in real time from web-transporting device obtaining data trnascription, and described web-transporting device is used to transmit the data of formal environments;
Analyze conversion equipment, be used for the described data trnascription of analyzing and processing, described data trnascription is converted to test data, described test data can be used by tested environment;
Checkout gear is used for the process in formal environments and test environment synchronous operation, finishes the Performance Detection to software under testing.
When described web-transporting device was switch or router, described data mirroring apparatus was the Port Mirroring module of switch or router.
When described web-transporting device was the physical circuit of transmission data in the network, described data mirroring apparatus was the circuit audiomonitor.
Preferably, described data trnascription duplicates between last one deck and the webserver that the position that obtains is a web-transporting device.
Preferably, described analyzing and processing comprises: protocol analysis, packet reorganization, address transition, reciprocal process coupling.
Preferably, when described network was Ethernet, described APU comprised with lower module: the data packet analysis module is used for according to protocol specification packet being analyzed; The analysis result filtering module is used for the filter analysis result, removes invalid information; The user asks to merge module, is used for complete user's request is merged in the user's request that is dispersed in a plurality of packets; The test data generation module is used to finish address transition, generates test data.
Compared with prior art, the present invention has the following advantages:
At first, the generation in test data of the present invention source realizes by way of hardware and software combination, duplicates from web-transporting device and obtain data trnascription, and obtain required test data by analysis and processing program.Hardware components is finished duplicating of bottom data in the procotol, and software section is process data again, and the data of handling well are inputed to test environment, produces and the same operation scene of production environment.Tested system can operation (load of request, distribution situation of request or the like) in the extremely approaching environment of and true environment, and indexs such as the correctness of tested system, reliability, stability can both obtain more fully and test more accurately.
Preferably, utilize the Port Mirroring function of switch or router to realize duplicating of data trnascription, perhaps by monitoring to the physical transfer circuit, realize duplicating of data trnascription, owing in the transfer of data of any network application software, all be unable to do without above-mentioned hardware, so the scope of application of the present invention is very extensive, have extraordinary practicability, the test of all application Network Based can both be suitable for the present invention.Certainly, need know that for the network transmission protocol protocol specification just can finish the analyzing and processing of packet.
Secondly, because the present invention will send to data image in the formal environments to test environment by hardware, test environment is handled the copy of True Data, to formal environments without any influence, test environment but can situation that simulate formal environments all sidedly true to nature, and the realization Synchronous Processing, can start or stop test at any time, can not influence the operation of formal environments.
Description of drawings
Fig. 1 is the flow chart of steps of the method for testing of network application software;
Fig. 2 is to be the logical architecture figure of the method for testing data flow of example with the database application;
Fig. 3 is to be the analyzing and processing flow chart of steps of example with the http request;
Fig. 4 is the structured flowchart of the test macro of network application software;
Fig. 5 is the structured flowchart that is applied as the formal environments of example with network data base;
Fig. 6 is the structured flowchart that is applied as the test environment of example with network data base;
Fig. 7 is the structured flowchart of APU embodiment.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Generally will be formally provide the environment of certain service to be referred to as formal environments operating to the user, the running environment that will be used to detect whether the meeting design requirement of new product or alternate products and build is referred to as test environment, core of the present invention is exactly by hardware, and data were mirrored to test environment before arriving formal environments.Based on network application when providing service for the user, all will transmit data by network.When the last one deck that enters formal environments in data is forwarded to the webserver, copy a copy by the data of using bottom hardware will send to formal environments.This copy that duplicates out will be the data source of test environment, through processed, finally form satisfactory test data, be transmitted to test environment again.Test environment has obtained user's request just as formal environments at this moment, and whole test environment has got up with regard to entry into service.Test environment pressure size, distribution situation and the formal environments of bearing is extremely approaching in this case.Therefore can access every data target that tested product can show under formal environments, and accuracy is higher.
With reference to Fig. 1, show the flow chart of steps of the method for testing of network application software of the present invention, specifically may further comprise the steps:
Step 101, data mirroring apparatus duplicate in real time from web-transporting device and obtain data trnascription, and described web-transporting device is used to transmit the data of formal environments.
Network described in the present invention is not limited to the Internet, and in actual applications, data still are that other external networks or internal network do not influence application from the Internet, needs only data by Network Transmission, and the present invention is suitable for.
Preferably, described web-transporting device is switch or router, and described data mirroring apparatus is the Port Mirroring module of switch or router.
Generally speaking, all has the Port Mirroring function in these network equipments of the switch of main flow or router, the port that network traffics are monitored is called " source port " (Source Port), and the port that connects audiomonitor is called " mirror port " (Mirror Port).Making does not need to improve switch or router in this way, do not need to increase extra equipment yet, only need be configured switch, the its enable port image feature, to send to the data of one or more network ports, complete copy the mirror port that portion sends to the appointment on the switch and get final product.Because the Port Mirroring function is realized that by hardware the bottom in procotol carries out, so reliability is higher.
For the Port Mirroring function in switch or the router,, never it is used in the test of network application software in the prior art though exist.Prior art uses the Port Mirroring function of the network equipments such as switch to be mainly used in: (1) network monitoring; (2) investigation network failure, supervising the network.
(1) network monitoring
Need monitor the data that some network transmits as public security department, the supervision software of use is exactly the Port Mirroring function of utilizing.Also having some major companies for the purpose of safety, to the supervision of the data of turnover company, also is to utilize this function.
(2) investigation network failure, supervising the network
Various faults emerge in an endless stream in the network system.The wrong packages that worm-type virus, network attack, ARP (AddressResolution Protocol, address resolution protocol) deception, network interface card fault cause etc. can cause unpredictable fault.Therefore, adopt mirror port to carry out packet capturing and handle, search failure cause, deal with problems, can greatly improve whole network operating efficiency, ensure the normal operation of network.In the time of use side port mirror image function treatment problem and supervising the network, the imperceptible influence of user.
Perhaps, described web-transporting device also can be the physical circuit of transmission data in the network, and at this moment, described data mirroring apparatus is the circuit audiomonitor.For example, utilize the signal of the physical circuit (netting twine, radio etc.) of specialized apparatus detected transmission data to change, change by monitoring these signals, the data of record true environment transmission so also can be obtained the true environment data.Be that with the inferior position of comparing of aforementioned schemes this mode needs special-purpose circuit audiomonitor, described circuit audiomonitor prior art can realize fully, just repeats no more at this.
According to concrete testing requirement,, then only need to duplicate unidirectional input data trnascription and get final product if test environment only needs to import the request msg of formal environments; And if test process is when also needing the feedback information of formal environments, the then described data trnascription that obtains that duplicates can comprise into and out of the data of this web-transporting device both direction.And for two kinds of above-mentioned mirror image implementations, unidirectional or two-way data trnascription all is easy to realize very much.
Preferably, described data trnascription duplicates between last one deck and the webserver that the position that obtains is a web-transporting device.A network transmission process, may be through the multilayer transmission, preferably, last network node that enters formal environments that is replicated in of data trnascription carries out, promptly in the end carry out between the webserver of one deck and formal environments, can guarantee like this to copy whole creation datas, and need not be concerned about that what kind of distribution situation uses each user of formal environments is, the problem in the network transmission process can also be got rid of outside test process.
Step 102, the described data trnascription of analyzing and processing are converted to test data with described data trnascription, and described test data can be used by tested environment.
Generally will be formally provide the environment of certain service to be referred to as formal environments operating to the user, will be used to detect whether the meeting design requirement of new product or alternate products and the running environment of building is referred to as test environment.
With reference to Fig. 2, with the database application is example, show the logical architecture figure of the data flow of using method shown in Figure 1, from other networks or the Internet and the data source of coming through last network node--the network switch 201 is sent to formal environments 202 and test environment 203 respectively, concrete process of transmitting is: network packet is sent to the analyzing and processing server by the switch mirror port, through entering test environment 203 after the conversion.
Formal environments shown in Fig. 2 and test environment all comprise Web server, application server and database server (Database Server), wherein, described Web server, be used to respond the access request with process user, the service logic that needs application server processes is transmitted to application server.Described application server is used for the logic of managing business, and described database server is used for storage and retrieve data.
Because the source of test data of the present invention is to obtain from entering formal environments last transport network node before, therefore, the framework of test environment and formal environments is identical.And for more existing method of testings, be between Web server and application server according to the source of test data, or between application server and the database server, the part that test environment only need be built formal environments get final product.Though building of test environment is fairly simple, but can't reflect the influence of network application software to be measured to Web server and application server, cause test result incomplete.
Data trnascription by step 101 produces needs analyzing and processing to be used by test environment.The complexity of analyzing and processing depends on the procotol of use and the concrete condition of application.For common unencrypted http agreement, the parsing that comprises agreement that generally need do, the reorganization of packet, the formal network address are to the conversion of test address, the coupling of reciprocal process etc.; Also need to do the deciphering of agreement for the https of common encryption, other handling processes are identical with common protocol.For particular protocol, then also need to understand the correct analysis protocol of standard ability of agreement.
Step 103, synchronous operation formal environments and test environment are finished the Performance Detection to software under testing.
The performance test of software of the present invention can help identification exploitation to finish the correctness of the applications of computer network software (in whole or in part) of (middle or final version), degree and quality fully, judges whether These parameters meets design requirement.
Concrete testing process, those skilled in the art according to the difference of software under testing, detect the difference of demand, different detection scheme in can designing fully, this can't, also need not to describe in detail one by one.
With a concrete example the present invention is further detailed below:
Suppose, the charging center of a telecommunications, because professional development, original charge system can not satisfy the demands, and need develop the new system of a cover again.After new system development is good, a lot of basic theoretic tests have been carried out.But before replacing old system, the technical staff does not know whether this new system can be good at replacing old system.Under formal environments, the stability of new system, whether the disposal ability in the peak period can meet the requirements of accuracy or the like, these performance index all do not have reliable especially data to illustrate, use the present invention and just can carry out fully above-mentioned performance index, test accurately.
Suppose that above-mentioned charge system uses the http agreement that the metering data of telecommunications is transferred to the charging center.Charge system is by web Server, Application Server, and the cover system that Database Server forms links to each other by local area network (LAN) between these systems.
Use testing scheme of the present invention, entering on the last network node of charge system, the Port Mirroring function of configuration switch, the process of configuration gets final product with reference to the explanation of employed switch.The data of the port transmission of formal environments will be connected on the switch, capture on the data processing server, at this moment the data that capture are data messages of data link layer, are reduced into high-rise http agreement by the handling procedure network data that these are the most original.Also will carry out the merging of http message to the http layer protocol after the reduction, replace purpose IP address etc., be about to the IP address of formal environments, replace to the IP address of test environment, the data after these processing just can be transferred to test environment.
The input data have been arranged, and new charge system has been got up with regard to entry into service.Because the data source of using is to produce in the true environment, the load of data, distribution situation, randomness etc. are all employed identical with formal environments.With new charge system and old charge system parallel running a period of time, can be several days, or one or two months, by comparing the operation result on both sides, the performance of so new system is just well tested out.And when pinpointing the problems, can stop test immediately, and make amendment, start test then again.Because the present invention does not make any change to formal environments, so formal environments can not felt the existence of test environment, just can not produce any influence to the operation of formal environments yet, this point is for industries such as telecommunications, banks, the higher field of changeover request of old system and new system is vital.
Below to obtaining the user request (http request) on several station servers that send to formal environments, become the process that test request sends to test environment through processing and be described in detail.
With reference to Fig. 3, to the packet that is mirrored to, processing procedure is as follows:
Step 301, data packet analysis
The network of tentation data transmission is an Ethernet, and in Ethernet, data are originally to be that unit exchanges with the data structure that is called as frame.Generally speaking, the form of Frame is fixing according to agreement at the form of each layer of transfer of data.Destination address, source address, data, type etc. all have set form and position, by obtaining these information to packet (frame) analysis.
For example, can pass through PCAP (packet capture) program library and analyze packet, and the information that obtains is changed into character string by network bytes, obtain source address and port, destination address and port and similar following such character string:
POST/servlet/BatchDel?HTTP/1.0
# user asks the concrete access object http protocol version of way of submission
User-agent:Mozilla/4.0?compatible(Pike?HTTP?client)
The browser of # access customer and related software version
Content-length:5500
When # user's way of submission is POST, the length of the content of submission
Host:202.108.9.222
The IP of # destination host or dns address and port are the port 80 of acquiescence in this example
Content-type:application/x-www-form-urlencoded
The type of coding of the content that # submits to is given tacit consent in this example
record=xiaoying20517,1,61.142.233.120,11321165718712000039&record=rty8895212,3,219.131...
# user submits the content of (POST) to, and form is a plurality of attribute=property values, the middle " ﹠amp that uses; " separate.
Step 302, filter analysis result
Because the data trnascription that mirror image obtains might not all be that test environment is required, therefore need to remove invalid data.For example, according to the destination address (server ip of formal environments) of required packet and the application port of required test, filter the packet that returns from formal environments.Perhaps, if the type of required request is POST or the GET of HTTP, then filter the packet of other types.
Step 303, judge whether to comprise complete request of data, if not, then merge frame.
Article one, user's GET or POST request may be distributed in several Frames, and the content in the packet of same source address and port is merged into complete user's request.
Step 304, replacement server address and other necessary processing
With Host: the content of back replaces to the address of testing server; Information among the cookie in the former request is extracted, join in the request of test.This step is adjusted former request according to concrete service logic, and the generation test packet is sent to test environment and gets final product, and described transmission approach can be socket (connect the noose word, Socket is the handle that carries out communication with server).
Above-mentioned only is a concrete handling process of using, and also has relevant adjustment according to the flow process of the different described analyzing and processing of using.Therefore the part of data processing, has not just described in detail at this one by one because the difference of using is difficult to the flow process of formation standard.
With reference to Fig. 4, show a kind of structured flowchart of test macro of network application software, specifically comprise with lower member:
Formal environments 401 is used to the user that certain service is provided, and the environment of commencement of commercial operation;
Test environment 402, the running environment of building for the performance that detects software under testing;
Data mirroring apparatus 403 is connected with web-transporting device 406, is used for duplicating in real time from web-transporting device 406 obtaining data trnascription, and described web-transporting device 406 is used to transmit the data of formal environments; Wherein, described data mirroring apparatus 403 can be arranged in described web-transporting device 406, promptly exists as its part, also can be for being independent of the isolated system outside the described web-transporting device 406, for example, the circuit audiomonitor;
Analyze conversion equipment 404, be used for the described data trnascription of analyzing and processing, described data trnascription is converted to test data, described test data can be used by tested environment; Preferably, described analyzing and processing comprises: steps such as protocol analysis, packet reorganization, address transition, reciprocal process coupling;
Checkout gear 405 is used for the process in formal environments and test environment synchronous operation, finishes the Performance Detection to software under testing.
The example that is applied as with network data base, with reference to Fig. 5, show the formal environments that oracle database is used, comprise apache server 501 (the Web Server under a kind of Unix/Linux of operating in platform), resin server 502 (a kind of application server of small and exquisite capable and vigorous type), logical process layer 503, DAO layer 504 (data access interface is used to realize the access mechanism in operating data source) and oracle database 505.With reference to Fig. 6, show in order to test network application software to be measured--mysql database (a kind of database of increasing income), and the test environment of building comprises apache server 601, resin server 602, logical process layer 603, DAO layer 604, middleware 605 and mysql database 606.Using the present invention just can be under the situation that does not influence formal environments shown in Figure 5, realization to mysql database shown in Figure 6 fully, accurately the test, after test was passed through, promptly available new mysql database replaced old oracle database, the situation of the test modifications while moving can not occur.
Preferably, described web-transporting device is switch or router, and described data mirroring apparatus is the Port Mirroring module of switch or router.Perhaps, described web-transporting device is the physical circuit of transmission data in the network, and described data mirroring apparatus is the circuit audiomonitor.
Preferably, described data trnascription duplicates between last one deck and the webserver that the position that obtains is a web-transporting device.
With reference to Fig. 7, when described network was Ethernet, described APU can comprise with lower module:
Data packet analysis module 701 is used for according to protocol specification packet being analyzed;
Analysis result filtering module 702 is used for the filter analysis result, removes invalid information;
The user asks to merge module 703, is used for complete user's request is merged in the user's request that is dispersed in a plurality of packets;
Test data generation module 704 is used to finish address transition, generates test data.
Because the core idea of testing apparatus and method of testing is identical, so comparatively simple at the description of testing apparatus, not detailed part can get final product referring to the description of this specification front appropriate section.
More than to the method for testing and the system of a kind of network application software provided by the present invention, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (14)

1, a kind of method of testing of network application software is characterized in that, comprising:
Data mirroring apparatus duplicates in real time from web-transporting device and obtains data trnascription, and described web-transporting device is used to transmit the data of formal environments;
The described data trnascription of analyzing and processing is converted to test data with described data trnascription, and described test data can be used by tested environment;
Synchronous operation formal environments and test environment are finished the Performance Detection to software under testing.
2, the method for claim 1 is characterized in that, described web-transporting device is switch or router, and described data mirroring apparatus is the Port Mirroring module of switch or router.
3, the method for claim 1 is characterized in that, described web-transporting device is the physical circuit of transmission data in the network, and described data mirroring apparatus is the circuit audiomonitor.
4, the method for claim 1 is characterized in that, described data trnascription duplicates between last one deck and the webserver that the position that obtains is a web-transporting device.
5, the method for claim 1 is characterized in that, the described data trnascription that obtains that duplicates comprises into and out of the data of this web-transporting device both direction.
6, the method for claim 1 is characterized in that, described analyzing and processing comprises: protocol analysis, packet reorganization, address transition, reciprocal process coupling.
7, the method for claim 1 is characterized in that, described analyzing and processing also comprises: the encryption and decryption step.
8, the method for claim 1 is characterized in that, when described network was Ethernet, described analyzing and processing may further comprise the steps:
The data packet analysis step;
The analysis result filtration step;
The combining step of user's request;
Test data generates step.
9, a kind of test macro of network application software is characterized in that, comprising:
Formal environments is used to the user that certain service is provided, and the environment of commencement of commercial operation;
Test environment, the running environment of building for the performance that detects software under testing;
Data mirroring apparatus is connected with web-transporting device, is used for duplicating in real time from web-transporting device obtaining data trnascription, and described web-transporting device is used to transmit the data of formal environments;
Analyze conversion equipment, be used for the described data trnascription of analyzing and processing, described data trnascription is converted to test data, described test data can be used by tested environment;
Checkout gear is used for the process in formal environments and test environment synchronous operation, finishes the Performance Detection to software under testing.
10, system as claimed in claim 9 is characterized in that, described web-transporting device is switch or router, and described data mirroring apparatus is the Port Mirroring module of switch or router.
11, system as claimed in claim 9 is characterized in that, described web-transporting device is the physical circuit of transmission data in the network, and described data mirroring apparatus is the circuit audiomonitor.
12, system as claimed in claim 9 is characterized in that, described data trnascription duplicates between last one deck and the webserver that the position that obtains is a web-transporting device.
13, system as claimed in claim 9 is characterized in that, described analyzing and processing comprises: protocol analysis, packet reorganization, address transition, reciprocal process coupling.
14, system as claimed in claim 9 is characterized in that, when described network was Ethernet, described APU comprised with lower module:
The data packet analysis module is used for according to protocol specification packet being analyzed;
The analysis result filtering module is used for the filter analysis result, removes invalid information;
The user asks to merge module, is used for complete user's request is merged in the user's request that is dispersed in a plurality of packets;
The test data generation module is used to finish address transition, generates test data.
CN 200710063399 2007-01-10 2007-01-10 Test method and system for network application software Pending CN101001183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710063399 CN101001183A (en) 2007-01-10 2007-01-10 Test method and system for network application software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710063399 CN101001183A (en) 2007-01-10 2007-01-10 Test method and system for network application software

Publications (1)

Publication Number Publication Date
CN101001183A true CN101001183A (en) 2007-07-18

Family

ID=38693001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710063399 Pending CN101001183A (en) 2007-01-10 2007-01-10 Test method and system for network application software

Country Status (1)

Country Link
CN (1) CN101001183A (en)

Cited By (55)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944778A (en) * 2010-10-09 2011-01-12 华北电网有限公司 Isolation debugging system and debugging method of transformer substation monitoring system
CN102195829A (en) * 2010-03-19 2011-09-21 升东网络科技发展(上海)有限公司 Universal pressure simulation system and control method thereof
CN102200944A (en) * 2011-06-16 2011-09-28 中国联合网络通信集团有限公司 Test environment cloning method and system for enterprise resource planning (ERP) system
CN101137092B (en) * 2007-09-11 2012-07-04 中兴通讯股份有限公司 Mobile game issuing method
CN102761452A (en) * 2011-04-25 2012-10-31 腾讯科技(深圳)有限公司 Testing system and method for implementing testing
CN102882701A (en) * 2012-08-14 2013-01-16 深圳供电局有限公司 Intelligent monitoring and warning system and method for power grid core service data
CN103180848A (en) * 2010-09-09 2013-06-26 优质生活联合服务有限公司 A system and a method for copying data
CN103580943A (en) * 2012-08-03 2014-02-12 亿赞普(北京)科技有限公司 Network software online testing method and system
CN103634160A (en) * 2012-08-28 2014-03-12 深圳市世纪光速信息技术有限公司 Web-based general Internet product data comparison test method and apparatus
CN103684931A (en) * 2013-12-31 2014-03-26 北京神州绿盟信息安全科技股份有限公司 Online safety product stability testing method and control panel thereof
CN103684895A (en) * 2012-09-10 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for generating clone environment
CN103699479A (en) * 2012-09-27 2014-04-02 百度在线网络技术(北京)有限公司 Sandbox testing environment constitution system and sandbox testing environment constitution method
CN103716197A (en) * 2012-09-29 2014-04-09 西门子公司 Method and device for testing network applications
CN103856362A (en) * 2012-11-29 2014-06-11 腾讯科技(深圳)有限公司 Terminal application test method and terminal
CN104052637A (en) * 2014-06-27 2014-09-17 梧州学院 Fixed-point network monitoring device based on 4G
CN104360952A (en) * 2012-03-02 2015-02-18 北京奇虎科技有限公司 Software test system and software test method
CN104410542A (en) * 2014-11-18 2015-03-11 小米科技有限责任公司 Method and device for simulation test
CN104955091A (en) * 2015-04-29 2015-09-30 努比亚技术有限公司 Testing method and device
WO2015165078A1 (en) * 2014-04-30 2015-11-05 Hewlett-Packard Development Company, L.P. Performing mirror test for localization testing
CN105429818A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Method and system for realizing load tests
CN105512041A (en) * 2015-12-23 2016-04-20 北京金山安全软件有限公司 Method and device for testing application program performance and electronic equipment
CN105579962A (en) * 2013-09-27 2016-05-11 西部数据技术公司 System and method for expedited loading of an image onto a storage device
CN105700896A (en) * 2014-11-24 2016-06-22 阿里巴巴集团控股有限公司 Method for launching App and devices
CN105786682A (en) * 2016-02-29 2016-07-20 上海新炬网络信息技术有限公司 Implementation system and method for avoiding software performance failure
CN106055480A (en) * 2016-06-02 2016-10-26 腾讯科技(深圳)有限公司 Webpage debugging method and terminal
CN107038282A (en) * 2017-03-16 2017-08-11 南方电网科学研究院有限责任公司 Simulation method and device based on OS2 and SMRT system
CN107124333A (en) * 2017-06-13 2017-09-01 烽火通信科技股份有限公司 The group network system and method for a kind of automatic test environment
CN107395464A (en) * 2017-09-11 2017-11-24 北京奇艺世纪科技有限公司 A kind of server test method, apparatus and API gateway
CN107402880A (en) * 2016-05-20 2017-11-28 腾讯科技(北京)有限公司 A kind of method of testing and electronic equipment
CN107864066A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Offline H5 pages monitoring method, device, equipment and readable storage medium storing program for executing
CN107957928A (en) * 2017-11-16 2018-04-24 南京轩世琪源软件科技有限公司 A kind of software synchronization operation detection and analysis and troubleshooting methodology
CN107992408A (en) * 2017-11-16 2018-05-04 南京轩世琪源软件科技有限公司 A kind of software probe method of software probe
CN108415849A (en) * 2018-05-23 2018-08-17 百度在线网络技术(北京)有限公司 Method and apparatus for test application
CN108829581A (en) * 2018-05-22 2018-11-16 平安科技(深圳)有限公司 Applied program testing method, device, computer equipment and storage medium
CN109242109A (en) * 2018-07-06 2019-01-18 网宿科技股份有限公司 The management method and server of depth model
CN109560990A (en) * 2018-12-17 2019-04-02 同盾控股有限公司 A kind of Internet application test method and device
CN109976779A (en) * 2017-12-27 2019-07-05 深圳市优必选科技有限公司 Robot software online upgrade release method, device, equipment and storage medium
CN110022247A (en) * 2019-04-15 2019-07-16 重庆天蓬网络有限公司 A kind of test method of APP Data Encryption Transmission
CN110119350A (en) * 2019-04-02 2019-08-13 深圳市腾讯信息技术有限公司 Software Development Kit test method, device and equipment and computer storage medium
CN110825636A (en) * 2019-11-05 2020-02-21 腾讯科技(深圳)有限公司 Matching algorithm performance test method, device, equipment, system and medium
CN111030981A (en) * 2019-08-13 2020-04-17 北京安天网络安全技术有限公司 Method, system and storage device for blocking continuous attack of malicious file
CN111061604A (en) * 2020-03-17 2020-04-24 武汉思普崚技术有限公司 Automatic port mirror image testing method and device
CN111221719A (en) * 2018-11-23 2020-06-02 青岛海信网络科技股份有限公司 Automatic test system and test method
CN111709701A (en) * 2020-05-29 2020-09-25 北京艾陌时信息技术有限公司 Robot office system
CN112165408A (en) * 2020-09-16 2021-01-01 杭州安恒信息技术股份有限公司 Test method and device for simulating client serial deployment environment
CN112486830A (en) * 2020-06-24 2021-03-12 支付宝(杭州)信息技术有限公司 Pressure testing method, device and system for block chain network
CN112559312A (en) * 2019-09-25 2021-03-26 贵州白山云科技股份有限公司 Traffic copying method, device, medium and equipment
CN112653578A (en) * 2020-12-16 2021-04-13 广州鲁邦通物联网科技有限公司 Data simulation method and system of communication bus
CN113094272A (en) * 2021-04-14 2021-07-09 北京京东振世信息技术有限公司 Application testing method and device, electronic equipment and computer readable medium
CN113282506A (en) * 2021-06-11 2021-08-20 中国农业银行股份有限公司 Test data acquisition method, device, equipment and computer readable storage medium
CN113709256A (en) * 2021-09-09 2021-11-26 四川虹美智能科技有限公司 Switching method of test environment and application environment
CN115022201A (en) * 2022-06-16 2022-09-06 北京锐安科技有限公司 Data processing function test method, device, equipment and storage medium
CN115834259A (en) * 2023-02-21 2023-03-21 广东广宇科技发展有限公司 Safe data transmission method for high-risk communication line
WO2023098360A1 (en) * 2021-12-03 2023-06-08 腾讯科技(深圳)有限公司 Method, device and medium for wireless local area network equipment testing, and electronic device and program product
CN117076144A (en) * 2023-08-17 2023-11-17 合芯科技有限公司 System parallel conversion method, device, computer equipment and storage medium

Cited By (85)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137092B (en) * 2007-09-11 2012-07-04 中兴通讯股份有限公司 Mobile game issuing method
CN102195829A (en) * 2010-03-19 2011-09-21 升东网络科技发展(上海)有限公司 Universal pressure simulation system and control method thereof
CN102195829B (en) * 2010-03-19 2014-05-14 升东网络科技发展(上海)有限公司 Universal pressure simulation system and control method thereof
CN103180848A (en) * 2010-09-09 2013-06-26 优质生活联合服务有限公司 A system and a method for copying data
CN103180848B (en) * 2010-09-09 2017-05-17 优质生活联合服务有限公司 A system and a method for copying data
CN101944778A (en) * 2010-10-09 2011-01-12 华北电网有限公司 Isolation debugging system and debugging method of transformer substation monitoring system
CN101944778B (en) * 2010-10-09 2012-07-04 华北电网有限公司 Isolation debugging system and debugging method of transformer substation monitoring system
CN102761452A (en) * 2011-04-25 2012-10-31 腾讯科技(深圳)有限公司 Testing system and method for implementing testing
CN102761452B (en) * 2011-04-25 2016-08-03 腾讯科技(深圳)有限公司 A kind of method testing system and realization test
CN102200944B (en) * 2011-06-16 2014-12-03 中国联合网络通信集团有限公司 Test environment cloning method and system for enterprise resource planning (ERP) system
CN102200944A (en) * 2011-06-16 2011-09-28 中国联合网络通信集团有限公司 Test environment cloning method and system for enterprise resource planning (ERP) system
CN104360952A (en) * 2012-03-02 2015-02-18 北京奇虎科技有限公司 Software test system and software test method
CN103580943A (en) * 2012-08-03 2014-02-12 亿赞普(北京)科技有限公司 Network software online testing method and system
CN102882701A (en) * 2012-08-14 2013-01-16 深圳供电局有限公司 Intelligent monitoring and warning system and method for power grid core service data
CN102882701B (en) * 2012-08-14 2015-07-29 深圳供电局有限公司 Intelligent monitoring and warning system and method for power grid core service data
CN103634160A (en) * 2012-08-28 2014-03-12 深圳市世纪光速信息技术有限公司 Web-based general Internet product data comparison test method and apparatus
CN103634160B (en) * 2012-08-28 2018-10-19 深圳市世纪光速信息技术有限公司 The method and device of common interconnection network product data contrast test based on web
CN103684895B (en) * 2012-09-10 2018-08-10 百度在线网络技术(北京)有限公司 A kind of method and apparatus generating clone environment
CN103684895A (en) * 2012-09-10 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for generating clone environment
CN103699479A (en) * 2012-09-27 2014-04-02 百度在线网络技术(北京)有限公司 Sandbox testing environment constitution system and sandbox testing environment constitution method
CN103699479B (en) * 2012-09-27 2018-02-02 百度在线网络技术(北京)有限公司 A kind of sandbox testing environment constitution system and sandbox testing environment constitution method
CN103716197A (en) * 2012-09-29 2014-04-09 西门子公司 Method and device for testing network applications
CN103856362A (en) * 2012-11-29 2014-06-11 腾讯科技(深圳)有限公司 Terminal application test method and terminal
CN105579962B (en) * 2013-09-27 2019-06-28 西部数据技术公司 System and method for being loaded into mirror image on storage device
CN105579962A (en) * 2013-09-27 2016-05-11 西部数据技术公司 System and method for expedited loading of an image onto a storage device
CN103684931A (en) * 2013-12-31 2014-03-26 北京神州绿盟信息安全科技股份有限公司 Online safety product stability testing method and control panel thereof
CN103684931B (en) * 2013-12-31 2016-11-16 北京神州绿盟信息安全科技股份有限公司 The stability test method of network security product and control station
WO2015165078A1 (en) * 2014-04-30 2015-11-05 Hewlett-Packard Development Company, L.P. Performing mirror test for localization testing
US11003570B2 (en) 2014-04-30 2021-05-11 Micro Focus Llc Performing a mirror test for localization testing
CN104052637A (en) * 2014-06-27 2014-09-17 梧州学院 Fixed-point network monitoring device based on 4G
CN104410542A (en) * 2014-11-18 2015-03-11 小米科技有限责任公司 Method and device for simulation test
CN105700896A (en) * 2014-11-24 2016-06-22 阿里巴巴集团控股有限公司 Method for launching App and devices
CN105700896B (en) * 2014-11-24 2019-03-08 阿里巴巴集团控股有限公司 A kind of starting method and apparatus of App
CN104955091B (en) * 2015-04-29 2016-10-19 努比亚技术有限公司 The method and device of test
CN104955091A (en) * 2015-04-29 2015-09-30 努比亚技术有限公司 Testing method and device
CN105429818A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Method and system for realizing load tests
CN105512041B (en) * 2015-12-23 2018-09-25 北京金山安全软件有限公司 Method and device for testing application program performance and electronic equipment
CN105512041A (en) * 2015-12-23 2016-04-20 北京金山安全软件有限公司 Method and device for testing application program performance and electronic equipment
CN105786682A (en) * 2016-02-29 2016-07-20 上海新炬网络信息技术有限公司 Implementation system and method for avoiding software performance failure
CN107402880B (en) * 2016-05-20 2020-10-16 腾讯科技(北京)有限公司 Test method and electronic equipment
CN107402880A (en) * 2016-05-20 2017-11-28 腾讯科技(北京)有限公司 A kind of method of testing and electronic equipment
CN106055480A (en) * 2016-06-02 2016-10-26 腾讯科技(深圳)有限公司 Webpage debugging method and terminal
CN107038282A (en) * 2017-03-16 2017-08-11 南方电网科学研究院有限责任公司 Simulation method and device based on OS2 and SMRT system
CN107124333B (en) * 2017-06-13 2019-08-13 烽火通信科技股份有限公司 A kind of network-building method of automatic test environment
CN107124333A (en) * 2017-06-13 2017-09-01 烽火通信科技股份有限公司 The group network system and method for a kind of automatic test environment
CN107864066A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Offline H5 pages monitoring method, device, equipment and readable storage medium storing program for executing
CN107395464A (en) * 2017-09-11 2017-11-24 北京奇艺世纪科技有限公司 A kind of server test method, apparatus and API gateway
CN107992408A (en) * 2017-11-16 2018-05-04 南京轩世琪源软件科技有限公司 A kind of software probe method of software probe
CN107992408B (en) * 2017-11-16 2019-06-07 广东马上到网络科技有限公司 A kind of software probe method of software probe
CN107957928B (en) * 2017-11-16 2019-06-07 南京轩世琪源软件科技有限公司 A kind of operation of software synchronization tests and analyzes and troubleshooting methodology
CN107957928A (en) * 2017-11-16 2018-04-24 南京轩世琪源软件科技有限公司 A kind of software synchronization operation detection and analysis and troubleshooting methodology
CN109976779B (en) * 2017-12-27 2022-04-15 深圳市优必选科技有限公司 Robot software online upgrade release method, device, equipment and storage medium
CN109976779A (en) * 2017-12-27 2019-07-05 深圳市优必选科技有限公司 Robot software online upgrade release method, device, equipment and storage medium
CN108829581A (en) * 2018-05-22 2018-11-16 平安科技(深圳)有限公司 Applied program testing method, device, computer equipment and storage medium
WO2019223142A1 (en) * 2018-05-22 2019-11-28 平安科技(深圳)有限公司 Application program testing method, apparatus, computer device and storage medium
CN108415849A (en) * 2018-05-23 2018-08-17 百度在线网络技术(北京)有限公司 Method and apparatus for test application
CN109242109A (en) * 2018-07-06 2019-01-18 网宿科技股份有限公司 The management method and server of depth model
CN111221719A (en) * 2018-11-23 2020-06-02 青岛海信网络科技股份有限公司 Automatic test system and test method
CN109560990A (en) * 2018-12-17 2019-04-02 同盾控股有限公司 A kind of Internet application test method and device
CN110119350A (en) * 2019-04-02 2019-08-13 深圳市腾讯信息技术有限公司 Software Development Kit test method, device and equipment and computer storage medium
CN110119350B (en) * 2019-04-02 2023-02-03 深圳市腾讯信息技术有限公司 Software development kit testing method, device and equipment and computer storage medium
CN110022247B (en) * 2019-04-15 2020-10-16 重庆天蓬网络有限公司 APP data encryption transmission test method
CN110022247A (en) * 2019-04-15 2019-07-16 重庆天蓬网络有限公司 A kind of test method of APP Data Encryption Transmission
CN111030981A (en) * 2019-08-13 2020-04-17 北京安天网络安全技术有限公司 Method, system and storage device for blocking continuous attack of malicious file
CN111030981B (en) * 2019-08-13 2023-04-28 北京安天网络安全技术有限公司 Method, system and storage device for blocking continuous attack of malicious file
CN112559312A (en) * 2019-09-25 2021-03-26 贵州白山云科技股份有限公司 Traffic copying method, device, medium and equipment
CN110825636A (en) * 2019-11-05 2020-02-21 腾讯科技(深圳)有限公司 Matching algorithm performance test method, device, equipment, system and medium
CN110825636B (en) * 2019-11-05 2021-03-30 腾讯科技(深圳)有限公司 Matching algorithm performance test method, device, equipment, system and medium
CN111061604A (en) * 2020-03-17 2020-04-24 武汉思普崚技术有限公司 Automatic port mirror image testing method and device
CN111709701A (en) * 2020-05-29 2020-09-25 北京艾陌时信息技术有限公司 Robot office system
CN112486830A (en) * 2020-06-24 2021-03-12 支付宝(杭州)信息技术有限公司 Pressure testing method, device and system for block chain network
WO2022057265A1 (en) * 2020-09-16 2022-03-24 杭州安恒信息技术股份有限公司 Test method and device for simulating customer series deployment environment
US11956128B2 (en) 2020-09-16 2024-04-09 Dbappsecurity Co., Ltd Test method and device for simulating customer series deployment environment
CN112165408A (en) * 2020-09-16 2021-01-01 杭州安恒信息技术股份有限公司 Test method and device for simulating client serial deployment environment
CN112653578A (en) * 2020-12-16 2021-04-13 广州鲁邦通物联网科技有限公司 Data simulation method and system of communication bus
CN113094272B (en) * 2021-04-14 2023-11-03 北京京东振世信息技术有限公司 Application testing method, device, electronic equipment and computer readable medium
CN113094272A (en) * 2021-04-14 2021-07-09 北京京东振世信息技术有限公司 Application testing method and device, electronic equipment and computer readable medium
CN113282506A (en) * 2021-06-11 2021-08-20 中国农业银行股份有限公司 Test data acquisition method, device, equipment and computer readable storage medium
CN113709256A (en) * 2021-09-09 2021-11-26 四川虹美智能科技有限公司 Switching method of test environment and application environment
CN113709256B (en) * 2021-09-09 2023-04-18 四川虹美智能科技有限公司 Switching method of test environment and application environment
WO2023098360A1 (en) * 2021-12-03 2023-06-08 腾讯科技(深圳)有限公司 Method, device and medium for wireless local area network equipment testing, and electronic device and program product
CN115022201A (en) * 2022-06-16 2022-09-06 北京锐安科技有限公司 Data processing function test method, device, equipment and storage medium
CN115022201B (en) * 2022-06-16 2023-10-31 北京锐安科技有限公司 Data processing function test method, device, equipment and storage medium
CN115834259A (en) * 2023-02-21 2023-03-21 广东广宇科技发展有限公司 Safe data transmission method for high-risk communication line
CN117076144A (en) * 2023-08-17 2023-11-17 合芯科技有限公司 System parallel conversion method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101001183A (en) Test method and system for network application software
CN111741114B (en) Chain-of-block-based supervision cross-chain interaction system, method and equipment
CN101772918B (en) Operation, administration and maintenance (OAM) for chains of services
CN101026494A (en) Method and system for facilitating event management and analysis within a communications environment
US20050141432A1 (en) Protocol replay system
John et al. Ai on the edge: Architectural alternatives
CN103150637A (en) Express receiving terminal real-name management system and implementation method based on bar code technology
CN116633835B (en) Complex high-reliability network performance comprehensive evaluation method
CN113726890B (en) Federal prediction method and system for block chain data service
US9170923B2 (en) Apparatus and method for testing conformance of service choreography
CN105530137B (en) Data on flows analysis method and data on flows analysis system
CN107257290A (en) A kind of method of testing and system of open SOA Service-Oriented Architecture Baseds
TWI448975B (en) Dispersing-type algorithm system applicable to image monitoring platform
CN117914755A (en) Link pressure measurement method, system, equipment and storage medium based on micro-service architecture
CN108712306A (en) A kind of information system automation inspection platform and method for inspecting
CN111399749B (en) Data processing system and method
CN115242422B (en) Data intercommunication processing method and device and informationized management system
CN114285786B (en) Construction method and device of network link library
CN115150289A (en) Exception handling method and system based on composite monitoring
CN115412592A (en) Service processing system and method
US20140025840A1 (en) Network analysis in a file transfer system
JP2023086072A (en) Database replication method and database system using the same
CN116561474A (en) Social platform-oriented data acquisition system and method thereof
CN115086191B (en) Automatic test method, device and equipment for bank card
JP2005293053A (en) Test support device and 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20070718