Testing Basic Interview Questions : February 2012

What is Spike Testing Explain it with example?

Spike Testing is a form of testing process in which an application is tested with unusual increment and decrements in the load. The system is unexpectedly loaded and unloaded. It is done to notice how actually the system reacts with unexpected rise and decline of users.

Spike testing example is given below

Considering example when you are always checking the result of your exam on K.U.K site means site is suddenly loaded and unloaded and then the IT squad of K.U.K check how the site reacts with unexpected increase and decrease of users than it is spike testing.

Spike testing is mechanism of testing which means when in a web page frequent number of visitor access the page unexpectedly increases to maximum then obviously performance of the page breaks down. So the mechanism of testing a performance about web page due to unexpected sort of traffic on the page is always called as Spike testing.

Spike testing is usually done by unexpectedly increasing the number of loads generated by users by a very enormous amount and observing the dramatic behavior of the system.

Explain Importance of Testing In SDLC?

Testing is one of the important aspects in SDLC because of the following reasons:

1. Testing in SDLC helps to prove that all the software requirements are always implemented correctly or not.

2. Testing helps in identifying defects and ensuring that testing are addressed before software deployment. If any defect is discover and fixed after deployment, then the correction cost will be much huge than the cost of fixing it at earlier stages of development

3. Testing in SDLC demonstrates that software always appears to be working correspond to specification, and the sociology and performance requirements always appear to have been met.

4. Whenever several systems are developed in different components, different levels of testing help to verify proper integration or interaction of all components to rest of the system.

5. Testing in SDLC means that testing always improves the quality of product and project.

Conclusion:

Testing plays an important role in SDLC and apart from that testing also improves the quality of the product and project by discovering bugs early in the software.

And remember testing not only improves the quality of the product, but it also improves the company quality also.

What do you mean by soak testing?

Soak testing is different type about performance testing in which tester always test the stability and response time of affecting application by request the designed load for a longer time.

Soak testing is sometimes also called as endurance testing and longevity testing.

Soak Testing is the form of Performance Testing, which incorporate testing a system with expressive load extended over an expressive period of time, to discover how the system and product behaves under repeated use.

Example of soak testing:

Considering example in a banking environment large amount of load is expected at the deadline of every month, means on the time of banking closing days.

So tester always perform the soak testing on banking application to test huge levels of load for prolonged amount of time. So in banking application tester put the grand amount of load for prolonged amount of time like put load for 72hrs to 120 hrs, to check how application behaves during this load period.

Soak testing means running a system at huge levels of load for prolonged amount of time. A soak test would generally execute some times more transactions in an entire (full) day (or night) that intend be expected in a busy day, to distinguish any performance issues that appear after a immense number of transactions have been executed.

Explain Positive Testing And Negative Testing With Example?

Positive Testing: - When tester test the application from positive point of mind than it is known as positive testing.

Testing the application with valid input and data is known as positive testing.

Positive testing: - A test which is designed to check that application is correctly working. Here the aim of tester is to pass affecting application, sometimes it is obviously called as clean testing, and that is “test to pass”.

Negative Testing: - When tester test the application from negative point of mind than it is known as negative testing.

Testing the application always with invalid input and data is known as negative testing.

Example of positive testing is given below:

What is Testing Why It is Necessary?

Testing is necessary to increase the quality of the project. Testing is most time consuming, but a crucial activity of a software project.

It is vital to the success of new system. For making the project reliable and Error Free, the complete project and product must be tested in a systematic and organized way.

DEFINITION OF TESTING

(According To Hetzel)
Testing is the mechanism of establishing sureness that a program or product does what it is supposed to do.”

(According To Glen Meyers)
“Testing is the mechanism of executing a program or product with the intent of finding errors.”


WHY NEED OF TESTING

It is remarkably performed for one of the two reasons: -

1. Bug Detection

2. Improvement belonging to quality

Testing is needed not always for improving product and project quality but also for improving company quality. Without testing company can’t grow at the upper level.

Testing is needed for almost all the organization which wants to grown up easily. Testing is needed for properly understand the fault errors in software during its development phases.

Testing is necessary in software development. It always ensures the users satisfaction and reliability of affecting software.