CN102880546B - Software integration testing method and system based on extensible markup language (XML) database - Google Patents

Software integration testing method and system based on extensible markup language (XML) database Download PDF

Info

Publication number
CN102880546B
CN102880546B CN201210321769.4A CN201210321769A CN102880546B CN 102880546 B CN102880546 B CN 102880546B CN 201210321769 A CN201210321769 A CN 201210321769A CN 102880546 B CN102880546 B CN 102880546B
Authority
CN
China
Prior art keywords
code
test
information
analysis
integration testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210321769.4A
Other languages
Chinese (zh)
Other versions
CN102880546A (en
Inventor
罗正海
赵伟
郑程光
赖铮
孙伟丰
李泉
李�浩
李书淦
程仁波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Founder Digital Publishing Technology (Shanghai) Co.,Ltd.
Founder Information Industry Holdings Co Ltd
Peking University Founder Group Co Ltd
Original Assignee
FOUNDER DIGITAL PUBLISHING TECHNOLOGY (SHANGHAI) CO LTD
Founder Information Industry Holdings Co Ltd
Peking University Founder Group 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 FOUNDER DIGITAL PUBLISHING TECHNOLOGY (SHANGHAI) CO LTD, Founder Information Industry Holdings Co Ltd, Peking University Founder Group Co Ltd filed Critical FOUNDER DIGITAL PUBLISHING TECHNOLOGY (SHANGHAI) CO LTD
Priority to CN201210321769.4A priority Critical patent/CN102880546B/en
Publication of CN102880546A publication Critical patent/CN102880546A/en
Application granted granted Critical
Publication of CN102880546B publication Critical patent/CN102880546B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a software integration testing method and a software integration testing system based on an extensible markup language (XML) database. An operation interface for extending a test case, a distributed load equalizer based on a minimum heap and Hash algorithm and code automatic compilation, analysis and submission functions are provided. A tester only needs to upload a compiled test case to a code memory, the operation interface which is provided by an integrated testing server of a testing tool is used for configuration, and new test case addition and continuous integration functions can be realized. Under the condition of addition or reduction of test resources, by dynamically constructing minimum heap and Hash, the distributed load equalizer can automatically meet requirements of new environment. By adoption of the code automatic compilation, analysis and submission functions, the submission quality of user codes is improved. Continuous integration in software is realized, the accuracy of code submission is improved, and the regression efficiency of test is improved. Moreover, by adoption of a distributed design idea, the problems about resource bottleneck of a testing machine and platform automatic selection are solved, and the utilization rate of resources is improved.

Description

A kind of Software System Integrated Testing method and system based on XML data storehouse
Technical field
The present invention relates to field of computer technology, particularly a kind of Software System Integrated Testing system based on XML data storehouse.
Background technology
Integration testing is the logical extension of unit testing.Its simplest form is: the unit combination that two had been tested is become an assembly, tests the interface between them.From this one deck meaning, assembly refers to the integrated polymerization of multiple unit.In real-life scenarios, many unit combination become assembly, and these assemblies are polymerized to the greater part of program.Method is the combination of test fragment, and is finally extended to process, module is tested together with other modules organized.Finally, all modules forming process are tested together.In addition, if program is made up of multiple processes, should pairwise testing they, instead of test all processes simultaneously.
Software System Integrated Testing is the significant process and the method that ensure software quality, in current existing Software System Integrated Testing instrument mainly for be application software product, there is not the testing tool for this large foundation system software in XML data storehouse, and existing instrument do not possess ability, the code compilation analysis ability of continuous integrating and lack extendability, adaptable distributed terminator ability.
Summary of the invention
For solving the problem, the Software System Integrated Testing system based on XML data storehouse that technical solution of the present invention provides, comprising:
Step S10: the request of integration testing server receives user, carries out compiling and analyzing for code and produces code analysis daily record;
Step S20: by the test profile using test case application interface to generate, call unit test or script test case carry out test run in order, and generate test log after test run;
Step S30: whether the result run according to code tester and described code analysis log analysis code are tested fully, and when code tester is abundant, code are committed to code memory;
Step S40: centralized version control management is carried out to the code be committed to wherein.
Alternatively, also comprise further:
Distributed load equalizing device receives the operation information that integration testing server transmits, and adopts most rickle and HASH algorithm to select agent actuator;
Selected agent actuator carries out compiling according to the configuration information that described distributed load equalizing integration testing server transmits and the operation of test case, and the result of test execution is back to described integration testing server.
Alternatively, the described operation information sent according to described integration testing server selects corresponding agent actuator to be specially:
Step S110: build a dynamic Hash table with the IP address of each agent actuator;
Step S120: the CPU usage and the memory usage that are calculated agent actuator described in each by described Hash table;
Step S130: by using calculated with weighted average method to go out the final resource utilization of agent actuator described in each for the CPU usage of agent actuator described in each and memory usage;
Step S140: build most rickle by the described final resource utilization of agent actuator described in each;
Step S150: described distributed balanced integration testing server selects the agent actuator of least-loaded by the heap top element of most rickle described in removing, and use while the element of taking-up described heap top and pile algorithm and rebuild most rickle.
Alternatively, comprise further:
When code analysis, the code be submitted in integration testing server by the source code in svn blame funcall code memory and user is analyzed, and finds out the more new route of code, and is recorded in integrated daily record;
When code compilation, compiler can produce corresponding symbol file, when test run by writing trace information to symbol file, thus record code overlay path, by contrasting more new route and Test coverage path, whether ultimate analysis code is tested fully.
Alternatively, comprise further:
When using vs or gcc to compile to code, by arranging compiling parameter and warning level, corresponding compiling information can be produced, by analyzing the warning information in compiling daily record, statement containing " memory leaks " in information is filtered, this quasi-sentence can be recorded in RAM leakage information log, can record RAM leakage code location in detail in this daily record, understands generating code later analyze daily record with this by code analysis.
Alternatively, code is submitted to and is further comprised:
The result run by analytical test and code analysis daily record determine whether submit code to, if test is all passed through, and in code log analysis, there is not RAM leakage and nonstandard code information, then submit to the more new route in the analysis of function meeting invoke code that the code changed is submitted to code storage storehouse by svn commit code, otherwise code is not submitted to.
Alternatively, test run comprises further:
Use the configuration file that test case application interface generates, call unit test or script test case in order, when performing, by writing information three former groups of information of the test statistics of each test case in test log, at the end of test, count the test case and failed test case passed through;
Wherein, described information tlv triple comprises: case-group-id: represent detecting information place group number; Case-id: represent test case numbering; Success/failed: represent that whether test case is passed through; When test execution, each test case can form a triplet format information.
Present invention also offers a kind of Software System Integrated Testing system based on XML data storehouse, comprising:
Client, is respectively used to the integration testing configuring request receiving user, and described integration testing configuring request is sent to integration testing server;
Integration testing server, comprising:
Code compilation and analysis module, produce code analysis daily record for the compiling of code and analysis;
Test run module, for the test profile by using test case application interface to generate, call unit test or script test case carry out test run in order, and terminate rear generation test log in test run;
Whether module submitted to by code, tested fully, and when code tester is abundant, code is committed to code memory by the result of code analysis test run and described code analysis log analysis code;
Code memory, carries out centralized version control management for the code submitted to integration testing server.
Alternatively, also comprise further:
Distributed load equalizing integration testing server; connect integration testing server and multiple agent actuator respectively; operation information for sending according to described integration testing server selects corresponding agent actuator, and the result that agent actuator executes is back to integration testing server;
Described agent actuator, the operative configuration file that selected agent actuator is used for transmitting according to described distributed load equalizing integration testing server carries out test execution, and the result of test execution is back to described integration testing server by distributed load equalizing integration testing server.
Alternatively, described client reception comprises user configured integration testing server address, logins the operation requests of account and the project that need perform, code analysis and submission option, and described operation requests is sent to described integration testing server.
Alternatively, described code compilation and analysis module comprise further:
Code analysis module, code for being submitted in described integration testing server by calling source code in described code memory and software developer is analyzed, find out the more new route of code, and when test run the overlay path of record code, by contrasting more new route and Test coverage path, whether ultimate analysis code is tested fully;
Code compilation module, for compiling code, by arrange compiling parameter and warning level produce corresponding compiling information, by analyzing the warning information in compiling daily record, statement containing " memory leaks " in information is filtered, and the described statement containing " memory leaks " is recorded in a RAM leakage information log.
Alternatively, integration testing server comprises statistical module further, and described statistical module is used for volatility and the test percent of pass of statistics codes, and statistics is returned to described client and show.
Alternatively, integration testing server comprises test trigger module further, and described test trigger module is used for changing according to time of described client and code the test run arranging trigger code.
Alternatively, the overlay path of described code analysis module record code when test run is specially when code compilation, compiler can produce corresponding symbol file, when test run by writing trace information to symbol file, thus the overlay path of record code.
Alternatively, have recorded RAM leakage code location in described RAM leakage information log, so that developer modifies for code.
Alternatively, in described test log, including information tlv triple, at the end of test run, counting the test case of testing test case and the test crash passed through by analyzing described information tlv triple.
Alternatively, described information tlv triple comprises:
Case-group-id: represent detecting information place group number;
Case-id: represent test case numbering;
Success/failed: represent that whether test case is passed through compared with prior art, technique scheme has lower advantage:
Technical scheme of the present invention is for problems of the prior art, propose a kind of Software System Integrated Testing system based on XML data storehouse, which provide: the runnable interface of extend testing use-case, tester only need upload to the test case finished in code memory, and the runnable interface provided by the integration testing server end of testing tool is configured and can completes the interpolation of new test case and the function of continuous integrating; Based on the distributed load equalizing device of most rickle and hash algorithm, when test resource adds or reduce, by building most rickle and Hash dynamically, the demand under distributed load equalizing device can shake down automatically; The automatic compiling of code, analysis and submission function, the quality that the code promoting user is submitted to.Achieve the continuous integrating in software, improve the accuracy rate of code submission and the recurrence efficiency of test simultaneously.In addition, owing to present invention employs distributed design philosophy, shield resource bottleneck problem and the automatic select permeability of platform of test machine, improve the utilization factor of resource.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the Software System Integrated Testing method based on XML data storehouse of embodiment of the present invention;
Fig. 2 is the method flow diagram selecting corresponding agent actuator based on the operation information sent according to described integration testing server in the Software System Integrated Testing method in XML data storehouse of embodiment of the present invention;
Fig. 3 is the frame diagram of the Software System Integrated Testing system based on XML data storehouse of embodiment of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail the specific embodiment of the present invention below in conjunction with accompanying drawing.Set forth detail in the following description so that fully understand the present invention.But the present invention can be different from alternate manner described here to implement with multiple, those skilled in the art can when without prejudice to doing similar popularization when intension of the present invention.Therefore the present invention is not by the restriction of following public embodiment.
Skilled in the art will recognize that, Software System Integrated Testing is the significant process and the method that ensure software quality, in current existing Software System Integrated Testing instrument mainly for be application software product, there is not the testing tool for this large foundation system software in XML data storehouse, and existing instrument do not possess ability, the code compilation analysis ability of continuous integrating and lack the shortcoming such as extendability, adaptable distributed terminator ability.
For solving the problems of the prior art, the present inventor, through research, proposes a kind of Software System Integrated Testing method based on XML data storehouse.Consult Fig. 1, Fig. 1 is the process flow diagram of the Software System Integrated Testing method based on XML data storehouse of embodiment of the present invention.The Software System Integrated Testing method based on XML data storehouse of embodiment of the present invention, comprising:
Step S10: the request of integration testing server receives user, carries out compiling and analyzing for code and produces code analysis daily record;
Wherein, when code analysis, the code be submitted in integration testing server by the source code in svn blame funcall code memory and user is analyzed, and finds out the more new route of code, and is recorded in integrated daily record;
When code compilation, compiler can produce corresponding symbol file, when test run by writing trace information to symbol file, thus record code overlay path, by contrasting more new route and Test coverage path, whether ultimate analysis code is tested fully.
Wherein, also comprise further in this step: when using vs or gcc to compile to code, by arranging compiling parameter and warning level, corresponding compiling information can be produced, by analyzing the warning information in compiling daily record, filter for the statement containing " memory leaks " in information, this quasi-sentence can be recorded in RAM leakage information log, RAM leakage code location can be recorded in detail in this daily record, understand generating code with this by code analysis later analyze daily record.
Step S20: by the test profile using test case application interface to generate, call unit test or script test case carry out test run in order, and generate test log after test run;
Step S30: whether the result run according to code tester and described code analysis log analysis code are tested fully, and when code tester is abundant, code are committed to code memory;
Wherein, in this step, also comprise further:
Distributed load equalizing device receives the operation information that integration testing server transmits, and adopts most rickle and HASH algorithm to select agent actuator;
Selected agent actuator carries out compiling according to the configuration information that described distributed load equalizing integration testing server transmits and the operation of test case, and the result of test execution is back to described integration testing server.
Wherein, the described operation information sent according to described integration testing server selects corresponding agent actuator to be specially:
Step S110: build a dynamic Hash table with the IP address of each agent actuator;
Step S120: the CPU usage and the memory usage that are calculated agent actuator described in each by described Hash table;
Step S130: by using calculated with weighted average method to go out the final resource utilization of agent actuator described in each for the CPU usage of agent actuator described in each and memory usage;
Step S140: build most rickle by the described final resource utilization of agent actuator described in each;
Step S150: described distributed balanced integration testing server selects the agent actuator of least-loaded by the heap top element of most rickle described in removing, and use while the element of taking-up described heap top and pile algorithm and rebuild most rickle.
Alternatively, code is submitted to and is further comprised:
The result run by analytical test and code analysis daily record determine whether submit code to, if test is all passed through, and in code log analysis, there is not RAM leakage and nonstandard code information, then submit to the more new route in the analysis of function meeting invoke code that the code changed is submitted to code storage storehouse by svn commit code, otherwise code is not submitted to.
Alternatively, test run comprises further:
Use the configuration file that test case application interface generates, call unit test or script test case in order, when performing, by writing information three former groups of information of the test statistics of each test case in test log, at the end of test, count the test case and failed test case passed through;
Wherein, described information tlv triple comprises: case-group-id: represent detecting information place group number; Case-id: represent test case numbering; Success/failed: represent that whether test case is passed through; When test execution, each test case can form a triplet format information
Step S40: code memory carries out centralized version control management to the code be committed to wherein.
See Fig. 3, present invention also offers a kind of integrated test system based on XML data storehouse, comprising:
Client 1, is respectively used to the request receiving user, and described request is sent to an integration testing server; Wherein, client 1 comprises VC client 11 and eclipse client 12, user-friendly.In the client, user only need configure integrated testing server address, logins account and choose project, code analysis and the submission option that need perform to run.Integration testing server 2, after receiving being configured to of client 1, carries out the setting of corresponding operating, and after execution terminates, corresponding result is sent to client 1.
Integration testing server 2, corresponding integration testing operation is carried out in the integration testing request for sending according to described client, and described operating result is returned to described client shows;
Wherein, integration testing server 2 comprises further:
Code compilation and analysis module 21, produce code analysis daily record for the compiling of code and analysis; Wherein, code compilation and analysis module 21 comprise further: code analysis module 21a, be analyzed with the code be submitted in described integration testing server by the source code of calling in described code memory, find out the more new route of code, and the more new route of code is recorded in an integrated daily record; At the corresponding symbol file write trace information of test run by producing for compiler during code compilation, thus record code overlay path, by contrasting more new route and Test coverage path, whether ultimate analysis code tests the overlay path of abundant record code, by contrasting more new route and Test coverage path, whether ultimate analysis code is tested fully; Code compilation module 21b, when code being compiled for using vs or gcc, by arrange compiling parameter and warning level produce corresponding compiling information, by analyzing the warning information in compiling daily record, statement containing " memory leaks " in information is filtered, and the described statement containing " memory leaks " is recorded in a RAM leakage information log.
Whether module 22 submitted to by code, test fully, and when code tester is abundant, code is committed to code memory for the result run according to code tester and described code analysis log analysis code;
Test run module 23, for the test profile by using test case application interface to generate, call unit test or script test case carry out test run in order, and generate test log after test run; When test run, include detecting information place group number by write in test log, show that whether test case numbering and test case pass through the information tlv triple of information, at the end of test, by information tlv triple, then can count the test case and failed test case passed through.Wherein,
Such as,
Test profile:
Xqts test (: note test group :)
Xqts-1 (: note test case)
xqts-2
update test
fulltext test
The test log generated after running:
<1,1,sucess>
<2,1,failed>
<3,1,sucess>
Statistical module 24, for volatility and the test percent of pass of statistics codes, and returns to described client and shows by statistics; Wherein code volatility: submit to the line number of code divided by total code line number by calculating; Test percent of pass: by the success quantity in triplet information in calculating test log divided by total test case number.The information of this statistical module after test terminates, can be sent to client 1 correlated results and shows.
Test trigger module 25, for changing according to time of described client and code the triggering test run arranging and carry out code; This module is mainly used in recurrence and the checking of test case, and it changes to arrange mainly through time and code and carries out triggering operation, such as: setup times is 8:00am, code changes to true, in addition, trigger action only just can run when code changes, otherwise does not run.The setting testing module 25 of setting out improves the efficiency triggering and run, and avoids the maloperation that manual code is submitted to simultaneously.
Distributed load equalizing integration testing server 3, the operation information for sending according to described integration testing server selects corresponding agent actuator;
Agent actuator 4, the operation information being respectively used to transmit according to described distributed equally loaded integration testing server is downloaded code and is carried out compile and test from code memory, and execution result is sent to described integration testing server by network;
Code memory 5, for carrying out centralized version control management to the code be committed to wherein.Code memory is used for the version control function of code, and it mainly utilizes the instruments such as existing svn.
In sum, technical scheme of the present invention has following advantage:
Technical scheme of the present invention is for problems of the prior art, propose a kind of Software System Integrated Testing system based on XML data storehouse, which provide: the runnable interface of extend testing use-case, tester only need upload to the test case finished in code memory, and the runnable interface provided by the integration testing server end of testing tool is configured and can completes the interpolation of new test case and the function of continuous integrating; Based on the distributed load equalizing device of most rickle and hash algorithm, when test resource adds or reduce, by building most rickle and Hash dynamically, the demand under distributed load equalizing device can shake down automatically; The automatic compiling of code, analysis and submission function, the quality that the code promoting user is submitted to.Achieve the continuous integrating in software, improve the accuracy rate of code submission and the recurrence efficiency of test simultaneously.In addition, owing to present invention employs distributed design philosophy, shield resource bottleneck problem and the automatic select permeability of platform of test machine, improve the utilization factor of resource.
Should be understood that method and system as described herein can realize in hardware in a variety of manners, software, firmware, dedicated processor or their combination.Especially, the application program that a part at least of the present invention comprises programmed instruction preferably realizes.These programmed instruction are positively included in one or more program storage device and (are included but not limited to hard disk, magnetic floppy disc, RAM, ROM, CD, ROM etc.) inner, and can by any equipment or the machine that comprise appropriate configuration, such as a kind of universal digital computer with processor, internal memory and input/output interface performs.It should also be understood that the building block of some systems owing to describing in accompanying drawing and treatment step are preferably with software simulating, so the connection between system module (or logic flow of method step) may be different, and this depends on programming mode of the present invention.According to guidance given here, those of ordinary skill in the related art can design these and similar embodiment of the present invention.
Disclosed above many aspects of the present invention and embodiment, it will be understood by those skilled in the art that other side of the present invention and embodiment.Many aspects disclosed in the present invention and embodiment are just for illustrating, be not limitation of the invention, real protection domain of the present invention and spirit should be as the criterion with claims.

Claims (14)

1., based on the Software System Integrated Testing method in XML data storehouse, it is characterized in that, comprising:
Step S10: the request of integration testing server receives user, carries out compiling and analyzing for code and produces code analysis daily record;
Step S20: by the test profile using test case application interface to generate, call unit test or script test case carry out test run in order, and generate test log after test run;
Step S30: whether the result run according to code tester and described code analysis log analysis code are tested fully, and when code tester is abundant, code are committed to code memory;
Step S40: centralized version control management is carried out to the code be committed to wherein;
Wherein said method, also comprises further:
Distributed load equalizing device receives the operation information that integration testing server transmits, and adopts most rickle and HASH algorithm to select agent actuator;
Selected agent actuator carries out compiling according to the configuration information that described distributed load equalizing device transmits and the operation of test case, and the result of test execution is back to described integration testing server,
Wherein, described selection agent actuator is specially:
Step S110: build a dynamic Hash table with the IP address of each agent actuator;
Step S120: the CPU usage and the memory usage that are calculated agent actuator described in each by described dynamic Hash table;
Step S130: by using calculated with weighted average method to go out the final resource utilization of agent actuator described in each for the CPU usage of agent actuator described in each and memory usage;
Step S140: build most rickle by the described final resource utilization of agent actuator described in each;
Step S150: described distributed load equalizing device selects the agent actuator of least-loaded by the heap top element of most rickle described in removing, and use while the element of taking-up described heap top and pile algorithm and rebuild most rickle.
2., as claimed in claim 1 based on the Software System Integrated Testing method in XML data storehouse, it is characterized in that, comprise further:
When code analysis, the code be submitted in integration testing server by the source code in svn blame funcall code memory and user is analyzed, and finds out the more new route of code, and is recorded in integrated daily record; When code compilation, compiler can produce corresponding symbol file, when test run by writing trace information to symbol file, thus record code overlay path, by contrasting more new route and Test coverage path, whether ultimate analysis code is tested fully.
3., as claimed in claim 1 based on the Software System Integrated Testing method in XML data storehouse, it is characterized in that, code compilation comprises further:
When using vs or gcc to compile to code, by arranging compiling parameter and warning level, can produce and compile daily record accordingly, by analyzing the warning information in described compiling daily record, statement containing " memory leaks " in information is filtered, this quasi-sentence can be recorded in RAM leakage information log, can record RAM leakage code location in detail in this daily record, understands generating code later analyze daily record with this by code analysis.
4. as claimed in claim 1 based on the Software System Integrated Testing method in XML data storehouse, it is characterized in that, code is submitted to and is further comprised:
The result run by analytical test and code analysis daily record determine whether submit code to, if test is all passed through, and in code log analysis, there is not RAM leakage and nonstandard code information, then svn commit code submits to the more new route in the analysis of function meeting invoke code that the code changed is submitted to code storage storehouse, otherwise code is not submitted to.
5., as claimed in claim 1 based on the Software System Integrated Testing method in XML data storehouse, it is characterized in that, test run comprises further:
Use the configuration file that test case application interface generates, call unit test or script test case in order, when performing, by writing the information triplet information of the test statistics of each test case in test log, at the end of test, count the test case and failed test case passed through;
Wherein, described information tlv triple comprises:
Case-group-id: represent detecting information place group number;
Case-id: represent test case numbering;
Success/failed: represent that whether test case is passed through;
When test execution, each test case can form a triplet format information.
6., based on the Software System Integrated Testing system in XML data storehouse, it is characterized in that, comprising:
Client, is respectively used to the integration testing configuring request receiving user, and described integration testing configuring request is sent to integration testing server;
Integration testing server, comprising:
Code compilation and analysis module, produce code analysis daily record for the compiling of code and analysis;
Test run module, for the test profile by using test case application interface to generate, call unit test or script test case carry out test run in order, and terminate rear generation test log in test run;
Whether module submitted to by code, tested fully, and when code tester is abundant, code is committed to code memory by the result of code analysis test run and described code analysis log analysis code;
Code memory, carries out centralized version control management for the code submitted to integration testing server;
Wherein said system, also comprises further:
Distributed load equalizing device, connect integration testing server and multiple agent actuator respectively, operation information for sending according to described integration testing server selects corresponding agent actuator, and the result that agent actuator executes is back to integration testing server;
Described agent actuator, the operative configuration file that selected agent actuator is used for transmitting according to described distributed load equalizing device carries out test execution, and the result of test execution is back to described integration testing server by distributed load equalizing device,
Wherein, the described operation information sent according to described integration testing server selects the corresponding agent of selection actuator to be specially: build a dynamic Hash table with the IP address of each agent actuator; CPU usage and the memory usage of agent actuator described in each is calculated by described dynamic Hash table; By using calculated with weighted average method to go out the final resource utilization of agent actuator described in each for the CPU usage of agent actuator described in each and memory usage; Most rickle is built by the described final resource utilization of agent actuator described in each; Described distributed load equalizing device selects the agent actuator of least-loaded by the heap top element of most rickle described in removing, and uses while the element of taking-up described heap top and pile algorithm and rebuild most rickle.
7. as claimed in claim 6 based on the Software System Integrated Testing system in XML data storehouse, it is characterized in that, described client reception comprises user configured integration testing server address, logins the operation requests of account and the project that need perform, code analysis and submission option, and described operation requests is sent to described integration testing server.
8., as claimed in claim 6 based on the Software System Integrated Testing system in XML data storehouse, it is characterized in that, described code compilation and analysis module comprise further:
Code analysis module, code for being submitted in described integration testing server by calling source code in described code memory and software developer is analyzed, find out the more new route of code, and when test run the overlay path of record code, by contrasting more new route and Test coverage path, whether ultimate analysis code is tested fully;
Code compilation module, for compiling code, by arrange compiling parameter and warning level produce corresponding compiling information, by analyzing the warning information in described compiling information, statement containing " memory leaks " in information is filtered, and the described statement containing " memory leaks " is recorded in a RAM leakage information log.
9. as claimed in claim 6 based on the Software System Integrated Testing system in XML data storehouse, it is characterized in that, integration testing server comprises statistical module further, described statistical module is used for volatility and the test percent of pass of statistics codes, and statistics is returned to described client and show.
10. as claimed in claim 6 based on the Software System Integrated Testing system in XML data storehouse, it is characterized in that, integration testing server comprises test trigger module further, and described test trigger module is used for changing according to time of described client and code the test run arranging trigger code.
11. as claimed in claim 8 based on the Software System Integrated Testing system in XML data storehouse, it is characterized in that, the overlay path of described code analysis module record code when test run is specially when code compilation, compiler can produce corresponding symbol file, when test run by writing trace information to symbol file, thus the overlay path of record code.
12., as claimed in claim 8 based on the Software System Integrated Testing system in XML data storehouse, is characterized in that, have recorded RAM leakage code location, so that developer modifies for code in described RAM leakage information log.
13. as claimed in claim 6 based on the Software System Integrated Testing system in XML data storehouse, it is characterized in that, information tlv triple is included in described test log, at the end of test run, count the test case of testing test case and the test crash passed through by analyzing described information tlv triple.
14. as claimed in claim 13 based on the Software System Integrated Testing system in XML data storehouse, and it is characterized in that, described information tlv triple comprises:
Case-group-id: represent detecting information place group number;
Case-id: represent test case numbering;
Success/failed: represent that whether test case is passed through.
CN201210321769.4A 2012-09-03 2012-09-03 Software integration testing method and system based on extensible markup language (XML) database Expired - Fee Related CN102880546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210321769.4A CN102880546B (en) 2012-09-03 2012-09-03 Software integration testing method and system based on extensible markup language (XML) database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210321769.4A CN102880546B (en) 2012-09-03 2012-09-03 Software integration testing method and system based on extensible markup language (XML) database

Publications (2)

Publication Number Publication Date
CN102880546A CN102880546A (en) 2013-01-16
CN102880546B true CN102880546B (en) 2015-06-17

Family

ID=47481880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210321769.4A Expired - Fee Related CN102880546B (en) 2012-09-03 2012-09-03 Software integration testing method and system based on extensible markup language (XML) database

Country Status (1)

Country Link
CN (1) CN102880546B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150255B (en) * 2013-03-29 2016-12-28 北京经纬恒润科技有限公司 A kind of script method of testing and device
CN104156224B (en) * 2013-05-14 2017-11-07 广东电网公司信息中心 A kind of software building continuous integrating method and system
CN103412816B (en) * 2013-08-12 2016-10-19 浪潮电子信息产业股份有限公司 A kind of continuous integrating test platform building method based on linux
CN103530225B (en) * 2013-09-10 2016-07-06 武汉烽火网络有限责任公司 Automatization's compiler test method and realize automatization's compiler test platform of the method
CN103617118B (en) * 2013-11-28 2016-06-29 北京奇虎科技有限公司 The method that is uniformly processed of test result, Apparatus and system
CN104461670B (en) * 2014-11-21 2017-11-28 闻泰通讯股份有限公司 Entry public code management method
CN105786691B (en) * 2014-12-25 2023-05-12 锐迪科(重庆)微电子科技有限公司 Automatic integrated testing device, method and system for mobile terminal
CN105095089A (en) * 2015-09-14 2015-11-25 北京金山安全软件有限公司 Method and device for testing performance of application software
CN106933736B (en) * 2015-12-31 2020-04-21 中移(苏州)软件技术有限公司 Method and system for continuously integrating projects
CN105843651B (en) * 2016-03-31 2019-10-11 广州华多网络科技有限公司 A kind of methods, devices and systems of management continuous integrating processing script
CN106326116B (en) * 2016-08-17 2019-03-05 北京奇虎科技有限公司 The method and apparatus of product test
CN106775911A (en) * 2016-11-25 2017-05-31 努比亚技术有限公司 A kind of method of testing and device for application and development
CN108205492A (en) * 2016-12-20 2018-06-26 阿尔卡特朗讯 For the method and apparatus of the Test Driven Development in continuous integrating frame
CN108280023B (en) * 2017-01-04 2022-11-01 深圳市中兴通讯技术服务有限责任公司 Task execution method and device and server
CN106897223A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 A kind of software kit delivery method and device based on continuous integrating
CN107203473A (en) * 2017-05-26 2017-09-26 四川长虹电器股份有限公司 The automatization test system and method for automatic expansion interface test case
CN108388511A (en) * 2018-02-12 2018-08-10 安徽千云度信息技术有限公司 A kind of integration test method for component-based software
CN108491210B (en) * 2018-03-27 2019-05-03 无锡华云数据技术服务有限公司 Code continuous integrating method, apparatus, system and server
CN109165165A (en) * 2018-09-04 2019-01-08 中国平安人寿保险股份有限公司 Interface test method, device, computer equipment and storage medium
CN109634865B (en) * 2018-12-13 2024-03-22 平安科技(深圳)有限公司 Code transfer testing method and device and transfer testing terminal
CN110647460B (en) * 2019-08-05 2023-09-05 微梦创科网络科技(中国)有限公司 Test resource management method and device and test client
CN111190778A (en) * 2019-12-26 2020-05-22 曙光信息产业股份有限公司 Disk array test system for distributed storage system
CN111367791B (en) * 2020-02-19 2023-08-01 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for generating test case
CN112486812A (en) * 2020-11-26 2021-03-12 北京海量数据技术股份有限公司 Distributed framework software testing method and device supporting cloud
US11327723B1 (en) 2021-02-25 2022-05-10 Red Hat, Inc. Development environment integrated with failure detection system
CN113656291B (en) * 2021-08-04 2023-04-28 成都中科合迅科技有限公司 Dynamic calling method for software script engine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515232A (en) * 2008-02-21 2009-08-26 卓望数码技术(深圳)有限公司 Software continuous integration system and method
CN101833500A (en) * 2010-04-07 2010-09-15 南京航空航天大学 Embedded software intelligent testing method based on Agent
CN101982815A (en) * 2010-11-03 2011-03-02 北京世纪高通科技有限公司 Software test system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101132560B1 (en) * 2010-06-09 2012-04-03 강원대학교산학협력단 System and method for automatic interface testing based on simulation for robot software components

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515232A (en) * 2008-02-21 2009-08-26 卓望数码技术(深圳)有限公司 Software continuous integration system and method
CN101833500A (en) * 2010-04-07 2010-09-15 南京航空航天大学 Embedded software intelligent testing method based on Agent
CN101982815A (en) * 2010-11-03 2011-03-02 北京世纪高通科技有限公司 Software test system and method

Also Published As

Publication number Publication date
CN102880546A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN102880546B (en) Software integration testing method and system based on extensible markup language (XML) database
CN101930400B (en) SDK (Software Development Kit) automatic test system and method
CN106940428B (en) Chip verification method, device and system
CN103150249B (en) A kind of method and system of automatic test
JP6307140B2 (en) System and method for safety critical software automatic requirement based test case generation
CN103365770B (en) Mobile terminal software test macro and method for testing software
CN103678354B (en) Local relation type database node scheduling method and device based on cloud computing platform
EP2095236B1 (en) Method, system and computer program for testing software applications based on multiple data sources
US20150074647A1 (en) Testing system for an integrated software system
CN104407980A (en) Mobile application automated testing device and method
CN110287109A (en) Test method, device, computer equipment and its storage medium of protocol interface
CN105094783A (en) Method and device for testing Android application stability
WO2004029800A2 (en) Verifiable processes in a heterogeneous distributed computing environment
CN105022691A (en) Highly automatic software testing method based on UML diagram
CN105487859B (en) A kind of big data component WEB dispositions methods based on template
CN107704393A (en) Data test method, apparatus and electronic equipment
CN108459958A (en) The creation method of function and performance test script, device, equipment and storage medium
CN103279416A (en) Storage software automated testing system and method
CN107733710A (en) Construction method, device, computer equipment and the storage medium of link call relation
Panigrahi et al. An approach to prioritize the regression test cases of object-oriented programs
CN105786695A (en) Data test method and system
CN103246606A (en) Method and system for testing performances of ESB (enterprises service bus) platform
CN110109816A (en) Test cases selection method and apparatus
CN111400167A (en) Redfish service compliance verification method, device, equipment and medium
CN112506564B (en) Method, system and medium for establishing control flow graph

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: FOUNDER DIGITAL PUBLISHING TECHNOLOGY (SHANGHAI) C

Effective date: 20130118

Owner name: BEIDA FANGZHENG GROUP CO. LTD.

Free format text: FORMER OWNER: FOUNDER DIGITAL PUBLISHING TECHNOLOGY (SHANGHAI) CO., LTD.

Effective date: 20130118

C10 Entry into substantive examination
C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 201203 PUDONG NEW AREA, SHANGHAI TO: 100871 HAIDIAN, BEIJING

SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20130118

Address after: 100871 Beijing, Haidian District into the house road, founder of the building on the 5 floor, No. 298

Applicant after: Peking Founder Group Co., Ltd.

Applicant after: Founder Digital Publishing Technology (Shanghai) Co.,Ltd.

Address before: 201203, No. 608, midsummer Road, Zhangjiang hi tech park, Shanghai, Shanghai, Pudong New Area

Applicant before: Founder Digital Publishing Technology (Shanghai) Co.,Ltd.

ASS Succession or assignment of patent right

Owner name: FOUNDER INFORMATION INDUSTRY HOLDING CO., LTD. FOU

Free format text: FORMER OWNER: FOUNDER DIGITAL PUBLISHING TECHNOLOGY (SHANGHAI) CO., LTD.

Effective date: 20130912

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130912

Address after: 100871 Beijing, Haidian District into the house road, founder of the building on the 5 floor, No. 298

Applicant after: Peking Founder Group Co., Ltd.

Applicant after: Founder Holdings Company Limited (Founder Holdings)

Applicant after: Founder Digital Publishing Technology (Shanghai) Co.,Ltd.

Address before: 100871 Beijing, Haidian District into the house road, founder of the building on the 5 floor, No. 298

Applicant before: Peking Founder Group Co., Ltd.

Applicant before: Founder Digital Publishing Technology (Shanghai) Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150617

Termination date: 20170903

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