tailieunhanh - Java Testing and Design- P2
Java Testing and Design- P2: The ultimate test of every software construction effort is the user’s success using the product to accomplish some practical goal. No matter how much state-of-the-art technology goes into the software, success can only be judged through the lens of the user. | Testing Methods 29 I t Internet Browser Figure 1-7 Components of a Web-enabled application. functions properly from end-to-end. Figure 1-7 shows the components found in a production Web-enabled application data center. Functional system tests check the entire application from the client which is depicted in Figure 1-7 as a Web browser but could be any application that speaks an open protocol over a network connection to the database and everything in between. Web-enabled application frameworks deploy Web browser software TCP IP networking routers bridges and switches load-balancing routers Web servers Web-enabled application software modules and a database. Additional systems may be deployed to provide directory service media servers to stream audio and video and messaging services for email. A common mistake of test professionals is to believe that they are conducting system tests while they are actually testing a single component of the system. For example checking that the Web server returns a page is not a system test if the page contains only a static HTML page. Instead such a test checks the Web server only not all the components of the system. 30 Chapter 1 The Forces at Work Affecting Your Web-Enabled Software Scalability and Performance Testing Scalability and performance testing is the way to understand how the system will handle the load caused by many concurrent users. In a Web environment concurrent use is measured as simply the number of users making requests at the same time. One of the central points of this book is that the work to perform a functional system test can and should be leveraged to conduct a scalability and performance test. The test tool you choose should be able to take the functional system test and run it multiple times and concurrently to put load on the server. This approach means the server will see load from the tests that is closer to the real production environment than ever before. Quality of Service Testing Understanding the
đang nạp các trang xem trước