CN102004688A - Boundary value testing method of Web application software - Google Patents

Boundary value testing method of Web application software Download PDF

Info

Publication number
CN102004688A
CN102004688A CN2009101947347A CN200910194734A CN102004688A CN 102004688 A CN102004688 A CN 102004688A CN 2009101947347 A CN2009101947347 A CN 2009101947347A CN 200910194734 A CN200910194734 A CN 200910194734A CN 102004688 A CN102004688 A CN 102004688A
Authority
CN
China
Prior art keywords
testing
boundary value
value
test
web application
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
CN2009101947347A
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.)
Sanda University
Original Assignee
Sanda University
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 Sanda University filed Critical Sanda University
Priority to CN2009101947347A priority Critical patent/CN102004688A/en
Publication of CN102004688A publication Critical patent/CN102004688A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a boundary value testing method of Web application software, comprising the following steps of: acquiring the range of the values of input conditions, and testing by taking the values of the input conditions as a boundary value of the range; acquiring the number of the values of the input conditions, and testing by using a largest number and a smallest number of data conditions and the data conditions with the quantity one larger than the largest number and one smaller than the smallest number; acquiring the range of the values of output conditions, and testing by taking the values of the output conditions as the boundary value of the range; and acquiring the number of the values of the output conditions, and testing by using a largest number and a smallest number of the data conditions and the data conditions with the quantity one larger than the largest number and one smaller than the smallest number. The boundary value testing method of the Web application software especially aims at the boundary value which is easiest to generate problems and is an efficient and accurate software testing method.

Description

The boundary value method of testing of Web application software
Technical field
The present invention relates to software testing technology, relate in particular to the boundary value method of testing of Web application software.
Background technology
Along with popularizing of Internet, computing machine and network technology growing, the website has been penetrated into every field as a kind of carrier of information, has obtained widespread use in service management, E-Government, ecommerce.Increasing company has taked online electronic system to replace traditional paper document form etc.No matter be that enterprise or personal user can not be subjected to the restriction of space, time,, just can carry out service management and information service by the internet.The appearance of network system both had been convenient to that the user is more convenient to understand information apace, and submission information has made things convenient for company management and grasp information again.At present, website application having become enterprise, government and the various mechanism based on the internet serves the important means of extending and improving service quality.Internet technology (Internet/Intranet) is widespread use in business and government inner management infosystem also, as the ERP of enterprise management system, the office automation system (OA) and miscellaneous service management system, provide the web station system service of enterprises.
Therefore, which type of system can satisfy requirements of different users, how can guarantee the quality of application system, and in order to satisfy such demand, the network application system test also just becomes very important.The network application system test is that a system is analyzed and quality testing.As ensureing website quality and the means and the instrument of improving service level, the application program of network is tested, thus reducing to of any system mistake, fault or potential safety hazard is minimum.
Software testing plan is a prerequisite of carrying out software test work.So before carrying out actual test, should formulate well, practicable test plan, and strict the execution will be determined Test Strategy and test target especially.
Traditional method of testing comprises:
1) Black-box Testing method (black-box testing)
Black-box Testing, also claim the test of functional test or data-driven, it is no matter which type of the program inner structure is, only from the user, the actual functional capability that should realize according to product and the product specification that has defined great kindness, verify product the function that should have whether realize whether each function can both normally be used, and whether satisfies user's requirement.
When test, program is regarded as the black box that can not open, under the situation that gives no thought to program inner structure and bulk properties, testing needle is tested routine interface and user interface, whether scrutiny program function is normally used according to the regulation of Specification, whether program can suitably receive the input data and produce correct output information, and keeps the integrality of external information (as database or file).
Black-box Testing is mainly used in the following situation of finding:
Figure B2009101947347D0000021
Whether function incorrect or that omitted is arranged.
Figure B2009101947347D0000022
On interface, can correctly accept to import data, normally output information.
Figure B2009101947347D0000023
Whether the visit external information is wrong.
Whether meet the demands on the performance.
Figure B2009101947347D0000025
Whether whether the interface mistake, not attractive in appearance.
Figure B2009101947347D0000026
Initialization and termination mistake.
The Black-box Testing method is mainly used in software validation testing.Its concrete grammar has equivalence class to divide, boundary value analysis, and mistake is inferred method, cause-and-effect diagram etc.
The Black-box Testing method is conceived to the program external structure, does not consider internal logic structure, tests at software interface and software function.When using Black-box Testing, must in all possible initial conditions and output condition, determine test data.
2) regression test (regression testing)
For guaranteeing that new variation (modification) can be to the influential test of carrying out of normal use of original function in the software.That is to say that the function of having met consumers' demand any problem should not occur.After software defect is modified, perhaps original function is carried out some adjustment and reinforcement, or on original version, increase in the new function, all can adopt the regression test method, particularly to the final stage of construction cycle.
3) recover test (recovery testing)
In system crash, hardware fault, perhaps the aptitude tests of recovery system and data take place afterwards again in other disasters.
4) safety test
Test macro is being dealt with unauthorized inside, external reference, systematic protection ability during wilful damage.
5) compatibility test (compatibility testing)
The software performance of test under special hardware/software/operating system/network environment.
6) performance test (performance testing)
Be also referred to as pressure test (stress testing), be used for the ruuning situation of check system under big loading condiction.Under improper huge load, some action and input are a large amount of to be repeated, the big number of input carries out very (as testing the situation of website under the different load situation) such as complicated query to database, to determine that when system response time descends or breaks down.
Summary of the invention
The present invention has disclosed a kind of boundary value method of testing of Web application software, comprising:
Obtain the scope of the value of initial conditions, the initial conditions value is tested for the boundary value of this scope;
Obtain the number of the value of initial conditions, use maximum number, minimum number, than maximum number Duo one, lack one quantity data condition than minimum number and test;
Obtain the scope of the value of output condition, the output condition value is tested for the boundary value of this scope;
Obtain the number of the value of output condition, use maximum number, minimum number, than maximum number Duo one, lack one quantity data condition than minimum number and test.
Wherein, initial conditions or output condition are that input domain or domain output are ordered set, and initial conditions or output condition are set to first and last element of this set.
The boundary value method of testing of Web application software of the present invention is a kind of method for testing software efficiently and accurately especially at the easiest boundary value that goes wrong.
Description of drawings
Fig. 1 has disclosed the process flow diagram according to the boundary value method of testing of Web application software of the present invention.
Embodiment
Facts have proved that program often makes a mistake under the processing border condition of input and output.Border condition refers to import equivalence class and the borderline situation of output equivalence class, checks that the test case of border condition is more efficiently, can find more mistake.The boundary value analysis method is exactly on the border of certain variable range, verifies the method for testing that independently I/O is whether correct.The boundary value analysis method depends on the type of range of variables and scope, confirms the boundary condition or the critical value of all inputs, selects these boundary condition/critical values and near value thereof to carry out the test of correlation function then.
The boundary value method of testing of Web application software of the present invention is based on above-mentioned boundary value analysis method, and with reference to shown in Figure 1, this boundary value method of testing comprises following step:
10. obtain the scope of the value of initial conditions, the initial conditions value is tested for the boundary value of this scope;
11. obtain the number of the value of initial conditions, use maximum number, minimum number, than maximum number Duo one, lack one quantity data condition than minimum number and test;
12. obtain the scope of the value of output condition, the output condition value tested for the boundary value of this scope;
13. obtain the number of the value of output condition, use maximum number, minimum number, than maximum number Duo one, lack one quantity data condition than minimum number and test.
Wherein, when initial conditions or output condition are input domain or domain output when being ordered set, initial conditions or output condition are set to first and last element of this set.
The boundary value method of testing of Web application software of the present invention is a kind of method for testing software efficiently and accurately especially at the easiest boundary value that goes wrong.

