CN107391380A - A kind of method and system of application program of computer network test process monitoring - Google Patents

A kind of method and system of application program of computer network test process monitoring Download PDF

Info

Publication number
CN107391380A
CN107391380A CN201710634141.2A CN201710634141A CN107391380A CN 107391380 A CN107391380 A CN 107391380A CN 201710634141 A CN201710634141 A CN 201710634141A CN 107391380 A CN107391380 A CN 107391380A
Authority
CN
China
Prior art keywords
network
test
tested
application program
message
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.)
Withdrawn
Application number
CN201710634141.2A
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.)
Beijing Is An Financial Information Technology Co Ltd
Original Assignee
Beijing Is An Financial Information Technology 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 Beijing Is An Financial Information Technology Co Ltd filed Critical Beijing Is An Financial Information Technology Co Ltd
Publication of CN107391380A publication Critical patent/CN107391380A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/208Port mirroring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a kind of method and system of application program of computer network test process monitoring, and manually judgement, not objective and accurate enough or defect are made a report on to solve the problems, such as that current application program of computer network test result and effect in test process rely on.This method includes:In web application test environment on-premise network data flow collection point, utilize the network data flow of network data flow capture program collecting computer web application test process, after procotol decoded back and request response message pairing, it is saved in database, subsequently through the analysis to these network message information, judge the implementation status and test result of test process, and then judge the current quality condition of tested application program.

Description

A kind of method and system of application program of computer network test process monitoring
Technical field
The present invention relates to areas of information technology, more particularly to a kind of side of application program of computer network test process monitoring Method and system.
Background technology
The one kind of computer applied algorithm as computer software, predominantly enterprises and institutions and various mechanisms provide business Or the electronization of management is supported and auxiliary, the quality of computer applied algorithm is directly connected to an enterprise or can tissue normal Running, therefore, for guarantee computer software quality, the test job to computer applied algorithm is extremely important.
At present, the test job of enterprise or mechanism to computer applied algorithm is mainly carried out in test environment, the test wrapper Border is built according to the environment and framework of the following operation of tested program, can be physical equipment or the cloud ring of virtualization Border, the test environment generally comprise one or more servers, and multiple client.Generally, test operation is from visitor Family end is initiated, and can be that manual operation or testing tool automatically initiate according to script, according to server feedback to client The object information at end, determining program whether there is defect.
Whole test process has a large amount of test operations and is performed, for being tested some specific function of program or module Test might have multi-pass operation, the situation and result of test execution, typically manually be made a report on by test execution personnel or person liable Into relevant test and management instrument or system, test execution situation and current tested application program quality are judged as analysis Foundation.
The pattern of existing test process management is manually made a report on due to relying on, and tester is because sense of responsibility, progress, examination Etc. the influence of factor, test result may be brought to make a report on one sided problem, be made based on such test execution object information Test effect judge also will objectivity leave a question open.
The content of the invention
The present invention provides a kind of method and system of application program of computer network test process monitoring, to solve at present In computer applied algorithm test process test result and effect rely on it is artificial fill in judgements, it is not objective and accurate enough the problem of or it is scarce Fall into.
In order to realize above-mentioned target, the present invention provides following technical scheme:
A kind of method of application program of computer network test process monitoring, it is characterised in that in the test wrapper of tested program Border on-premise network layer transaction message acquisition software, the Internet transaction message of various test activities in collecting test environment, and base The implementation status and result of test process are monitored and analyzed in these messages.Tested web application test environment Network trading message reflect all activities tested for tested program and test results, by all these The analysis of message, you can grasp the implementation status and result of test activity.
A kind of method of application program of computer network test process monitoring, it is characterised in that in the clothes of tested program Mirror port is set on business device network insertion interchanger or center switch, the request of mode acquisition server is intercepted by bypass Response to network transaction message, the implementation status and result of test process are monitored and analyzed based on these messages.Network is handed over Change planes mirror port bypass intercept technology be one it is known that, widely used network data flow acquisition means, by For the institute of the server, ask the visitor in for collection on tested application program Servers-all network insertion interchanger or center switch Summation response to network message, can be tested program in test wrapper in the case where not influenceing original test job in itself to this All test activity comprehensive monitorings and grasp under border.
A kind of method of application program of computer network test process monitoring, it is characterised in that comprise the following steps:
Step 1, analyze the test environment network architecture of tested web application, the position of planning network transaction message collection Put;
Step 2, mirror port is set on the network switch of network trading message collection position;
Step 3, on mirror port carrying out bypass intercepts, collecting test activity network Trade Data Stream;
Step 4, protocol-decoding message reduction is carried out to network transaction data stream, and matched according to request response relation, it is complete The network request response message for having reduced and having matched is stored in database after;
Step 5, the request response message being stored in database is analyzed, judge the coverage, strong of test activity Degree, result and the current oeverall quality situation of tested program.The request of application program of computer network and response message include The target and object information of this request, in the case of failure with successful situation all can none reflect with omitting, Therefore, the request response message of each server under tested Application testing environment is analyzed, comprehensive, objective can grasp and be directed to The various test activities of tested application program, grasp the working condition of each client, grasp some program module or component Tested intensity(Surveyed how many times), grasp some program module or the final test result of component(By still not leading to Cross), grasp and test whether to cover the whole module of tested application program and component, and then can analyze to be tested and apply journey Quality condition before the preface and table of contents.
The test environment network architecture in the step 1, refer to the test environment Computer and network of tested program The internetwork connection mode and logical relation of equipment.
The position of network trading message collection in the step 1, refer to intend to carry out network transaction data stream collection Particular location, that is, the network switch of data acquisition is ready for, the network insertion that this general position refers to server is handed over Change planes, can also be acquired on the center switch for including server network Trade Data Stream.
Mirror port in the step 2, refer on the network switch for data acquisition, mirror image have Connection Service The switch ports themselves of device port network data flow.After mirror port, the network switch will need the network of mirror port Data flow replication portion gives mirror port, and the mirror port typically takes unidirectional outflow mode, for data acquisition program or software The network transaction data stream information of acquisition server.
Bypass in the step 3 is intercepted, and is referred to replicate network transaction data stream and is carried out data from mirror port and adopts The technology of collection, the technology do not influence on the network activity between original application client and server.
Protocol-decoding message reduction in the step 4, refers to according to procotol, by the IP bags in network data flow Bag reduction is arranged and organized, and obtains the process of corresponding statistical information.After message reduction, solicited message and corresponding response are believed Breath completes pairing, and request initiator's reciever is learned, while transmission content, result also accordingly obtain.
A kind of system of application program of computer network test process monitoring, it is characterised in that including following module:
Module one, network transaction data stream acquisition module, to the network to being tested each server in the test environment of program Layer Trade Data Stream is acquired;
Module two, protocol-decoding message recovery module, it is responsible for carrying out agreement solution to the network transaction data stream of collection in internal memory Code, message reduction, and by it is corresponding request response message matched, after the completion of be saved in database;
Module three, message analysis display module, PROGRAMMED REQUESTS is tested for having reduced and being saved in the whole in database Response message is analyzed, and counts the test job amount of different clients, judges the implementation status and knot of test operation each time Fruit, and on this basis, analysis judge that test operation is directed to the intensity and coverage rate of tested application program, according to coverage rate with Successfully tested rate information, judge the total quality situation of tested application program;
The present invention takes the data source by the use of Internet Trade Data Stream as detection test process, shields application program and takes Different structure and the difference using different language, the application program of computer network that can be widely applied to various enterprises or tissue are surveyed In test ring border.
Brief description of the drawings
Fig. 1 is the inventive method flow chart.
Fig. 2 is present system structure chart.

