CN106502915A - Method for testing software and system - Google Patents

Method for testing software and system Download PDF

Info

Publication number
CN106502915A
CN106502915A CN201611108087.XA CN201611108087A CN106502915A CN 106502915 A CN106502915 A CN 106502915A CN 201611108087 A CN201611108087 A CN 201611108087A CN 106502915 A CN106502915 A CN 106502915A
Authority
CN
China
Prior art keywords
data
name
zookeeper
property
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611108087.XA
Other languages
Chinese (zh)
Inventor
马家麒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Vipshop Information And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Vipshop Information And Technology Co Ltd filed Critical Guangzhou Vipshop Information And Technology Co Ltd
Priority to CN201611108087.XA priority Critical patent/CN106502915A/en
Publication of CN106502915A publication Critical patent/CN106502915A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of method for testing software, the method for testing software is comprised the following steps:Test case is called to carry out data modification to the server on the node of distributed application program coordination service ZooKeeper;The configuration parameter of ZooKeeper, the Property Name in first property file point two parts is chosen according to Property Name in the first property file, and Part I is Connecting quantity name, and Part II is group another name;According to other servers on the configuration parameter synchronously node of the result to ZooKeeper of the data modification;Check whether the result of the data modification on Servers-all meets the first preset requirement.The invention also discloses a kind of software testing system.Corresponding connection configuration is chosen according to Property Name from same the first property file that specifies, maintenance difficulties is reduced, is improve testing efficiency.

Description