Claims (2)

1. the boundary value method of testing of a Web application software is characterized in that, comprising:
Obtain the scope of the value of initial conditions, the initial conditions value is tested for the boundary value of this scope;
Obtain the number of the value of initial conditions, use maximum number, minimum number, than maximum number Duo one, lack one quantity data condition than minimum number and test;
Obtain the scope of the value of output condition, the output condition value is tested for the boundary value of this scope;
Obtain the number of the value of output condition, use maximum number, minimum number, than maximum number Duo one, lack one quantity data condition than minimum number and test.
2. the boundary value method of testing of Web application software as claimed in claim 1 is characterized in that,
Initial conditions or output condition are that input domain or domain output are ordered set, and described initial conditions or output condition are set to first and last element of this set.
CN2009101947347A 2009-08-28 2009-08-28 Boundary value testing method of Web application software Pending CN102004688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101947347A CN102004688A (en) 2009-08-28 2009-08-28 Boundary value testing method of Web application software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101947347A CN102004688A (en) 2009-08-28 2009-08-28 Boundary value testing method of Web application software

Publications (1)

Publication Number Publication Date
CN102004688A true CN102004688A (en) 2011-04-06

Family

ID=43812065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101947347A Pending CN102004688A (en) 2009-08-28 2009-08-28 Boundary value testing method of Web application software

Country Status (1)

Country Link
CN (1) CN102004688A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786686A (en) * 2014-12-22 2016-07-20 阿里巴巴集团控股有限公司 Boundary value testing method and device
CN107992405A (en) * 2016-10-27 2018-05-04 中兴通讯股份有限公司 application software testing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786686A (en) * 2014-12-22 2016-07-20 阿里巴巴集团控股有限公司 Boundary value testing method and device
CN107992405A (en) * 2016-10-27 2018-05-04 中兴通讯股份有限公司 application software testing method and device

Similar Documents

Publication Publication Date Title
Hemmati et al. Prioritizing manual test cases in traditional and rapid release environments
US20090018811A1 (en) Generation of test cases for functional testing of applications
AU2012200742B2 (en) System and method for usage pattern analysis and simulation
Sneed et al. Wsdltest-a tool for testing web services
US8589736B2 (en) System and method for automatic test data generation for relational testing
CN104657274B (en) software interface test method and device
Kadry A new proposed technique to improve software regression testing cost
CN112052172B (en) Rapid test method and device for third-party channel and electronic equipment
Brown et al. Software testing
US8661414B2 (en) Method and system for testing an order management system
Rajal et al. A review on various techniques for regression testing and test case prioritization
US20180210819A1 (en) System and method of controlling a web browser plug-in for testing analytics
CN102004688A (en) Boundary value testing method of Web application software
CN111552641A (en) Method, device, equipment and storage medium for judging quality of software product
Dadwal et al. Prioritization in Automotive Software Testing: Systematic Literature Review.
CN101996133A (en) Interaction interface test system of Web application software
CN101833505B (en) Method for detecting security bugs of software system
Lochau et al. Model-based testing
Sneed et al. The design and use of WSDL‐Test: a tool for testing Web services
CN102004689A (en) Boundary value test method of Web application software
CN109374038B (en) Change test method of nuclear security level instrument control product based on application prototype
Saha et al. REPiR: an information retrieval based approach for regression test prioritization
CN101996134A (en) User module test system of Web application software
Liu Restcluster: Automated crash clustering for restful API
Imtiaz et al. Predicting vulnerability for requirements

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110406