Introduction to Website Testing technology

Source: Internet
Author: User
Author: Ding Laiqing

1 overview
In a software project development, system testing is an important part to guarantee the quality of the whole project, this article will make a brief introduction to the test technology of the website and the corresponding automatic test tool. Mainly on the following several aspects of the discussion:
Functional Testing
Performance test
Security testing
Stability Test
Browser compatibility test
Usability/Ease of use testing
Link test
Code legitimacy Test
2 Test Content
2.1 Functional Testing
In practical work, functionality in each system has its own uncertainties, and we can not use the exhaustive method of testing, resulting in functional testing is more difficult, we are based on the 80/20 principle (that is, 80% of the error exists in the system of 20% parts) for test case design using the following two ways
2.1.1 White box test
White-Box testing is the use of program-designed control structures to export test cases. Based on the current situation, we use the basic path test method for White box testing, this method is simple and efficient. A brief description of the basic path test method is as follows:
¨ first to export the data flow diagram through the system design flowchart
¨ calculates its ring complexity based on data flow diagram
V (G) =e-n+2
or V (G) =p+1
V (G): circular Responsible
E: Number of edges in the flow diagram
N: Number of nodes in the flow diagram
P: Number of decision nodes in flow graph
¨ we set the V (G) path
¨ We design the simulation data for the V (G) path
¨ the corresponding test according to the data
2.1.2 Black Box test
Black-Box testing is derived from the implementation of all functional requirements of the input conditions, so as to export test cases, testing methods, black box test for auxiliary white box test.
We use the method of equivalence partitioning to test, that is, the input field of the program is divided into data classes, so as to export test cases. Generally, the input condition is: a specific value, a numeric field, a set of related values, or a Boolean condition.
2.1.3 Website Function test
For Web site testing, each independent function module needs a separate test case design export, mainly based on the "Requirements analysis", for application modules need designers to provide basic path testing test Cases
Opensta (Open System testing architecture) can be used for automated testing with test cases
2.2 Performance Test
The performance test of the website is very important to the operation of the website, but the performance test of the website is not enough at present, we do not have a good benchmark in the system design, so it is very important to set up a complete test plan of the performance test of the website.
The performance test of the website is mainly from two aspects: Load test (loading) and stress test (Stress), load test refers to carry on some boundary data test, the stress test is more like the malicious test, the stress test tendency should be to cause the whole system to collapse.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.