Báo cáo Server side testing tips

54 627 1
Báo cáo Server side testing tips

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Introduction Common ServerSide Issues Connectivity Issues Resource Issues Backup and Restore Issues Failover Issues Multithreading Issues Server Side Testing Tips Using Log Files Using Monitoring Tools Creating Test Interfaces or Test Drivers The Testing Environment Using Scripts in ServerSide Testing

LOGO Server Side Testing ◊ GVHD: CH. Nguyễn Đăng Khoa ◊ Nhóm: 8 www.themegallery.com Nguyễn Văn Đồng 09520065 Company Logo Trần Thiện Khiêm 09520415 Võ Văn Phúc 09520427 Nguyễn Như Quỳnh 09520431 Thành viên nhóm www.themegallery.com Server-Side Testing  Introduction  Common Server-Side Issues  Connectivity Issues  Resource Issues  Backup and Restore Issues  Fail-over Issues  Multithreading Issues  Server Side Testing Tips  Using Log Files  Using Monitoring Tools  Creating Test Interfaces or Test Drivers  The Testing Environment  Using Scripts in Server-Side Testing www.themegallery.com Introduction  What is server?  Many software services and much processing in a Web application happen on the server-side rather than on the client-side.  Testing on the server-side is difficult to exercise fully via the UI. Company Logo www.themegallery.com Common Server-Side Testing Issues Connectivity Issues Company Logo  Time-Out Issues Maintaining State www.themegallery.com Time-Out Issues o Determine what is the longest possible time delay for the various server-side tasks. o Set up conditions and test the system against those scenarios. o If the application is not architected and implemented well, time-out conditions not only often lead to loss of connection. o For example : In the database systems. Company Logo www.themegallery.com Maintaining State o State is a relationship between the client and server wherein information supplied from previous transactions is available to the server. o Many applications use cookies, session IDs, or IP addresses, sometimes coupled with user logins, to establish an application state. o To test state-related problems, you need to understand where and how state information is stored in the application. Company Logo www.themegallery.com Maintaining State o Some state-related problems include:  Lost information  Stale data  “Duplicate” data  Wrong information being sent to a client  Lost clients  Data integrity o The configuration settings on the server-side will have an effect on the behavior of the application. Company Logo www.themegallery.com Resource Issues  A resource is anything that an application uses to properly execute given Instructions.  Ability to scalable. Company Logo www.themegallery.com Backup and Restore Issues  Backup and Restore data.  Special handling for the backup process to work  The installation guides and operating guides for instructions related to backup and restore process.  On systems using encryption.  In a system that is in continual (24/7) use. Company Logo [...]... www.themegallery.com available servers without losing any sessions? Company Logo  Upon failure, does the failed server restart and automatically resume processing without performance degradation?  When the primary server in the cluster is brought down under heavy load, does the fail-over process work as expected; and, ultimately, does the application recover to its fully functional state?  After a server in the... www.themegallery.com  Unit tests are concerned with smaller modules of code Company Logo Threading testing  A problem that appears on one system may not be reproducible in another environment www.themegallery.com  You can use log files to find problems Company Logo Threading testing  Web server  File system for Web server  Database engine www.themegallery.com  Database file storage Company Logo Problems... about the actual behavior of the program Company Logo About log Performance testing needs to be done both with 1 logging turned on and off Consider testing the log mechanism itself www.themegallery.com 2 Company Logo www.themegallery.com Using Monitoring Tools Company Logo Why useful tools that give you a view into what’s going on inside the system software www.themegallery.com and hardware Company Logo... problem will appear Company Logo www.themegallery.com Using Log Files Company Logo Why  Operating systems and server- based applications offer log mechanisms so it can be tracked, analyzed, and audited  Help isolate problems during debugging  Provide great deal in testing for analyzing server failures  Monitor the operation of the program, and to troubleshoot problems when www.themegallery.com program... occurs Time a particular function is called SQL command Company Logo www.themegallery.com Example Log Company Logo USE Use First, Second, when you are testing these conditions, you can monitor the code during the you should check the log to determine entire testing process to determine how that you actually did create the condition often these conditions actually occur www.themegallery.com you were trying... switching between processes Company Logo Why  Server receive andanswers to client (the end user) more quickly  One thread may inadvertently interact with the other threads by changing global variables or by executing in a different order than www.themegallery.com expected Company Logo www.themegallery.com Multithreading Issues Company Logo Threading testing  One thread may inadvertently interact... mission-critical systems that must be constantly available  Failover can apply to any network component or system of components, www.themegallery.com such as a connection path, storage device, or Web server Company Logo Fail-over trigger failure  Do the fail-over configurations work as expected?  Are (failure of the application) scenarios asboth software-only fail-over well as hardware fail-over... program, and to troubleshoot problems when www.themegallery.com program is published Company Logo What www.themegallery.com   Write status and diagnostic information Include:           Time the server is started, stopped, or paused Name of the computer (host name) Version and build number of software Data value used in the case statement Thread creation and synchronization Transaction start and...Fail-over Issues  A backup operation that automatically switches to a standby database, server, or network if the primary system fails or is temporarily shut down for servicing  Redirects requests from the failed or down system to the backup system that www.themegallery.com mimics the operations...  Database file storage Company Logo Problems www.themegallery.com  Time and data  Resource contention Company Logo Challengers  The behavior of the application can be environment-dependent  Unit testing will probably fail to reveal run-time multithreaded problems  Running the various processes on the same machine will limit the opportunities to reveal multithreading problems  System interrupts . Issues  Server Side Testing Tips  Using Log Files  Using Monitoring Tools  Creating Test Interfaces or Test Drivers  The Testing Environment  Using Scripts in Server- Side Testing www.themegallery.com Introduction  . Testing www.themegallery.com Introduction  What is server?  Many software services and much processing in a Web application happen on the server- side rather than on the client -side.  Testing on the server- side is difficult. nhóm www.themegallery.com Server- Side Testing  Introduction  Common Server- Side Issues  Connectivity Issues  Resource Issues  Backup and Restore Issues  Fail-over Issues  Multithreading Issues  Server

Ngày đăng: 28/07/2014, 12:07

Mục lục

  • Common Server-Side Testing Issues

  • Backup and Restore Issues

  • Creating Test Interfaces or Test Drivers

  • Working with Live Systems

  • Using Scripts in Server-Side Testing

  • Testing Tools for Run-Time Testing

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan