Sta Test Vii
Sta Test Vii
PART-A
Volume testing comes under software testing. It helps us to check the behavior
of an application by inserting a massive volume of the load in terms of data is
known as volume testing.
In volume testing, we will concentrate on the number of data rates than the
number of users. It is also called Flood testing.
Before we understand the need for volume testing, we will see one example of
volume testing.
And the application will crash, or the data could not load successfully, which
cause problems for the customers.
While executing the recovery testing, we should first take the backup and save it
to a secured location to keep away from any data loss if the data is not
recovered successfully.
PART-B
Load testing:
In software testing, load testing is an integral part of performance testing
under non-functional testing.
Here, load means that when N-number of users using the application
simultaneously or sending the request to the server at a time.
Generally, load testing is used to signify how many concurrent users handle the
application and the application's scale in terms of hardware, network capacity etc.
The main objective of using the load testing is to fulfill the following aspects:
o In the first step, we will set up the test environment to execute the load
testing to ensure the testing can be done appropriately.
o And the test environment should be set up near to the production
environment as likely in terms of network, hardware, software specifications etc.
o In the next step, we will define the performance criteria, which contain
the response time, reasonable limits on throughput, and the load test
transaction.
o And then, we create the load test scenarios, which ensure the success
criteria are finalized.
o In the load testing, transactions are decided for an application
and data is set for each transaction.
o Once we successfully create the load test scenarios, we will execute the
particular test scenarios.
o But before we execute the load test scenarios, we have to set the different
configurations and matrices to collect the information.
o The load on the server is matched by consecutively several virtual users
to complete the tasks concurrently.
o And we can execute the entire scenario in virtual user groups or
individual virtual users.
o After executing the load test scenarios, we will analyze the test results.
o The load test Scenario can be inspected with the help of LoadRunner online
monitors like:
o System resource
o Run-time transaction
o Network delay
o Web resource
Step5: Re-test
o The last step of the load testing process depends on the test result because
if the test fails, we have to perform the same process repeatedly until the
test result is passed and all the issues and bottlenecks are fixed.
As we can see, more people incline to buy products during a promotional event
like Diwali, Black Friday, big billion days sales.
And if a website or an application crashes in such an event, users may leave the
website and go to a competitor's application, leading to loss of revenue and
market share. Those scenarios may occur because we do not perform the load
testing on the system.
Advantages
Some of the vital benefits of performing the load testing are as follows:
Disadvantages
Stress testing:
In software testing, stress testing is an important part of performance testing
under non-functional testing.
The stress testing includes the testing beyond standard operational size,
repeatedly to a breaking point, to get the outputs.
It highlights the error handling and robustness under a heavy load instead of
correct behavior under regular conditions.
Therefore, the execution of stress testing helps identify the failure of the
application and evaluate the performance and recoverability when the ultimate
load occurs in a short duration or when the result is out.
Stress testing can be categories into various parts, which are as follows:
o Product or Application stress testing
o Server-client or distribute Stress Testing
o Analytical Stress Testing
o Systematic Stress Testing
o Transactional Stress Testing
As we know that stress testing is part of performance testing, the tools used
for performance testing can be used for stress testing.Therefore, we have
various types of Stress testing tools available in the market, where some are
commercial tools and open-source tools. Some of the most commonly Stress
testing are listed below:
o Apache JMeter
o NeoLoad
o Stress tester
o LoadRunner
Advantages
o Stress testing signifies the system's behavior after failure and makes sure
that the system recovers quickly from the crashes.
o The most important advantage of executing the stress testing will make
the system work in regular and irregular conditions in a suitable way.
o It determines the scalability and enhance the performance of the software.
Disadvantages