Ved International Discussion Board
Ved International Discussion Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Software Testing Type - Load Testing

Go down

Software Testing Type - Load Testing Empty Software Testing Type - Load Testing

Post by jp2012 on Fri Aug 02, 2013 5:16 am

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.


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.


Posts : 145
Join date : 2013-06-30
Location : Japan

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum