CN106776257A - A kind of response time statistical method and device for system performance testing - Google Patents
A kind of response time statistical method and device for system performance testing Download PDFInfo
- Publication number
- CN106776257A CN106776257A CN201611220945.XA CN201611220945A CN106776257A CN 106776257 A CN106776257 A CN 106776257A CN 201611220945 A CN201611220945 A CN 201611220945A CN 106776257 A CN106776257 A CN 106776257A
- Authority
- CN
- China
- Prior art keywords
- outgoing call
- tree
- response time
- call tree
- record
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
- G06F11/0775—Content or structure details of the error report, e.g. specific table structure, specific error fields
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
- G06F11/0787—Storage of error reports, e.g. persistent data storage, storage using memory protection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3419—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
This application provides a kind of response time statistical method and device for system performance testing, the method includes:First operation of response user, according to the test environment computer-list download log file being pre-configured with, journal file includes serial number, service codes, error code, response time and outgoing call service;Journal file is read in into internal memory and journal entries are stored as in the form of hash table;At least one outgoing call tree is built according to journal entries, and calculates the condition code of outgoing call tree;Condition code identical outgoing call tree is merged to form average outgoing call tree, while calculating average response time;Average outgoing call tree and average response time are exported with document form.The outgoing call tree that the method builds by using journal file so that full-automatic in the process of Differentiated Services+error code+outgoing call combination of paths, and the time is short, without manual intervention;And complete test statisticses result is disposably derived, improve the operating efficiency of performance test.
Description
Technical field
The application is related to technical field of data processing, more particularly to a kind of response time statistics for system performance testing
Method and device.
Background technology
System for being made up of multiple servers, in production simulated performance test, because the message to be played back comes from
Production true environment, each field included in these messages occurs multiple combination, forms various possible situations, and service journey
Other services that sequence is generally required in outer paging system could provide the service of itself.Therefore, production simulated performance test exists outer
The diversity in path is exhaled, performance test needs to count the response time of different services, provide each service response in testing
Time result.
At present, counted typically by the way of artificial statistics, it is necessary in service for the response time in different outgoing call paths
Outgoing call path identical record is found out in device daily record, the response time described in its every is taken, average response time is calculated.
However, existing artificial statistical, due to needing for different services, different error codes, different outgoing call paths
Counting response time respectively is needed, so that first distinguishing the combination in different service+error code+outgoing call paths.Distinguish work
The time-consuming amount with transmission message in pressure test made increases and increases, and general pressure test generally requires to send tens thousand of
Message, therefore differentiation process is extremely time-consuming, causes the human cost of such performance test work high, and distinguish work due to general
Statistical work with average response time is carried out separately, and a complete report is generally required after testing, therefore big portion
In the case of point, it is required for being carried out for the combination in whole service+error code+outgoing call paths the statistics of average response time, and
A large amount of this combinations are often produced in production simulated performance test, thus is counted respectively, human cost is too high.
The content of the invention
In view of this, this application provides a kind of response time statistical method and device for system performance testing, from
And overcome count the problem of caused high cost by the response time manually to different outgoing call paths in the prior art.
To achieve these goals, this application provides following technical scheme:
A kind of response time statistical method for system performance testing, including:
First operation of response user, according to the test environment computer-list download log file being pre-configured with, wherein,
The journal file includes serial number, service codes, error code, response time and outgoing call service;
The journal file is read in into internal memory and journal entries are stored as in the form of hash table;
At least one outgoing call tree is built according to the journal entries, and calculates the condition code of the outgoing call tree;
Described document information identical outgoing call tree is merged to form average outgoing call tree, while calculating the average outgoing call tree
Each tree node average response time;
The average outgoing call tree and the average response time are exported with document form.
Preferably, first operation of the response user, day is downloaded according to the test environment computer-list being pre-configured with
Also include before will file:
Second operation of the user is responded, daily record is produced in the test of test environment execution performance, and, respond the use
3rd operation at family, configures the test environment computer-list.
Preferably, it is described to be stored as journal entries by journal file reading internal memory and in the form of hash table, including:
Each record in the journal file is read in into internal memory, and records each by key of the serial number
Add the hash table.
Preferably, it is described to build at least one outgoing call tree according to the journal entries, including:
By the record in journal entries described in the serial number identical according to outgoing call relation, searched inside the hash table
Rope service codes are recorded with this record outgoing call service codes identical, and are added on this record as child node, outer to be formed
Exhale tree;
Wherein, each tree node storage of the outgoing call tree:Service codes, error code, server name and response time.
Preferably, the condition code for calculating the outgoing call tree includes:
A tree node is represented using the service codes, the error code and the server name, by the outgoing call
Tree table is shown as a kind of form of character string.
A kind of response time statistic device for system performance testing, including:
Daily record download unit, the first operation for responding user, according to the test environment computer-list being pre-configured with
Download log file, wherein, the journal file includes serial number, service codes, error code, response time and outgoing call service;
Memory cell, the journal file for daily record download unit to be downloaded reads in internal memory and in the form of hash table
It is stored as journal entries;
Construction unit, the journal entries for being stored up according to the memory cell build at least one outgoing call tree;
First computing unit, the condition code for calculating the outgoing call tree;
Combining unit, for merging to form average outgoing call tree described document information identical outgoing call tree;
Second computing unit, the average response time of each tree node for calculating the average outgoing call tree;
Output unit, for the average outgoing call tree and the average response time to be exported with document form.
Preferably, also include:
Log producing unit, the second operation for responding the user, day is produced in the test of test environment execution performance
Will;
Dispensing unit, the 3rd operation for responding the user configures the test environment computer-list.
Preferably, the memory cell reads in internal memory specifically for each in the journal file is recorded, and with
The serial number is that each record is added the hash table by key.
Preferably, the construction unit specifically for by the record in journal entries described in the serial number identical according to
Outgoing call relation, records in the hash table inner search service codes and this record outgoing call service codes identical, and as son
Node is added on this record, to form outgoing call tree;
Wherein, each tree node storage of the outgoing call tree:Service codes, error code, server name and response time.
Preferably, first computing unit is specifically for using the service codes, the error code and the server
Name represents a tree node, and the outgoing call tree table is shown as into a kind of form of character string.
From above technical scheme, this application provides a kind of response time statistical method for system performance testing
And device, the method is by using the journal file by being serviced including serial number, service codes, error code, response time and outgoing call
The outgoing call tree of structure so that full-automatic in the process of Differentiated Services+error code+outgoing call combination of paths, and the time is short, without artificial
Intervene;And complete test statisticses result is disposably derived, improve the operating efficiency of performance test.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of flow of response time statistical method for system performance testing that the embodiment of the present application one is provided
Figure;
Fig. 2 is a kind of flow of response time statistical method for system performance testing that the embodiment of the present application two is provided
Figure;
A kind of example schematic of response time statistical method that Fig. 3 is provided for the application;
Fig. 4 is a kind of structure of response time statistic device for system performance testing that the embodiment of the present application three is provided
Schematic diagram;
Fig. 5 is a kind of structure of response time statistic device for system performance testing that the embodiment of the present application four is provided
Schematic diagram.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Carry out counting caused high cost by the response time manually to different outgoing call paths in the prior art to overcome
Problem, this application provides a kind of response time statistical method and device for system performance testing, the following institute of concrete scheme
State:
Embodiment one
The embodiment of the present application one provides a kind of response time statistical method for system performance testing, as shown in figure 1,
Fig. 1 is a kind of flow chart of response time statistical method for system performance testing that the embodiment of the present application one is provided.The party
Method includes:
S101:First operation of response user, according to the test environment computer-list download log file being pre-configured with;
Wherein, journal file includes serial number, service codes, error code, response time and outgoing call service;Test environment is calculated
Machine list includes server ip address, user name, password, journal file path.
After user sends download instruction, according to test environment computer-list download log file, it is disposable under list
The journal file of whole computers in table.
S102:Journal file is read in into internal memory and journal entries are stored as in the form of hash table;
Whole daily records are read line by line, journal file is read in into internal memory and journal entries are stored as with the pattern of hash table,
Into log read completion status.
S103:At least one outgoing call tree is built according to journal entries, and calculates the condition code of outgoing call tree;
Wherein, the definition of outgoing call tree condition code be it is recursive, the condition code of each tree node for " service codes, error code,
Server name (| the child node 2 | of child node 1 child node 3...) ", and the definition of its child node is also in accordance with this form, from root node
Start, all " child nodes 1 ", " child node 2 " ... are launched, whole tree table can be shown as a kind of form of character string.If two
The outgoing call tree condition code of transaction is identical, represents that duplicate request path has been walked in this two transaction, and it can be carried out
Merge statistics.
S104:Condition code identical outgoing call tree is merged to form average outgoing call tree, while calculating average outgoing call tree
The average response time of each tree node;
S105:Average outgoing call tree and average response time are exported with document form.
From above technical scheme, the response time for being used for system performance testing that the embodiment of the present application one is provided unites
Meter method, builds by using the journal file by being serviced including serial number, service codes, error code, response time and outgoing call
Outgoing call tree so that full-automatic in the process of Differentiated Services+error code+outgoing call combination of paths, and the time is short, without manual intervention;
And complete test statisticses result is disposably derived, improve the operating efficiency of performance test.
Embodiment two
On the basis of embodiment one, the embodiment of the present application two provides a kind of more particularly for system performance testing
Response time statistical method, as shown in Fig. 2 Fig. 2 is a kind of sound for system performance testing that the embodiment of the present application two is provided
Answer the flow chart of time counting method.Including:
S101:Second operation of response user, daily record is produced in the test of test environment execution performance, and, respond user
The 3rd operation, configuration testing environment computer list;
, it is necessary to first carry out performance test and configuration work before being tested, therefore, in the present embodiment, first-selection is needed
Daily record is produced in the test of test environment execution performance according to the instruction of user, and, configuration testing environment computer list.
S102:First operation of response user, according to the test environment computer-list download log file being pre-configured with;
Wherein, journal file includes serial number, service codes, error code, response time and outgoing call service;Test environment is calculated
Machine list includes server ip address, user name, password, journal file path.
After user sends download instruction, according to test environment computer-list download log file, it is disposable under list
The journal file of whole computers in table.
S103:Journal file is read in into internal memory and journal entries are stored as in the form of hash table;
Whole daily records are read line by line, and journal file is read in into internal memory and journal entries are stored as in the form of hash table,
Into log read completion status.
Specifically, each record in journal file is read in into internal memory, and each record is added by key of serial number
Enter hash table, so as to constitute journal entries.
S104:At least one outgoing call tree is built according to journal entries, and calculates the condition code of outgoing call tree;
Specifically, at least one outgoing call tree is built according to journal entries, including:
By the record in serial number identical journal entries according to outgoing call relation, in hash table inner search service codes and originally
Record outgoing call service codes identical record, and be added on this record as child node, to form outgoing call tree;
Wherein, each tree node storage of outgoing call tree:Service codes, error code, server name and response time.
It should be noted that the definition of outgoing call tree condition code is recursive, the condition code of each tree node is " service
Code, error code, server name (| the child node 2 | of child node 1 child node 3...) ", and the definition of its child node is also in accordance with this shape
Formula, since root node, all " child nodes 1 ", " child node 2 " ... is launched, and whole tree table can be shown as into a kind of character string
Form.If the outgoing call tree condition code of two transactions is identical, represent that duplicate request path has been walked in this two transaction,
Statistics can be merged to it.
S105:Condition code identical outgoing call tree is merged to form average outgoing call tree, while calculating average outgoing call tree
The average response time of each tree node;
Condition code identical outgoing call tree, its tree node can be corresponded.Corresponding tree node is responded while merging
Time is added, finally divided by the outgoing call tree quantity for participating in merging, so as to obtain average response time.
S106:Average outgoing call tree and average response time are exported with document form.
Each average outgoing call tree is exported in the form of a file, this result is different service+error code+outgoing call paths
Combination and its corresponding average response time.
The embodiment of the present application two provide this be used for the response time statistical method of system performance testing, asked using distinctive
The mode of average response time, builds outgoing call tree, calculates condition code, merges the outgoing call tree of same characteristic features code, in the process for merging
In for each tree node calculate average response time, and, using it is distinctive structure outgoing call tree mode:With flowing water in daily record
Number group technology hashed as key, it is ensured that good execution efficiency;Contribute in packets inner, control calculation scale, it is right
Performance impact is small.So that the process of Differentiated Services+error code+outgoing call combination of paths is full-automatic, the time is short, is not required to artificial
Intervene, and statistics process for whole service+error code+outgoing call paths combination, it is disposable to derive complete survey
Examination statistics, improves the operating efficiency of performance test.
Specifically, with reference to shown in Fig. 3, a kind of example schematic of response time statistical method that Fig. 3 is provided for the application.
Fig. 3 describes the operational process inside response time statistic device, and this flow starts after completion status is downloaded in daily record.
Specifically, response time statistic device order reads each record in whole journal files, with the stream of daily record
Water number is key, and every record is added into hash table.By the record of serial number identical (the same packet in correspondence hash table) according to outer
Relation is exhaled, for every record, its service codes is searched in packets inner and is recorded with this record outgoing call service codes identical, made
For child node is added on this record, so as to form outgoing call tree.Each tree node storage of outgoing call tree:Service codes, error code,
Server name, response time.According to the outgoing call tree for having built, the condition code of outgoing call tree is calculated.With service codes, error code, clothes
Business device name represents a tree node, and tree table is shown as into a kind of form of character string.Condition code identical outgoing call tree is merged, is formed
Average outgoing call tree.Condition code identical outgoing call tree, its tree node can be corresponded.Corresponding tree node is rung while merging
It is added between seasonable, finally divided by the outgoing call tree quantity for participating in merging, so as to obtain average response time.By each average outgoing call tree with
The form output of file, when this result is the combination and its corresponding average response in different service+error code+outgoing call paths
Between.
Embodiment three
On the basis of embodiment one, dress is counted this application provides a kind of response time for system performance testing
Put, as shown in figure 4, Fig. 4 is a kind of response time statistic device for system performance testing that the embodiment of the present application three is provided
Structural representation, the device includes:Daily record download unit 201, memory cell 202, construction unit 203, the first computing unit
204th, combining unit 205, the second computing unit 206 and output unit 207, wherein,
Daily record download unit 201, the first operation for responding user, according to the test environment computer row being pre-configured with
Table download log file, wherein, journal file includes serial number, service codes, error code, response time and outgoing call service;Test
Environment computer list includes server ip address, user name, password, journal file path.
After user sends download instruction, according to test environment computer-list download log file, it is disposable under list
The journal file of whole computers in table.
Memory cell 202, the journal file for daily record download unit 201 to be downloaded reads in internal memory and with the shape of hash table
Formula is stored as journal entries;
Memory cell 202 reads whole daily records line by line, journal file is read in into internal memory and is stored with the pattern of hash table
It is journal entries, into log read completion status.
Construction unit 203, for building at least one outgoing call tree according to the journal entries of the memory storage of memory cell 202;
Wherein, the definition of outgoing call tree condition code be it is recursive, the condition code of each tree node for " service codes, error code,
Server name (| the child node 2 | of child node 1 child node 3...) ", and the definition of its child node is also in accordance with this form, from root node
Start, all " child nodes 1 ", " child node 2 " ... are launched, whole tree table can be shown as a kind of form of character string.If two
The outgoing call tree condition code of transaction is identical, represents that duplicate request path has been walked in this two transaction, and it can be carried out
Merge statistics.
First computing unit 204, the condition code for calculating outgoing call tree;
Combining unit 205, for merging to form average outgoing call tree condition code identical outgoing call tree;
Second computing unit 206, the average response time of each tree node for calculating average outgoing call tree;
Output unit 207, for average outgoing call tree and average response time to be exported with document form.
From above technical scheme, the response time for being used for system performance testing that the embodiment of the present application three is provided unites
Counter device, builds by using the journal file by being serviced including serial number, service codes, error code, response time and outgoing call
Outgoing call tree so that full-automatic in the process of Differentiated Services+error code+outgoing call combination of paths, and the time is short, without manual intervention;
And complete test statisticses result is disposably derived, improve the operating efficiency of performance test.
Example IV
On the basis of embodiment two, three, the embodiment of the present application four provides a kind of more particularly for systematic function survey
The response time statistic device of examination, as shown in figure 5, one kind that Fig. 5 is the embodiment of the present application four to be provided is used for system performance testing
Response time statistic device structural representation.The device includes:Under log producing unit 201, dispensing unit 202, daily record
Carrier unit 20/3, memory cell 204, construction unit 205, the first computing unit 206, combining unit 207, the second computing unit
208 and output unit 209, wherein, referring to a kind of the illustrate schematic diagrames of response time statistical method of expression of Fig. 3 is carried out
Description, but it should be recognized that Fig. 3 describes the operational process inside response time statistic device, this flow is downloaded in daily record
Start after completion status:
Log producing unit 201, the second operation for responding user, day is produced in the test of test environment execution performance
Will;
Dispensing unit 202, the 3rd operation for responding user, configuration testing environment computer list.
, it is necessary to first carry out performance test and configuration work before being tested, therefore, in the present embodiment, first-selection is needed
Daily record is produced in the test of test environment execution performance according to the instruction of user, and, configuration testing environment computer list.
Daily record download unit 201, the first operation for responding user, according to the test environment computer row being pre-configured with
Table download log file, wherein, journal file includes serial number, service codes, error code, response time and outgoing call service;Test
Environment computer list includes server ip address, user name, password, journal file path.
After user sends download instruction, according to test environment computer-list download log file, it is disposable under list
The journal file of whole computers in table.
Memory cell 202, the journal file for daily record download unit 201 to be downloaded reads in internal memory and with the shape of hash table
Formula is stored as journal entries;
Memory cell 202 reads whole daily records line by line, journal file is read in into internal memory and is stored with the pattern of hash table
It is journal entries, into log read completion status.
Specifically, each record in journal file is read in into internal memory, and each record is added by key of serial number
Enter hash table, so as to constitute journal entries.
Construction unit 203, for building at least one outgoing call tree according to the journal entries of the memory storage of memory cell 202;
Specifically, at least one outgoing call tree is built according to journal entries, including:
By the record in serial number identical journal entries according to outgoing call relation, in hash table inner search service codes and originally
Record outgoing call service codes identical record, and be added on this record as child node, to form outgoing call tree;
Wherein, each tree node storage of outgoing call tree:Service codes, error code, server name and response time.
First computing unit 204, the condition code for calculating outgoing call tree;
It should be noted that the definition of outgoing call tree condition code is recursive, the condition code of each tree node is " service
Code, error code, server name (| the child node 2 | of child node 1 child node 3...) ", and the definition of its child node is also in accordance with this shape
Formula, since root node, all " child nodes 1 ", " child node 2 " ... is launched, and whole tree table can be shown as into a kind of character string
Form.If the outgoing call tree condition code of two transactions is identical, represent that duplicate request path has been walked in this two transaction,
Statistics can be merged to it.
Combining unit 205, for merging to form average outgoing call tree condition code identical outgoing call tree;
Condition code identical outgoing call tree, its tree node can be corresponded.
Second computing unit 206, the average response time of each tree node for calculating average outgoing call tree;
The corresponding tree node response time is added while merging, finally divided by the outgoing call tree quantity for participating in merging, from
And obtain average response time.
Output unit 207, for average outgoing call tree and average response time to be exported with document form.
Each average outgoing call tree is exported in the form of a file, this result is different service+error code+outgoing call paths
Combination and its corresponding average response time.
The embodiment of the present application four provide this be used for the response time statistic device of system performance testing, asked using distinctive
The mode of average response time, builds outgoing call tree, calculates condition code, merges the outgoing call tree of same characteristic features code, in the process for merging
In for each tree node calculate average response time, and, using it is distinctive structure outgoing call tree mode:With flowing water in daily record
Number group technology hashed as key, it is ensured that good execution efficiency;Contribute in packets inner, control calculation scale, it is right
Performance impact is small.So that the process of Differentiated Services+error code+outgoing call combination of paths is full-automatic, the time is short, is not required to artificial
Intervene, and statistics process for whole service+error code+outgoing call paths combination, it is disposable to derive complete survey
Examination statistics, improves the operating efficiency of performance test.
Specifically, same or analogous part can mutually refer between four embodiments of the application, in this application no longer
Repeat.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange
Except also there is other identical element in the process including the key element, method, article or equipment.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the application.
Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case where spirit herein or scope is not departed from.Therefore, the application
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The scope most wide for causing.
Claims (10)
1. a kind of response time statistical method for system performance testing, it is characterised in that including:
First operation of response user, according to the test environment computer-list download log file being pre-configured with, wherein, it is described
Journal file includes serial number, service codes, error code, response time and outgoing call service;
The journal file is read in into internal memory and journal entries are stored as in the form of hash table;
At least one outgoing call tree is built according to the journal entries, and calculates the condition code of the outgoing call tree;
Described document information identical outgoing call tree is merged to form average outgoing call tree, while calculating the every of the average outgoing call tree
The average response time of individual tree node;
The average outgoing call tree and the average response time are exported with document form.
2. method according to claim 1, it is characterised in that first operation of the response user, according to being pre-configured with
Test environment computer-list download log file before also include:
Second operation of the user is responded, daily record is produced in the test of test environment execution performance, and, respond the user's
3rd operation, configures the test environment computer-list.
3. method according to claim 1, it is characterised in that described that the journal file is read in into internal memory and with hash table
Form be stored as journal entries, including:
Each record in the journal file is read in into internal memory, and adds each record by key of the serial number
The hash table.
4. method according to claim 1, it is characterised in that described to build at least one outgoing call according to the journal entries
Tree, including:
By the record in journal entries described in the serial number identical according to outgoing call relation, in hash table inner search clothes
Business code is recorded with this record outgoing call service codes identical, and is added on this record as child node, to form outgoing call tree;
Wherein, each tree node storage of the outgoing call tree:Service codes, error code, server name and response time.
5. method according to claim 4, it is characterised in that the condition code of the calculating outgoing call tree includes:
A tree node is represented using the service codes, the error code and the server name, by the outgoing call tree table
It is shown as a kind of form of character string.
6. a kind of response time statistic device for system performance testing, it is characterised in that including:
Daily record download unit, the first operation for responding user, downloads according to the test environment computer-list being pre-configured with
Journal file, wherein, the journal file includes serial number, service codes, error code, response time and outgoing call service;
Memory cell, the journal file for daily record download unit to be downloaded is read in internal memory and is stored in the form of hash table
It is journal entries;
Construction unit, the journal entries for being stored up according to the memory cell build at least one outgoing call tree;
First computing unit, the condition code for calculating the outgoing call tree;
Combining unit, for merging to form average outgoing call tree described document information identical outgoing call tree;
Second computing unit, the average response time of each tree node for calculating the average outgoing call tree;
Output unit, for the average outgoing call tree and the average response time to be exported with document form.
7. device according to claim 6, it is characterised in that also include:
Log producing unit, the second operation for responding the user, daily record is produced in the test of test environment execution performance;
Dispensing unit, the 3rd operation for responding the user configures the test environment computer-list.
8. device according to claim 6, it is characterised in that the memory cell is specifically for by the journal file
Each record read in internal memory, and with the serial number be key by each record addition hash table.
9. device according to claim 6, it is characterised in that the construction unit is specifically for identical by the serial number
The journal entries in record according to outgoing call relation, in the hash table inner search service codes and the outgoing call service of this record
Code identical record, and be added on this record as child node, to form outgoing call tree;
Wherein, each tree node storage of the outgoing call tree:Service codes, error code, server name and response time.
10. device according to claim 9, it is characterised in that first computing unit is specifically for utilizing the clothes
Business code, the error code and the server name represent a tree node, and the outgoing call tree table is shown as into a kind of character string
Form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611220945.XA CN106776257B (en) | 2016-12-26 | 2016-12-26 | Response time statistical method and device for system performance test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611220945.XA CN106776257B (en) | 2016-12-26 | 2016-12-26 | Response time statistical method and device for system performance test |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106776257A true CN106776257A (en) | 2017-05-31 |
CN106776257B CN106776257B (en) | 2020-02-07 |
Family
ID=58926909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611220945.XA Active CN106776257B (en) | 2016-12-26 | 2016-12-26 | Response time statistical method and device for system performance test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776257B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3809269A1 (en) * | 2019-10-17 | 2021-04-21 | Amadeus S.A.S. | Monitoring a distributed application server environment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1645336A (en) * | 2005-01-20 | 2005-07-27 | 上海复旦光华信息科技股份有限公司 | Automatic extraction and analysis for formwork based on heterogenerous logbook |
US20080104230A1 (en) * | 2004-10-20 | 2008-05-01 | Antonio Nasuto | Method And System For Monitoring Performance Of A Client-Server Architecture |
CN101346699A (en) * | 2005-12-26 | 2009-01-14 | 国际商业机器公司 | System, method, and program for logging a transaction process and system building method |
US20120253733A1 (en) * | 2011-03-31 | 2012-10-04 | Infosys Technologies Limited | Transaction based workload modeling for effective performance test strategies |
WO2014038037A1 (en) * | 2012-09-06 | 2014-03-13 | 株式会社 東芝 | Report creation system and program |
-
2016
- 2016-12-26 CN CN201611220945.XA patent/CN106776257B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080104230A1 (en) * | 2004-10-20 | 2008-05-01 | Antonio Nasuto | Method And System For Monitoring Performance Of A Client-Server Architecture |
CN1645336A (en) * | 2005-01-20 | 2005-07-27 | 上海复旦光华信息科技股份有限公司 | Automatic extraction and analysis for formwork based on heterogenerous logbook |
CN101346699A (en) * | 2005-12-26 | 2009-01-14 | 国际商业机器公司 | System, method, and program for logging a transaction process and system building method |
US20120253733A1 (en) * | 2011-03-31 | 2012-10-04 | Infosys Technologies Limited | Transaction based workload modeling for effective performance test strategies |
WO2014038037A1 (en) * | 2012-09-06 | 2014-03-13 | 株式会社 東芝 | Report creation system and program |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3809269A1 (en) * | 2019-10-17 | 2021-04-21 | Amadeus S.A.S. | Monitoring a distributed application server environment |
FR3102259A1 (en) * | 2019-10-17 | 2021-04-23 | Amadeus S.A.S. | MONITORING A DISTRIBUTED APPLICATION SERVER ENVIRONMENT |
US11159417B2 (en) | 2019-10-17 | 2021-10-26 | Amadeus S.A.S. | Monitoring a distributed application server environment |
Also Published As
Publication number | Publication date |
---|---|
CN106776257B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106100902A (en) | High in the clouds index monitoring method and apparatus | |
US7003564B2 (en) | Method and apparatus for customizably calculating and displaying health of a computer network | |
CN110278211A (en) | A kind of data checking method and device based on block chain | |
CN107193894B (en) | Data processing method, individual identification method and related device | |
CN101651576B (en) | Alarm information processing method and system | |
CN107104824A (en) | A kind of network topology determines method and apparatus | |
CN104346365A (en) | Device and method for determining specific service associated logs | |
CN103488683B (en) | Microblog data management system and implementation method thereof | |
CN106373014A (en) | Method and apparatus for assessing health degree of application | |
CN107622064A (en) | A kind of method for reading data and system | |
CN107153702A (en) | A kind of data processing method and device | |
Bosi et al. | Cloud-enabled smart data collection in shop floor environments for industry 4.0 | |
CN108259195A (en) | The determining method and system of the coverage of anomalous event | |
Bai et al. | Evolution of transaction pattern in Ethereum: A temporal graph perspective | |
CN106776257A (en) | A kind of response time statistical method and device for system performance testing | |
CN104994220B (en) | A kind of data processing method and system | |
CN103281202B (en) | The system and its front end rendering method of a kind of browser/server framework | |
CN107769967A (en) | A kind of inter-network system trouble correlation analytic method in knowledge based storehouse | |
Oetiker | Monitoring your IT gear: the MRTG story | |
CN117251354A (en) | Abnormality test method and device applied to blockchain system and computer equipment | |
CN110008214A (en) | A kind of inquiry system of the network establishment contest based on block chain | |
CN114598680A (en) | Domain name management method, device and storage medium | |
Xie et al. | Modeling traffic of big data platform for large scale datacenter networks | |
CN114281549A (en) | Data processing method and device | |
CN108399031A (en) | The method and apparatus for determining interface layout mode |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |