Web test method [2]


1.5 Database Test

Zai Web application technologies, play an important Zuoyong database, database system for management of Web applications, operation, query, and implement user requests for such data Cunchu Tigongkongjian. In Web applications, the most common type of database is a relational database, you can use SQL to process the information.

Using a database of Web application system, under normal circumstances may occur two kinds of errors are data consistency error and output error. Data consistency error was mainly due to the user submits the form, caused by the incorrect information, and the output error was mainly due to network speed or program design issues such as caused, for both cases, can be tested separately.

Measures: No better test methods

Considerations into the 1.2 and 1.3 of the test

1.6 application-specific functional requirements

Most importantly, testers need to application-specific functional requirements for authentication. The user may try to carry out all operations: orders, change orders, cancel orders, check order status, changes in the delivery of goods before sending information, online payment and so on. This is the reason why the use of the site because the user must be sure that the site can be as wonderful as advertised.

Take measures to: a profound understanding of documentation requirements

1.7 Design of Language Testing

Web design language differences can cause the client or server side serious problems, such as the use which version of HTML and so on. When developed in a distributed environment, the developer is not together, this issue is particularly important. In addition to HTML version of the problem, various scripting languages such as Java, avascript, ActiveX, VBScript or Perl, also have to verify.

No method of testing, you can refer to a little more updated information within the discussion group

2 Performance Test

2.1 Connection speed test

Users connect to Web applications according to the speed of the Internet and change the way that they may be dial-up or broadband Internet access. When downloading a program, the user can wait longer, but if the only access to a page would not. If the Web system response time is too long (eg more than 5 seconds), the user will not have the patience to wait for leaving.

In addition, there are some pages out of the restrictions, if the response is too slow, the user may not have time browsing the content, you need to re-landed. Moreover, the connection is too slow may cause data loss, so that users are not the real page.

Load Testing 2.2

Web load test is to measure the system performance of a given load level, to ensure that within the requirements of Web systems work properly. Load level can also visit the Web system at some point the number of users, can also be a number of online data processing. For example: Web applications can allow the number of simultaneous users online? If more than this amount, what will the phenomenon? Web applications can handle a large number of users request the same page?

2.3 stress test

Load testing Web systems should be arranged to release later in the actual network environment for testing. As an enterprise within the staff, especially the project team is always limited, and a Web system can handle both the number of requests will be far beyond the limits, so only on the Internet, the acceptance load test, the result is correct credible.

Stress testing is the actual destruction of a Web application, testing the system to reflect. Stress testing is to test the system constraints and fault recovery, that is, Web application testing system will not collapse, in what circumstances would collapse. Hackers often the wrong data load until the Web application system crash, then when the system restarts get access.

Pressure testing area includes forms, landing pages, and other information transmission.

Load / stress testing should be concerned about what

Tests need to verify that the system can respond at the same time a large number of users, the users can send large amounts of data when the response, the system can run a long time. Accessibility to users is extremely important. If the user get "system busy" message, they may give up and turn to competitors. System can detect not only the normal user to access the site, in many cases, there may be a lot of hacker attempts to send packets to attack the server. For security reasons, the tester should be aware of when the system is overloaded, what measures are needed, rather than simply to enhance system performance.

Instant access to the peak

If your site used to publish lottery draw results, the best the system after the announcement of the winning numbers in the period of time to respond to millions of requests. Load testing tools can simulate X users also access the test site.

Transmission of large amounts of data for each user

Most users online bookstore 1-5 may only order the book, but the university bookstores may order five thousand books about psychology introduced? Or a grandmother of 50 grandchildren for her Christmas gifts (of course, each child has their own e-mail address) system can handle a large number of individual users data?

The use of long

If the site used for processing orders for flowers, then at least want it to her mother the week before the holiday can continue to run. If the site provides web-based email service, then the point is best to continue to run months or even years. May need to use automated testing tools to complete this type of test, because it is difficult to complete these tests by hand. You can imagine the organization of 100 individuals also click on a site. But at the same organization it 100,000 individuals. Typically, the test tools used in the second time, it creates the benefit, enough to cover the cost. Moreover, the test tools installation is complete, re-used time, as long as a few clicks.

Measures: use of test tools WAS, ACT test help