Claims (2)

  1. A kind of 1. method of application program of computer network test process monitoring, it is characterised in that comprise the following steps:
    Step 1, analyze the test environment network architecture of tested web application, the position of planning network transaction message collection Put;
    Step 2, mirror port is set on the network switch of network trading message collection position;
    Step 3, on mirror port carrying out bypass intercepts, collecting test activity network Trade Data Stream;
    Step 4, protocol-decoding message reduction is carried out to network transaction data stream, and matched according to request response relation, it is complete The network request response message for having reduced and having matched is stored in database after;
    Step 5, the request response message being stored in database is analyzed, judge the coverage, strong of test activity Degree, result and the current oeverall quality situation of tested program.
  2. 2. a kind of system of application program of computer network test process monitoring, it is characterised in that including following module:
    Module one, network transaction data stream acquisition module, to the network to being tested each server in the test environment of program Layer Trade Data Stream is acquired;
    Module two, protocol-decoding message recovery module, it is responsible for carrying out agreement solution to the network transaction data stream of collection in internal memory Code, message reduction, and by it is corresponding request response message matched, after the completion of be saved in database;
    Module three, message analysis display module, PROGRAMMED REQUESTS is tested for having reduced and being saved in the whole in database Response message is analyzed, and counts the test job amount of different clients, judges the implementation status and knot of test operation each time Fruit, and on this basis, analysis judge that test operation is directed to the intensity and coverage rate of tested application program, according to coverage rate with Successfully tested rate information, judge the total quality situation of tested application program.
CN201710634141.2A 2017-03-09 2017-07-29 A kind of method and system of application program of computer network test process monitoring Withdrawn CN107391380A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017101378162 2017-03-09
CN201710137816 2017-03-09

Publications (1)

Publication Number Publication Date
CN107391380A true CN107391380A (en) 2017-11-24

Family

ID=60342569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710634141.2A Withdrawn CN107391380A (en) 2017-03-09 2017-07-29 A kind of method and system of application program of computer network test process monitoring

Country Status (1)

Country Link
CN (1) CN107391380A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119350A (en) * 2019-04-02 2019-08-13 深圳市腾讯信息技术有限公司 Software Development Kit test method, device and equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246262A (en) * 2013-04-22 2013-08-14 湖南智卓创新金融电子有限公司 Comprehensive service system for network data analysis
CN103795707A (en) * 2013-12-20 2014-05-14 中国水电顾问集团成都勘测设计研究院有限公司 Enterprise network security automation testing system and method
CN106411659A (en) * 2016-11-29 2017-02-15 福建中金在线信息科技有限公司 Business data monitoring method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246262A (en) * 2013-04-22 2013-08-14 湖南智卓创新金融电子有限公司 Comprehensive service system for network data analysis
CN103795707A (en) * 2013-12-20 2014-05-14 中国水电顾问集团成都勘测设计研究院有限公司 Enterprise network security automation testing system and method
CN106411659A (en) * 2016-11-29 2017-02-15 福建中金在线信息科技有限公司 Business data monitoring method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Similar Documents

Publication Publication Date Title
CN108399114B (en) System performance testing method and device and storage medium
US8352777B2 (en) Replaying captured network traffic
CN107508722B (en) Service monitoring method and device
US8291068B2 (en) Automatic protocol detection
CN110445688A (en) Interface service function monitoring method and system based on data collection
CN104335056A (en) Interposer between a tester and material handling equipment to separate and control different requests of multiple entities in a test cell operation
CN104583789A (en) Creation and scheduling of a decision and execution tree of a test cell controller
CN110223411B (en) Inspection system and method for public water dispenser
CN112994972B (en) Distributed probe monitoring platform
CN104917803A (en) Autonomous inspection system based on user behavior control
CN112084220B (en) Abnormality diagnosis method and device for electric energy metering device and readable storage medium
CN107168844A (en) A kind of method and device of performance monitoring
CN116719664B (en) Application and cloud platform cross-layer fault analysis method and system based on micro-service deployment
CN109150653A (en) A kind of remote hardware is in ring HIL automated testing method and system
CN107391380A (en) A kind of method and system of application program of computer network test process monitoring
CN106878109A (en) Server detection method and server system
CN105897498A (en) Business monitoring method and device
CN111737143A (en) Method and system for troubleshooting AB test of webpage
CN106919508A (en) A kind of generation method of application program of computer network test cases
CN107423191A (en) A kind of constructing system that the automatic O&M of information system is realized based on representation
CN109783292A (en) A kind of inspection method and system of server info
CN115269415A (en) Interface test system and method based on simulation scene use case
CN110262955A (en) Application performance monitoring tools based on pinpoint
KR20140055292A (en) System and method for relating between failed component and performance criteria of manintenance rule by using component database of functional importance determination of nuclear power plant
CN107800593A (en) The method of testing and system of a kind of network pressure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20171124

WW01 Invention patent application withdrawn after publication