Method for testing software and system
Technical field
The present invention relates to software test field, more particularly to a kind of method for testing software and system.
Background technology
In existing test, ZooKeeper (a kind of distributed application program coordination service) is directed to use with multiple clothes Business device carry out file synchronization test when, due in different test environments with regard to ZooKeeper configuration change, every time test when Waiting needs to modify configuration, in different tests must use different configuration files, causes to ZooKeeper configuration dimensions Shield is difficult, and testing efficiency is low.
Content of the invention
Present invention is primarily targeted at providing a kind of method for testing software and system, it is intended to matched somebody with somebody using a configuration file Put and ZooKeeper is configured, reduce maintenance difficulties, improve testing efficiency.
For achieving the above object, a kind of method for testing software that the present invention is provided is comprised the following steps:
Test case is called to enter line number to the server on the node of distributed application program coordination service ZooKeeper According to modification;
The configuration parameter of ZooKeeper, first property file is chosen according to Property Name in the first property file In Property Name point two parts, Part I is Connecting quantity name, and Part II is group another name;
According to other services on the configuration parameter synchronously node of the result to ZooKeeper of the data modification Device;
Check whether the result of the data modification on Servers-all meets the first preset requirement.
Preferably, in the node according to the synchronous result to ZooKeeper of the data modification of the configuration parameter On other servers after, also include:
By message queue send with regard to the data modification message to related system;
From the text that the related system obtains the message, and check whether the text of the message is literary with presetting message This is identical.
Preferably, in the node according to the synchronous result to ZooKeeper of the data modification of the configuration parameter On other servers after, also include:
The information of the data modification is preserved to corresponding caching;
Caching is obtained, and checks whether the content of the caching is identical with the content of preset buffer memory.
Preferably, called test case is to the clothes on the node of distributed application program coordination service ZooKeeper Business device carries out data modification to be included:
Wide area information server configuration parameter, second category are chosen in the second property file according to the second Property Name Property title be divided into two parts, Part I is database configuration parameters name, and Part II is data base's code name;
According to the database configuration parameters, database manipulation is carried out to the data base using the test case.
Preferably, whether the result for checking the data modification on Servers-all meets the first preset requirement bag Include:
The data after all database updates are obtained, and makes the Data Serialization after the database update;
Data after the Data Serialization are checked, judges whether to meet the preset requirement.
Additionally, for achieving the above object, the present invention also provides a kind of software testing system, the software testing system bag Include:
Module is transferred, for calling on node of the test case to distributed application program coordination service ZooKeeper One server carries out data modification;
Configuration module, for choosing the configuration parameter of ZooKeeper according to the first Property Name in the first property file, First Property Name is divided into two parts, and Part I is Connecting quantity name, and Part II is group another name;
Synchronization module, for the node according to the synchronous result to ZooKeeper of the data modification of the configuration parameter On other servers;
First checks module, presets for checking whether the result of the data modification on Servers-all meets first Require.
Preferably, the software testing system also includes:
Sending module, for by message queue send with regard to the data modification message to related system;
Second checks module, for obtaining the text of the message from the related system, and checks the text of the message Whether this is identical with presetting message text.
Preferably, the software testing system also includes:
Preserving module, for preserving the information of the data modification to corresponding caching;
3rd checks module, for obtaining caching, and checks the content of the caching whether content phase with preset buffer memory With.
Preferably, the module of transferring includes:
Dispensing unit, for choosing wide area information server configuration parameter according to Property Name in the second property file, Property Name in second property file point two parts, Part I are database configuration parameters name, and Part II is number According to storehouse code name;
Database Unit, for according to the database configuration parameters, being entered to the data base using the test case Row database manipulation.
Preferably, the first inspection module includes:
Acquiring unit, for obtaining the data after all database updates, and makes the data sequence after the database update Rowization;
Judging unit, for checking to the data after the Data Serialization, judges whether that meeting described presetting wants Ask.
The present invention is by calling the clothes on node of the test case to distributed application program coordination service ZooKeeper Business device carries out data modification;Choose the configuration parameter of ZooKeeper according to Property Name in the first property file, described first Property Name in property file point two parts, Part I are Connecting quantity name, and Part II is group another name;Matched somebody with somebody according to described Other servers on the node of the result to ZooKeeper for putting data modification described in parameter synchronization;Check on Servers-all The result of the data modification whether meet the first preset requirement.The invention also discloses a kind of software testing system.From together Corresponding connection configuration is chosen according to Property Name in one the first property file that specifies so that tester only need to be at one Modification and configuration so the connection configuration of ZooKeeper is carried out in first property file, is reduced maintenance difficulties, is improve survey Examination efficiency.
Description of the drawings
Schematic flow sheets of the Fig. 1 for invention software method of testing first embodiment;
Fig. 2 is to send message by message queue in invention software method of testing second embodiment and the message is entered The refinement schematic flow sheet that row is checked;
Fig. 3 is to keep the information of the modification to the happiness for caching and check in invention software method of testing 3rd embodiment Joyous schematic flow sheet;
Fig. 4 is to call test case to carry out data modification to a server in invention software method of testing fourth embodiment Refinement schematic flow sheet;
Fig. 5 is the result for checking the data modification on Servers-all in the 5th embodiment of invention software method of testing Whether the refinement schematic flow sheet of first preset requirement is met;
High-level schematic functional block diagrams of the Fig. 6 for invention software test system first embodiment;
High-level schematic functional block diagrams of the Fig. 7 for invention software test system second embodiment;
High-level schematic functional block diagrams of the Fig. 8 for invention software test system 3rd embodiment;
Fig. 9 is the refinement high-level schematic functional block diagram for transferring module in invention software test system fourth embodiment;
Figure 10 is the first refinement high-level schematic functional block diagram for checking module in the 5th embodiment of invention software test system.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only in order to explain the present invention.
The present invention provides a kind of method for testing software, with reference to Fig. 1, in invention software method of testing first embodiment, The method for testing software includes:
Step S10, calls test case to the service on the node of distributed application program coordination service ZooKeeper Device carries out data modification;
Described can be data base to server, and the data modification is the increasing carried out by the data base, deletes, and changes behaviour Make.It should be noted that the server is file server in some embodiments, described be revised as new to the server Build, delete, change file.
Step S20, chooses the configuration parameter of ZooKeeper in the first property file according to Property Name, and described first Property Name in property file point two parts, Part I are Connecting quantity name, and Part II is group another name;
First property file is properties files, and content is that structure is " attribute-name=property value ", the category Property title be that front portion is divided into the Connecting quantity name of configuration using special two parts for meeting segmentation, latter half is the configuration Group another name.For example same Connecting quantity name " timeout " has multiple in configuration file, and timeout is related to timeout's Have:" timeout.default ", " timeout.other1 ".
Step S30, according to its on the configuration parameter synchronously node of the result to ZooKeeper of the data modification His server;
Step S40, checks whether the result of the data modification on Servers-all meets the first preset requirement.
The server is carried out after data modification by step 1 test case, then configuration is chosen using ZooKeeper File is synchronized to other servers, then judges described whether modification successfully judging by carrying out checking to Servers-all Test whether successfully.
Specifically, in the present embodiment:Test case carries out increased a record in a data base.If specified ZooKeeper loadings are default parameterss, then find configuration parameter name in first property file and ended up with " default " Parameter name.For example when " hosts " parameter is looked for, attribute can be found in first property file entitled The value of " hosts.default ", configuration complete ZooKeeper after, the ZooKeeper according to configuration file to configuration parameter in Other data bases carry out data syn-chronization, after synchronously completing, the data for capturing all data bases are judged with preset value, inspection Test whether successfully, if default requirement described in the data fit for grabbing, test passes through.If test environment changes ZooKeeper needs to be replaced with other configurations, for example, be replaced with the configuration of entitled other1, then only need to specify loading described the The configuration parameter ended up with other1 in one property file, such as then searching attribute entitled when loading " hosts " parameter The parameter of " hosts.other1 ".Corresponding connection is chosen according to Property Name in same the first property file that specifies to match somebody with somebody Put so that tester only need to carry out in first property file thus ZooKeeper connection configuration modification and match somebody with somebody Put, reduce maintenance difficulties, improve testing efficiency.
Further, with reference to Fig. 2, based on invention software method of testing first embodiment, in invention software test side In method second embodiment, in the node according to the synchronous result to ZooKeeper of the data modification of the configuration parameter On other servers after, also include:
Step S50, by message queue send with regard to the data modification message to related system;
Whether and in advance step S60, from the text that the related system obtains the message, and check the text of the message If Message-text is identical.
In order to preferably monitor test process, the modification message is sent to related system by message queue, the phase Relation system email address in the present embodiment for specifying.It should be noted that described for automatically processing in some embodiments The api interface of message.
Specifically, in the present embodiment, in the ZooKeeper, synchronously every other data base is added a data Afterwards, " increase a record, specially using text template:", creating one " increases a record, specially:To the first number Add a purchaser record according to control." information, and sent to specified mailbox in the form of mail using JavaMail, It is to send to special email accounts are tested in the present embodiment, is then used by the default text created according to the text template Content judge the information that sends with the sending module whether as information whether.It should be noted that in some realities Apply in example, the mode during message of the use template establishment using http request is sent to specified api interface.By message Queue send with regard to the data modification message to related system so that tester can not only for test result is entered Row judges, step that can be interested in test process using message queue in the form of extract, and further enter Row judgement, increased the reliability of test.
Further, with reference to Fig. 3, based on invention software method of testing first embodiment, in invention software test side In method 3rd embodiment, in the node according to the synchronous result to ZooKeeper of the data modification of the configuration parameter On other servers after, also include:
Step S70, preserves the information of the data modification to corresponding caching;
Step S80, obtains caching, and checks whether the content of the caching is identical with the content of preset buffer memory.
When step S10 carries out data modification to a server, the data of the modification are cached, The newly-increased record is cached in the present embodiment, and the caching is extracted, check the caching whether containing described new The record of increasing, if the newly-increased record and the content of being cached with is consistent, meets the 3rd preset requirement, tests Pass through.
Further, with reference to Fig. 4, based on invention software method of testing first embodiment, in invention software test side In method fourth embodiment, called test case is to the clothes on the node of distributed application program coordination service ZooKeeper Business device carries out data modification to be included:
Step S11, chooses wide area information server configuration parameter, institute in the second property file according to the second Property Name State the second Property Name and be divided into two parts, Part I is database configuration parameters name, and Part II is data base's code name;
When needing to use multiple database in test, simple for configuring data control, write using second property file Multiple wide area information server configuration parameters, in the present embodiment the database configuration parameters of multiple data bases use title As separator
Step S12, according to the database configuration parameters, carries out data base using the test case to the data base Operation.
Specifically, in the present embodiment, the title of the database configuration parameters is all divided into two parts using special symbol Number separate, front portion is number database configuration parameters names, rear portion is data base's code name, such as " url.mydb=jdbc: mysql://xxxxx:3306/default ", is that " url " parameter for the data base that code name is " mydb " is " jdbc:mysql:// xxxxx:3306/default”.When the code name of a data base is " mydb ", only loading title latter half is " mydb " Database configuration parameters.The test case can use title latter half for all database configuration parameter pair of " mydb " First data base conducts interviews.By configuring using a configuration file to multiple data bases, test is simplified The maintenance difficulties of personnel, improve testing efficiency.
Further, with reference to Fig. 5, based on invention software method of testing first embodiment, in invention software test side In the 5th embodiment of method, whether the result for checking the data modification on Servers-all meets the first preset requirement bag Include:
Step S41, obtains the data after all database updates, and makes the Data Serialization after the database update;
Data after the Data Serialization are checked by step S42, judge whether to meet the preset requirement.
In order that the return value from data base is easy to use, serializing operation has all been carried out to the return value.Tool Body ground, employs JSON serializing operations so that the operation that tester can operate JSON the same is from data in the present embodiment The data that storehouse is fetched.It is to be compared using default JSON data and the amended data in the present embodiment, In order to judge to test whether to pass through.By serializing to the amended data on database server so that tester Member easily can be operated to the amended data, improve testing efficiency.
The present invention provides a kind of software testing system, with reference to Fig. 6, in invention software test system first embodiment, The software testing system includes:
Module 10 is transferred, for calling node of the test case to distributed application program coordination service ZooKeeper A server carry out data modification;
Described can be data base to a server, and the data modification is the increasing carried out by the data base, deletes, and changes behaviour Make.It should be noted that the server is file server in some embodiments, described be revised as new to the server Build, delete, change file.
Configuration module 20, joins for choosing the configuration of ZooKeeper according to the first Property Name in the first property file Number, first Property Name are divided into two parts, and Part I is Connecting quantity name, and Part II is group another name;
First property file is properties files, and content is that structure is " attribute-name=property value ", the category Property title be that front portion is divided into the Connecting quantity name of configuration using special two parts for meeting segmentation, latter half is the configuration Group another name.For example same Connecting quantity name " timeout " has multiple in configuration file, and timeout is related to timeout's Have:" timeout.default ", " timeout.other1 ".
Synchronization module 30, for the section according to the synchronous result to ZooKeeper of the data modification of the configuration parameter Other servers on point;
First checks module 40, pre- for checking whether the result of the data modification on Servers-all meets first If requiring.
The server is carried out after data modification by transferring 10 test case of module, then selected using ZooKeeper Take configuration file to synchronize other servers, then judge whether the modification is successful by carrying out checking to Servers-all To judge to test whether successfully.
Specifically, in the present embodiment:Transferring module 10 calls test case to carry out increased one in the first data base Record.If specify ZooKeeper loadings is default parameterss, configuration parameter name is found in first property file.Then Configuration module 20 finds the parameter name that configuration parameter is ended up with " default " in first property file according to default behavior Claim, such as, when " hosts " parameter is looked for, attribute entitled " hosts.default " can be found in first property file Value, after configuration completes ZooKeeper, synchronization module 30 carries out data according to configuration file to other data bases in configuration parameter Synchronous, after synchronously completing, the first inspection module 40 captures the data of all data bases and preset value is judged, checks that test is No success, if default requirement described in the data fit for grabbing, test passes through.If test environment changes ZooKeeper needs to be replaced with other configurations, for example, be replaced with the configuration of entitled other1, then only need to specify loading described the The configuration parameter ended up with other1 in one property file, such as then searching attribute entitled when loading " hosts " parameter The parameter of " hosts.other1 ".Corresponding connection is chosen according to Property Name in same the first property file that specifies to match somebody with somebody Put so that tester only need to carry out in first property file thus ZooKeeper connection configuration modification and match somebody with somebody Put, reduce maintenance difficulties, improve testing efficiency.
Further, with reference to Fig. 7, based on invention software test system first embodiment, in invention software test system In system second embodiment, the software testing system also includes:
Sending module 50, for by message queue send with regard to the data modification message to related system;
Second checks module 60, for obtaining the text of the message from the related system, and checks the message Whether text is identical with presetting message text.
In order to preferably monitor test process, the modification message is sent to related system by message queue, the phase Relation system email address in the present embodiment for specifying.It should be noted that described for automatically processing in some embodiments The api interface of message.
Specifically, in the present embodiment, in the ZooKeeper, synchronously every other data base is added a data Afterwards, sending module 50 " increases a record, specially using text template:", creating one " increases a record, specifically For:Add a purchaser record to the first data control." information, and using JavaMail in the form of mail to specified postal Case sends, and is sent to special email accounts are tested in the present embodiment, and the second inspection module 60 is checked according to the text Whether the information that the content of the default text of this template establishment is sent with the sending module 50.It should be noted that In some embodiments, the mode during message of the use template establishment using http request is sent to specified api interface. By message queue send with regard to the data modification message to related system so that tester can not only for survey Test result judged, step that can be interested in test process using message queue in the form of extract, go forward side by side Judged to one step, increased the reliability of test.
Further, with reference to Fig. 8, based on invention software test system first embodiment, in invention software test system In system 3rd embodiment, the software testing system also includes:
Preserving module 70, for preserving the information of the data modification to corresponding caching;
3rd checks module 80, for obtaining caching, and checks the content of the caching whether content with preset buffer memory Identical.
Described transfer the server of module 10 pairs and carry out data modification when, the data of the modification are delayed Deposit, preserving module 70 caches the newly-increased record in the present embodiment, the 3rd inspection module 80 pairs caching is extracted, Check that whether the caching contains the newly-increased record, the newly-increased record is cached with and content is consistent if described, Then meet the 3rd preset requirement, test passes through.
Further, with reference to Fig. 9, based on invention software test system first embodiment, in invention software test system In system fourth embodiment, the module 10 of transferring includes:
Dispensing unit 11, for choosing wide area information server configuration ginseng according to Property Name in the second property file Number, point two parts of the Property Name in second property file, Part I is database configuration parameters name, and Part II is Data base's code name;
When needing to use multiple database in test, simple for configuring data control, write using second property file Multiple wide area information server configuration parameters, in the present embodiment the database configuration parameters of multiple data bases use title As separator
Database Unit 12, according to the database configuration parameters, is carried out to the data base using the test case Database manipulation.
Specifically, in the present embodiment, the title of the database configuration parameters is all divided into two parts using special symbol Number separate, front portion is number database configuration parameters names, rear portion is data base's code name, such as " url.mydb=jdbc: mysql://xxxxx:3306/default ", is that " url " parameter for the data base that code name is " mydb " is " jdbc:mysql:// xxxxx:3306/default”.When the code name of a data base is " mydb ", 11 loading titles of dispensing unit are latter half of It is divided into the database configuration parameters of " mydb ".Database Unit 12 calls the test case using title latter half to be The all database configuration parameter of " mydb " conducts interviews to first data base.By using one to multiple data bases Individual configuration file simplifies the maintenance difficulties of tester, improves testing efficiency configuring.
Further, with reference to Figure 10, based on invention software test system first embodiment, in invention software test system Unite in the 5th embodiment, the first inspection module 40 includes:
Acquiring unit 41, for obtaining the data after all database updates, and makes the data after the database update Serializing;
Judging unit 42, for checking the data after the Data Serialization, judges whether to meet described presetting Require.
In order that the return value from data base is easy to use, serializing operation has all been carried out to the return value.Tool Body, acquiring unit 41 employs JSON serializing operations in the present embodiment so that tester can operate JSON the same The data that operation is fetched from data base.Judging unit 42 is using default JSON data and described to repair in the present embodiment Data after changing are compared, in order to judge to test whether to pass through.By entering to the amended data on database server Row serializing so that tester easily can be operated to the amended data, improve testing efficiency.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method for testing software, it is characterised in that the method for testing software is comprised the following steps:
Call test case to carry out data to the server on the node of distributed application program coordination service ZooKeeper to repair Change;
The configuration parameter of ZooKeeper is chosen according to Property Name in the first property file, in first property file Property Name point two parts, Part I are Connecting quantity name, and Part II is group another name;
According to other servers on the configuration parameter synchronously node of the result to ZooKeeper of the data modification;
Check whether the result of the data modification on Servers-all meets the first preset requirement.
2. method for testing software as claimed in claim 1, it is characterised in that described according to the configuration parameter is synchronous After other servers on the node of the result of data modification to ZooKeeper, also include:
By message queue send with regard to the data modification message to related system;
From the text that the related system obtains the message, and check the text of the message whether with presetting message text phase With.
3. method for testing software as claimed in claim 1, it is characterised in that described according to the configuration parameter is synchronous After other servers on the node of the result of data modification to ZooKeeper, also include:
The information of the data modification is preserved to corresponding caching;
Caching is obtained, and checks whether the content of the caching is identical with the content of preset buffer memory.
4. the method for testing software as described in any one of claims 1 to 3, it is characterised in that called test case is to distribution A server on the node of formula application program coordination service ZooKeeper carries out data modification to be included:
Wide area information server configuration parameter, second attribute-name are chosen in the second property file according to the second Property Name Claim to be divided into two parts, Part I is database configuration parameters name, and Part II is data base's code name;
According to the database configuration parameters, database manipulation is carried out to the data base using the test case.
5. method for testing software as claimed in claim 4, it is characterised in that the data are repaiied on the inspection Servers-all Whether the result for changing meets the first preset requirement includes:
The data after all database updates are obtained, and makes the Data Serialization after the database update;
Data after the Data Serialization are checked, judges whether to meet the preset requirement.
6. a kind of software testing system, it is characterised in that the software testing system includes:
Module is transferred, for calling the clothes on node of the test case to distributed application program coordination service ZooKeeper Business device carries out data modification;
Configuration module, for choosing the configuration parameter of ZooKeeper according to the first Property Name in the first property file, described First Property Name is divided into two parts, and Part I is Connecting quantity name, and Part II is group another name;
Synchronization module, for according on the configuration parameter synchronously node of the result to ZooKeeper of the data modification Other servers;
First checks module, for check the result of the data modification on Servers-all whether meet first default will Ask.
7. software testing system as claimed in claim 6, it is characterised in that the software testing system also includes:
Sending module, for by message queue send with regard to the data modification message to related system;
Second checks module, for obtaining the text of the message from the related system, and checks that the text of the message is No identical with presetting message text.
8. software testing system as claimed in claim 7, it is characterised in that the software testing system also includes:
Preserving module, for preserving the information of the data modification to corresponding caching;
3rd checks module, for obtaining caching, and checks whether the content of the caching is identical with the content of preset buffer memory.
9. the software testing system as described in any one of claim 6 to 8, it is characterised in that the module of transferring includes:
Dispensing unit, for choosing wide area information server configuration parameter in the second property file according to Property Name, described Property Name in second property file point two parts, Part I is database configuration parameters name, and Part II is data base Code name;
Database Unit, for according to the database configuration parameters, entering line number using the test case to the data base Operate according to storehouse.
10. software testing system as claimed in claim 9, it is characterised in that the first inspection module includes:
Acquiring unit, for obtaining the data after all database updates, and makes the Data Serialization after the database update;
Judging unit, for checking the data after the Data Serialization, judges whether to meet the preset requirement.
CN201611108087.XA 2016-12-05 2016-12-05 Method for testing software and system Pending CN106502915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611108087.XA CN106502915A (en) 2016-12-05 2016-12-05 Method for testing software and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611108087.XA CN106502915A (en) 2016-12-05 2016-12-05 Method for testing software and system

