Site Announcements




Register and Login to Sanjaal Board to get access to exclusive contents including guitar tabs, high quality arts, glamor and photography pictures. New Users will be manually validated against spam database and potential advertisers. So this might cause your account activation to delay from a couple of days to few weeks. If you have Nepali/Indian/Pakistani/Bangladeshi names in your username, the user activation will be quicker. SPAMMERS WILL BE DELETED WITH NO MERCY

Software Testing Type - Load Testing

Software Engineering Articles, Practices, Methodologies, Tools etc.

Software Testing Type - Load Testing

Postby admin » Thu May 28, 2009 6:04 pm

Load testing is the process of putting demand on a system or device and measuring its response.

In mechanical systems it refers to the testing of a system to certify it under the appropriate regulations, e.g. Lifting Operations and Lifting Equipment Regulations (LOLER) in the UK. Load testing is usually carried out to a load 1.5 times the Safe Working Load (SWL). Periodic recertification is required.

The term load testing is used in different ways in the professional software testing community. Load testing generally refers to the practice of modeling the expected usage of a software program by simulating multiple users accessing the program concurrently. As such, this testing is most relevant for multi-user systems, often one built using a client/server model, such as web servers. However, other types of software systems can also be load tested. For example, a word processor or graphics editor can be forced to read an extremely large document; or a financial package can be forced to generate a report based on several years' worth of data. The most accurate load testing occurs with actual, rather than theoretical, results.

When the load placed on the system is raised beyond normal usage patterns, in order to test the system's response at unusually high or peak loads, it is known as stress testing. The load is usually so great that error conditions are the expected result, although no clear boundary exists when an activity ceases to be a load test and becomes a stress test.

There is little agreement on what the specific goals of load testing are. The term is often used synonymously with performance testing, reliability testing, and volume testing.

Testing

Load and performance testing is to test software intended for a multi-user audience for the desired performance by subjecting it with an equal amount of virtual users and then monitoring the performance under the specified load, usually in a test environment identical to the production environment, before going live. For example, if a web site with a shopping cart is intended for 100 concurrent users who are doing the following functions:

* 25 VUsers are browsing through the items and logging off
* 25 Vusers are adding items to the shopping cart and checking out and logging off
* 25 VUsers are returning items previously purchased and logging off
* 25 VUsers are just logged in without any activity

Some times it is also referred to as Non-Functional Testing



Using various tools available to generate these VUsers, the application is subjected to a 100 VUser load as shown above and its performance is monitored. The pass fail criteria is different for each individual organization and there are no standards on what an acceptable criteria should be, across the board. As a matter of fact, in the list above item 1 the each of the 25 Virtual users could be browsing through unique items that other virtual users will not browse through.

It is a common misconception that these are record and playback tools like regression testing tools, but the similarity ends there. Load testing tools work at the protocol level whereas most regression testing tools work at the GUI object level. For example, a regression testing tool will simulate a mouse click on an OK button on the browser, but a load testing tool will send out the hypertext that the browser will send after the user clicks the OK button, and again it will send out the hypertext for multiple users each having a unique login ID and password.

Various tools are also available to find out the causes for slow performance which could be in the following areas:

* Application
* Database
* Network
* Client side processing
* Load balancer

With the popularity of Web, specially the acceptance of Business to Business applications, popularly known as B2B apps, there are Service Level Agreements involved (A.K.A. SLA). The B2B apps' popularity has resulted in more and more applications moving to Web Services (Also known as Service Oriented Architecture or SOA), where there is exchange of information WITHOUT a browser interface. An example of a typical service level would be a travel agency inquiring the Airline's Web Service on availability of tickets for a particular flight from Chicago to Dallas, and the Airline would be bound by the SLA to respond within 5 seconds. Oftentimes, there are large penalties involved if SLA's are not met.

Sanjaal.com is owned and maintained by Sanjaal Corps, Nepal. The company offers Webhosting and Domain Registration Services, IT Solutions and Business Analysis. Sanjaal.com website features H1B Visa Information, Entertainment Portal, Link Directory Service, Free Articles, Free Open Source Tutorials on Java and J2EE Platform, Digital Photography, High Resolution Picture Gallery and Free Reliable Image Hosting Services. Future plan includes Open Source Software Development Portal, Technical Solutions and Customizable Movie and Music Arena. We would be introducing data backup, data recovery, data hosting and voip solutions. Stay free from phishing - our website does not ask for your credit card and banking information. Happy Surfing!
admin
The Bell Ringer
 
Posts: 826
Joined: Sun Feb 22, 2009 9:08 pm


Similar topics


Return to Software Engineering

Who is online

Users browsing this forum: No registered users and 1 guest