Load Testing vs Stress Testing

Load Testing

Load testing is basically evaluates the performance of the AUT(application under testing with predefined loads.We need to check the performance of the application by constantly increasing the load on the application. With the help of this, we will examine how the system will perform under different loads. It is interesting to see the behavior of the application under zero load. It is basically used to check the response time of the application.

For example:
Suppose if we are testing the email functionality of an application, we will check how many users can use the application at once. We will vary the number of users and allow them use the different functionalities of the email at once. We will examine the behavior of application under such conditions.

Why load testing is done:

  1. The goal of the load testing is to check the upper limit of the database used, hardware and network.
  2. Load testing can check memory leak and management of the memory.
  3. Load testing will check the load balancing problem, bandwidth issue and capacity of the application.

Stress Testing

The purpose of the stress testing is to check the performance of AUT (application under testing) when excess load of the resource has been given on the application. It is basically used to check the performance of the application under adverse conditions. It shows how the system recovers from the adverse conditions and how gracefully it will come to its normal state.

For example:
Suppose an application has been built which takes only 40 user attempts. So stress testing is done by giving load of the users to the application by allowing 43 users to use the application. The main objective of the testing is to see how gracefully the system will recover back from the adverse condition to normal condition.

Why is stress testing done:

  1. Examine the behavior of the application after crash.
  2. Examine whether the application accept the adverse condition gracefully or not.
  3. Examine whether the application comes back to its normal condition and the sensitive data is still preserved or not.

Difference between load and stress testing

Load Testing
  1. Load testing helps in determining the reliability of the application.
  2. It helps in examining the behavior of the application under different loads.
  3. The main focus of load testing is to check the response time of the application.
  4. Load testing is a subset of stress testing.
Stress Testing
  1. The main focus of stress testing is to check the reliability of the application.
  2. Stress testing is used to check the behavior of the application under extreme load.
  3. The main focus is to check the throughput.
  4. Stress Testing is the superset of the load testing.
Read More
The Advantages and Disadvantages of Black Box Insurance
Automated Testing vs Manual Testing

Copyright © ianswer4u.com

Performance Testing In Software Testing

Performance Testing

Performance testing is form of testing nonfunctional elements of the application.Performance Testing is crucial to check how the application performs under different conditions.

Performance testing covers the following points
  1. Verifying the behaviour of the application under different adverse conditions.
  2. Several users are involved in performing different operations
  3. Performance testing can be executed very well if it is automated.
  4. Performance testing involves different members like Developers, Testers, Customers, DBA (database administrator) and network managers.
  5. It can be implemented in the production environment.Hardware is required to populate the load requirement.

Different parameters are checked are as follows:

  1.  System response time
    System response time is the time taken by the application to respond to particular query or request by the user. Through performance testing we check the response time of the application for any request. Then we increase the load on the application and determine the application performance.
  2. External interface response time
    We identify how the application responds to the external interface request. We check the efficiency of the application while interacting with the external interface.
  3. Central processor unit utilisation
    We identify the CPU utilisation by the usage of the application. We increase the load and identify the CPU usage and check whether the application will work properly in adverse conditions or not.
  4. Memory utilisation
    Memory utilisation by the application is checked in the performance testing by increasing the load on the application.
Read More
Manual Testing and its Advantages, Disadvantages
What is White Box Software Testing: Advantages and Disadvantages


Copyright © ianswer4u.com

Difference between Test Case vs Test Scenario in Software Testing

Testing terminologies can sometimes confuse even the most experienced of IT professionals. Today we will discuss about test cases, test scripts and test scenarios which may seem similar to any layman but there is a subtle difference between these terms which make a world of difference for a software tester.
You may also read about Test Plan and Test Strategy | What are they and difference between them.

Test Case

Test cases are a set of valid and invalid procedures for testing of a particular module in an application.
Test cases with a valid procedure are called valid test case and the test case with an invalid procedure is called as invalid test case. In order to do complete testing, both valid and invalid procedures have to be kept so that testing can be done in different conditions.
While designing test cases below terms have to be defined:
  • Test Id: Test Id is unique Id for defining test case
  • Test Case name: Test case name is given to a particular test case.
  • Test case description: It is detailed description of what the test case is going to test.
  • Precondition: These are the steps that have to be implemented before executing the test case.
  • Expected result: Expected result is the outcome which is expected after running the test case.
  • Actual result: Here we record the actual outcome or result obtained after execution of test case.
  • Status: Fail or pass status is decided after the execution of the test case, to identify whether or not actual result matched with the expected outcome.

Test Script

Test Script is the term used in the case of automation testing which is the same as test cases in manual testing.
It is a set of instructions that will be performed on the system under test to test the functionalities of the application. These instructions are in the form of code or a script which can be executed automatically using any automation testing tools.

Test Scenario

Test Scenarios means we are talking about the requirements in detail. Here unlike test cases we are not talking about a particular condition while testing a module. Test scenarios are detailed test procedures which can be consist of multiple test cases associated with it.
In scenario testing, the preparation of scenarios is the most important part, to prepare test scenarios testers need to take help from the developer, business analyst and project manager. A scenario consists of series of activities, each compromising of different inter-related test cases, which a user of the system may execute when system goes live. Here we recreate the user activities to understand how a particular functionality will “play out”.

For example:
  • Validate whether student can add his course or not after logging in.
  • Validate whether the student can edit his course or not.
  • Validate whether the student can delete his course or not.

Read More :
Automated vs. Manual Testing: The Pros and Cons of Each
White-Box Testing: Pros and Cons

Copyright © ianswer4u.com

Telematics Insurance: Advantages and Disadvantages of Telematics insurance

When I first learnt about black-box auto insurance I was rather excited as it could help me cut down on my car premium. But as I learnt more about what all is recorded by telematics box, I got bit wary and wondered if it benefits to have telematics box fitted in my car.

Today I would be sharing my views on pros and cons on Telematics – Black Box Insurance.

Advantages of Telematics Insurance

  1. It is good for young drivers. As we discussed in factors affecting car insurance rates, young drivers usually get an unfair deal because they lack driving history and are considered high risk group by insurers. Young drivers who are responsible can benefit from having a box fitted in car which demonstrates to the insurer that they are responsible behind the wheel.
  2. If you drive during off-peak hours you will get rewarded.
  3. Black-Box helps find stolen cars as well as it reports to the insurer in case of accident. In case of accidents, black box can also help determine who was responsible for it as its recording can be yours in legal proceedings.
  4. If you drive less and hardly take your car out for a ride you stand to gain under this policy. Many of us have a car which we take out only at special occasions, in that scenario a usage based insurance will be beneficial.
  5. Having a device monitoring your driving activity all the time can be scary, but it does helps in cultivating good driving practice.

Disadvantages of Telematics Insurance

  1. It is not good for long distance drivers. In case you have to ply long distances often for work and other activities, telematics recording will not be in your favour and car insurance might get expensive for you as compared to normal car policy.
  2. Drivers who are already considered safe e.g. middle aged individuals with good driving history won’t stand to gain much under black box insurance policy.
  3. Breach of privacy is an issue which still needs to be addressed properly. Having extra pair of eyes monitoring you is not something everyone is comfortable with and can be stressful for some.
  4. Typically, the payback period for telematics device ranges from 6 months to a year.
Personally I have gained from getting black-box device fitted in my van and buying a telematics policy as compared to my traditional auto policy, do let me know your views and experiences in comment section.

Read More:
Different Types of Car Insurance
Short term or Temporary Car Insurance for 1-28 days

Copyright © ianswer4u.com

Telematics Insurance or Black Box Policy | Car Insurance Policy

Drivers around the world are looking for ways to cut down on auto insurance prices but because of the old traditional factors considered by insurers to calculate insurance quotes there is limited scope as to what a driver can do. (Read about the factors that affect your car insurance quotes).

Telematics Insurance or Black Box Auto Insurance policy takes into consideration these old factors but at the same time uses modern technology to accurately calculate the risk associated with each individual driver. This benefits a responsible driver in a great way as he is not punished for factors beyond his control viz. age, gender, place of residence etc.

What is Telematics and how it works?

Under telematics or black-box car policy, your auto insurer installs an app on your smart mobile or will install a device under the dashboard of your car to record your driving pattern. This devise uses satellite telemetry to read your driving habits and then transmits it to insurer’s database. Typically a telematics device contains a SIM card, GPS, accelerometer and proprietary software of insurer which analyses the data and sends the report back.
Wondering what all is recorded by telemetric blackbox? Parameters that a black box records are customized by each insurer as per their discretion but some of the common things they measure are:
  1. How many miles you log in on an average,
  2. At what time you drive,
  3. Roads you usually ply on,
  4. Traffic conditions when you are on road,
  5. How often you brake and how hard you apply brakes,
  6. Your average speed,
  7. Do you follow speed limits and
  8. Number of breaks you take while on long journey.
All this data is analysed by your insurer to calculate your car insurance risk. Beyond the obvious this device also helps to locate a stolen car or to identify if car has met with an accident.

Read More about benefits of UBI or usage based insurance

Finally it can be said that if you are a safe driver then telematics policy will reward you and will help you get the cheapest possible auto quote.

Next read pros and cons of telematics insurance.

Copyright © ianswer4u.com