Publications (1)

Publication Number Publication Date
CN106502915A true CN106502915A (en) 2017-03-15

Family

ID=58330411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611108087.XA Pending CN106502915A (en) 2016-12-05 2016-12-05 Method for testing software and system

Country Status (1)

Country Link
CN (1) CN106502915A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984417A (en) * 2018-08-15 2018-12-11 北京达佳互联信息技术有限公司 Method for testing software, device, terminal and storage medium
CN109885495A (en) * 2019-02-20 2019-06-14 重庆邮电大学 The group's test method and system of a kind of pair of decentralization system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092718A (en) * 2013-12-12 2014-10-08 腾讯数码(天津)有限公司 Distributed system and configuration information updating method in distributed system
CN104142833A (en) * 2013-05-06 2014-11-12 沈阳中科博微自动化技术有限公司 Equipment dynamic management method for package test production line
US20140337674A1 (en) * 2013-05-10 2014-11-13 Nec Laboratories America, Inc. Network Testing
CN104461927A (en) * 2014-12-11 2015-03-25 上海斐讯数据通信技术有限公司 Electronic device and electronic device configuration information storage and reading method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142833A (en) * 2013-05-06 2014-11-12 沈阳中科博微自动化技术有限公司 Equipment dynamic management method for package test production line
US20140337674A1 (en) * 2013-05-10 2014-11-13 Nec Laboratories America, Inc. Network Testing
CN104092718A (en) * 2013-12-12 2014-10-08 腾讯数码(天津)有限公司 Distributed system and configuration information updating method in distributed system
CN104461927A (en) * 2014-12-11 2015-03-25 上海斐讯数据通信技术有限公司 Electronic device and electronic device configuration information storage and reading method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XFJLZC: "利用Zookeeper技术-Mysql数据库容灾切换", 《百度文库:HTTPS://WENKU.BAIDU.COM/VIEW/7AE2B9BEC5DA50E2534D7F51.HTML》 *
王敏 等: "基于QTP的数据库系统测试框架", 《计算机与数字工程》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984417A (en) * 2018-08-15 2018-12-11 北京达佳互联信息技术有限公司 Method for testing software, device, terminal and storage medium
CN108984417B (en) * 2018-08-15 2022-06-03 北京达佳互联信息技术有限公司 Software testing method, device, terminal and storage medium
CN109885495A (en) * 2019-02-20 2019-06-14 重庆邮电大学 The group's test method and system of a kind of pair of decentralization system

Similar Documents

Publication Publication Date Title
CN104750469B (en) Source code statistical analysis technique and system
CN106210151A (en) A kind of zedis distributed caching and server cluster monitoring method
CN106897207A (en) Ui testing method and apparatus
CN105723335A (en) Data flow exploration
CN100568808C (en) Method and apparatus to a plurality of webserver parallel work-flows
CN109039870A (en) E-mail sending method, system, computer equipment and storage medium
CN102323873B (en) In order to trigger the method and system that icon is replied in instant messaging
CN107015908A (en) A kind of computer application software test system and method
CN103678446B (en) Improved mode map based on Data View and database table
US20110219083A1 (en) Email auto-filing and management
CN105930502B (en) System, client and method for collecting data
CN107784068A (en) Acquisition methods, device, storage medium, processor and the service end of data variation
CN108269120A (en) Advertisement pattern metadata configurations method and device
CN111444077A (en) Method and device for generating flow node test data
CN106502915A (en) Method for testing software and system
CN105635257A (en) Method and system for automatically detecting data update
CN106294345A (en) The treating method and apparatus of the log content of application program
CN108234277A (en) A kind of mail transmission, the method and device of editor
US10621630B2 (en) Method and system for obtaining interactive user feedback in real-time
CN107666431B (en) Bookmark communication message acquisition method and device
CN111382051B (en) API automatic test method and test device
CN111682999A (en) 5G message management platform and method
CN106126743A (en) The generation method and system of the configuration page
EP3958200A1 (en) Communication program, communication apparatus and communication method
CN1410917A (en) Circuit principle graph automatic checking method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171204

Address after: 510000 Guangzhou City, Guangzhou, Guangdong, Fangcun Avenue, one of the 314 self compiled

Applicant after: Guangzhou Pinwei Software Co., Ltd.

Address before: Liwan District Fangcun Huahai street Guangzhou city Guangdong province 510000 No. 20 self 1-5 building (only for office use)

Applicant before: Guangzhou VIPSHOP Information and Technology Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication