Performance Test Indicators: 1, SQL Database: User 0 Connections (Number of User Connections, Number of Database); Number of Deadlocks / Sec / -TOTAL (Database Death Lock) Memory / Availalle MByte Memory Monitor (Available Memory) PhysicsDisk / Disk Time / -Total (Total Time of Disk Read Write "When the bottleneck is used to check the length of time or the time of writing disk. Web Server: Processor / Processon Time / Tatol CPU Time Memory / Availalle MByteavai Application Server The memory requost quened to the HTTP queue; queue / per second TOTAL Request Total Time AVG RPS Average A average number of responses per second = total request time / S number AVG TIME to LAST BYTE PER TERSTES Average the number of iterations per second; the last page to the next page is the execution of a process you enter the angle. HTTP error invalid request number Send Send the number 3, WebLoad pressure parameters: load size (pressure scale) Round Time ROUNDS (request number) Successful Rounds Failed Rounds Rounds Per Seconds (Number of requests per second) Refers to the number of tasks you entered into the corner in a second, similar to the AVG Time to Last Byte Per Terstion (Mstes)) Successful Rounds Per Second (number of requests per second) Failed Rounds Per Second (fail request ) Page Time Page Response Time Pages Pages Per Second Second page response number) Hit Time Hits (Clicks, can also be the number of requests, but there are some different) Successful Hits (number of clicks) Failed Hits Hits PER Second (number of clicks) Hits Per Second Clicks Successful Hits Per Second (Clicked Clicks per second) Failed Hits Per Second (Number of Clicks per second) Attempted Connections (Number of Successful Connections) Failed Connections (Failed Connection) Connect Time
Connection time) Process Time (system execution time, generally used to display the computation of the CPU) Receive Time Send Time (request time) time to first byte () THROUGHPUT (bytes pertes Per " SECOND) () Response Time Response Data Size () Responses ()
Posted @ 2004-07-08 08:47 Netbee Reading (96) | Comments (2) | Edit Collection
July 07, 2004
Project Web Access Login page
LGNPS.ASP
http: // xxx: xx / projectserver / lgnps.asp? defpage = / projectserver / admin / admin.asp
Posted @ 2004-07-07 16:34 Netbee Reading (106) | Comments (3) | Edit Collection
14 types of software testing
Software testing refers to the process of running or determining a software product system using manual or automatic means, its purpose is to test whether to meet the specified needs or find out the difference between the expected results and the actual results. This article mainly describes the type of software test.
1 Data and database integrity test
The full test of data and database refers to the principles of test relationship database integrity and data rationality test. The database integrity is originally: principal code integrity: The main code cannot be empty; the external code integrity: the outer code must be equal to the corresponding principal code or empty. Data rationality Index is reasonable to be built in the type, length, index, etc. in the database. In the project name, the database and database processes should be tested as a subsystem. When testing these subsystems, the user interface of the test object should not be used as the interface of the data. For the Database Management System (DBMS), in-depth research is required to determine tools and techniques that can be tested.
For example, there are two tables: department and employee. There are department numbers, department names, departmental managers, etc. in the department. The department name, corresponding department table. If the department number or employee record employee numbers is empty in a certain department, he violates the principle of hue integrity. If the number of the department's department belongs to ##, but ## is not found in the department number, which violates the principle of the integrity of the outer code. The employee type is defined below: 0: Workers, 1: Staff, 2: Intern. But the data type is int, we all know that Int has 4 bytes, and if it is defined as char (1). It is more space than the original.
2 white box test
White box test is based on code-based testing, testers judge the quality of software through reading program code or by using single-step debugging in the development tool, general black box test is implemented by project managers in programmer development. White box test is divided into dynamic white box testing and static white box test 2.1 static white box testing uses the eyes, browsing the code, with experience, finding the code in the code, does not meet the writing specification in the code. For example, the code specification is specified that the function must be a powered structure. The black box test discovers that a function is defined as follows: function nameget () {....} This is an error that does not meet the development specification. There is such a code: if (i <0) & (i> = 0) ... this code intersection is the entire number, the IF statement does not have the necessary i = 0; while (i> 100) {j = j 100; t = J * pi;} There is no increase in the cycle, BUG is generated. 2.2 Dynamic White Box Test Tests in the development tool. For example, a piece of code has 4 branches, entering 4 sets of different test data to make 4 group branches can go through and the results must be correct. See a paragraph IF (i <0) {p1} else {P2} Enter i = -1 in debugging, P1 block pass, P2 block is not passed, belonging to the defect of dynamic black box test
3. Functional test
Functional test refers to whether the test software is correct, and the logic is correct. The functional test of the test object should be focused on all test requirements that can be directly tracked to the use case or business function and business rules. The goal of this test is to verify the acceptance, processing, and retrieval of the data, and whether the implementation of the business rules is appropriate. Such tests are based on black box technology, which interacts through the graphical user interface (GUI) and analyzes the output or results of the interaction to verify the application and its internal processes. The main reference for function test is a document similar to the functional manual. For example, an e-commerce system, front desk users browse goods - put in a shopping cart - enter the checklink, the background processing orders, distribution, payment, delivery, this series of processes must be correct and no error.
4.UI test
The UI test refers to whether the style of the test user interface meets the customer requirements, whether the text is correct, the page is beautiful, whether the text, the portfolio is perfect, the background is beautiful, the operation is friendly, the user interface (UI) test is used to verify users and software Interaction between. The UI test is the target to ensure that the user interface will provide the user with the corresponding access or browsing feature to the user's functionality. In addition, the UI test also ensures that the objects in the UI operate in the expected manner and meet the standards of the company or industry. Including user friendliness, humanity, and operability testing. The UI test is subjective, with the preferences of the tester, such as: page tone color glare; user login page is more difficult to find, the error word in the text, the page picture range is too wide, etc., the defects in the UI test, but these defects are not serious.
5. Performance Test
Performance test main test software testing performance, including load testing, intensity testing, database capacity testing, reference testing, and reference test 5.1 Load test load testing is a performance test index operation in a super-load environment, whether the program can be borne. In this test, the test object will assume different efforts to evaluate and evaluate the performance behavior of test objects under different efforts, and the ability to continuously run. The goal of the load test is to determine and ensure that the system can operate normally in the event of a maximum expected work. In addition, the load test also evaluates performance features, such as response time, transaction rate, and other aspects of time. For example, in the B / S structure, the user is a user belonging to the load test. You can use the WebLoad tool, simulate hundreds of customers at the same time, and how to see the system response time, how is the processing speed? 5.2 Strength Test Interaction Test is a performance test, and he is operating in software system in the case of particularly low system resources. Such tests often write software and hardware level requirements for system requirements. The purpose of implementing and implementing such tests is to identify errors caused by insufficient resources or resource contention. If the memory or disk space is insufficient, the test object may exhibit some defects that are not obvious under normal conditions. Other defects may be caused by a contention shared resource (such as database lock or network bandwidth). The intensity test can also be used to determine the maximum amount of work that the test object can process. For example: a system can run normally under memory 366m, but it is not possible to run until 258M, telling memory insufficient, this system is 366m. 5.3 Database Capacity Test Database Capacity Test Indescate into a certain number of data into the database table by stored procedures to see if the relevant page can display data in time. The database capacity test causes a large amount of data to determine if the limit will be failed to determine. Capacity test also determines the maximum load or workload that the test object can continue to process within a given time. For example, if the test object processes a set of database records for generating a report, the capacity test uses a large test database to verify that the software runs normally and generates the correct report. Doing this test usually inserts a certain number of records into a table in a table, calculates the call time of the relevant page by writing a stored procedure. For example, in an e-commerce system, insert 10 000 data into the USER table by INSERT CUSTOMER, see if it can normalize the customer information list page, if up to 100,000 customers can be processed, but the customer information list page cannot be It is displayed in the specified time to adjust the SQL query statement in the program; if it is displayed in the specified time, the number of users can be improved to 20 000, 50 000, 100 000, respectively. 5.4 Benchmark Benchmarks Compared to known existing systems, the main test is a test with similar products. If you want to develop a financial system software and you have obtained the performance of the user's financial system, you can test your system, see which places are better than the user's financial system, what is the difference? In order to improve your own system, you can also provide data for product ads. 5.5 Competitive Test Software Competition Use Various Resources (Data Records, Memory, etc.) to see his ability to compete with other relevant systems. For example: install your financial system on a machine, but also install user financial system. When the CPU share is lowered, look at whether it is possible to force the user's financial system, but its own system can run normally? 6. Security and Access Control Test
Safety and access control test focuses on two key aspects of security: application level security, including access system level security for data or service functions, including login or remote access to the system. 6.1 The security of the application level ensures that: In the case of expected security, only the protagonists can only access specific features or use cases, or only limited data can be accessed. For example, everyone may allow all people to enter data, create a new account, but only administrators can delete these data or accounts. If you have a data level security, you can ensure that "User Types" can see all customer messages (including financial data), and "user two" can only see the statistics of the same customer. For example, the B / S system, do not pass the URL directly, see if it can enter the system? 6.2 System level security ensures that only users with system access can access the application, and can only be accessed by the corresponding gateway. For example, if you enter an administrator account, check if your password is easy to guess, or can you get from the database? 7. Failover and recovery test
Fault Transfer and Recovery Test refers to whether the backup machine can start normally when the host software is disaster, causing the system to run normally, which is important for the software in telecommunications, banks. Failover and recovery tests ensure that the test object can successfully complete the failover and can recover from various hardware, software, or network failures that cause accidental data loss or data integrity. Failover tests ensure that systems that must continue to run, once a fault occurs, the standby system will not miss the time "top replacement" to avoid loss of any data or transactions. The recovery test is a confrontational test process. In this test, the application or system will be placed under extreme conditions (or under analog extreme conditions) to generate a fault (such as device input / output (I / O) fault or invalid database pointer and gate Jianyi). Then call the recovery process and monitor and check the application and system, verifying applications or systems and data have been properly recovered. Be sure to pay attention to the backup of the primary alternate, such as a telecommunications system, sudden host program crash, whether the backup machine can start, so that the system can run normally, so that the user does not affect the phone?
8. Configure test
Also called compatibility testing. Configuring the test verification test objects in different software and hardware configurations. In most production environments, the specific hardware specifications of the client workstation, network connection, and database servers will vary. The client workstation may install different software such as applications, drivers, etc., and you may run many different software portfolios at any time, thereby occupying different resources. (Such as browser version, operating system version, etc.) Listening to the main configuration test 8.1 Browser Compatibility Test Software Do you have correctly displayed and running under different organizers; such as testing IE, if you can run under Natscape browser This set of software? 8.2 Operating System Compatibility Test Software Correctly displayed and running under different operating systems; such as testing Windows98, Windows 2000, Windows XP, Linu, Can I run this software? 8.3 Hardware compatibility testing and hardware closely related software products compatibility with other hardware products, such as this software is less in parallel equipment, testing at the same time using other parallel equipment, whether the system can be used correctly. For example in Inter, Shulong Can the system run normal under the CPU chip? Such tests must establish a test laboratory to test in various environments.
9. Installation test
There are two purposes for installation tests. The first purpose is to ensure that the software is installed under different conditions of normal conditions and abnormal conditions: for example, the first installation, upgrade, complete, or custom installation _ can be installed. Abnormal conditions include insufficient disk space, lack of directory creation permissions, etc. The second purpose is to verify that the software can run immediately after installation. This is usually referred to in the operation of a large number of tests developed. Installation tests include test installation code and installation manual. The installation manual provides how to install, and the installation code provides basic data to install some programs to run. 10. Multilingual species test
Also known as the localization test, refers to the test of various local development products, such as English, Chinese, etc. A Language Environment Run B Language Software (such as a program that runs the Chinese version under English Win98), and the phenomenon is normal. Localization test also considers: l When the language is translated from A to B, the character length changes affect the page effect. For example, there is a button called "View Advertising" in English, translated into English, and "View Advertisement" may affect the pages. The beautiful level of the page is to consider the same words in various countries, such as Football in English, and Americans may understand American football in use. l The national habits of each country, such as the symbol of understanding evil in the United States, but translated into China, Chinese people think it is a symbol of auspicious.
11. Text Test
Whether the text test is spelled correctly, whether it is easy to understand, there is no secondary meaning, no grammatic error; whether the text and content have access, including picture text. For example: "For example, please enter the correct document number!" What is the correct document number, the document can be a ID card, a driver's license, or an officer's card, if it is changed, please enter the correct ID number! " It is easy to understand.
12. Resolution test
Testing under different resolutions, the appearance of the interface is divided into 800 * 600, 1024 * 768, 1152 * 864, 1280 * 768, 1280 * 1024, 1200 * 1600 size fonts under the font. A good software must have an excellent resolution, and can be run at other resolutions.
13 release test
Mainly in the product release, for some attached products, such as the book, advertising documents, etc. 13.1 specification test is mainly language inspection, functional inspection, picture check language check: Check if the language is correct, whether the word is easy to understand; function check: function Whether to describe it, or describe the function, etc. , Easy to understand, whether it is humanized. It is best to provide retrieval function. 13.4 Advertising language products, advertising materials, functions, pictures, and humanized inspections
14 Document Audit Test Document Audit Test is currently increasingly attracting people's attention, software quality is not checked, but incorporates software development. The pre-software test is getting more and more attention. Please see a profile: Document audit test mainly includes demand document testing, design document testing, part of the pre-software test test. 14.1 Demand Document Test Whether there is logical contradiction in the main test demand and whether the demand can be implemented technology; 14.2 Design document testing test design meets all demands and is reasonable.
to sum up