Thursday, 21 May 2020

MT-Performance Testing and Waterfall model



Program :-
1)The Program is sequence of instruction, it is executed by processor.
2)We write the program by writing the codes intent to develop an application.

Script:-
It is sequence of instruction that is interpreted by another program rather than processor.

What is Performance Testing?

Majority of time we do the performance testing on web based and client server application.

Example :- Gmail                            Server
                                6 am-   3:00 sec
                                10 am—6:00sec 

Testing the application or loading the application for the purpose of testing the load on the server is called as performance testing.

Performance Testing Tools:-
1)Load Runner
2)Jmeter
3)Web Load
4)Neo Load
5)Visual studio team suite.

1)It is non functional testing. It is type of software testing that intends to determine how a system performs in terms of responsiveness and stability under a certain load.

2)Performance testing is tells about what needs to fix before going to live
.
3)If without performance testing system goes to live to create problem like system speed will be slow, bad reputation in the market and it affect the sales goal.

Types of Performance Testing

1)Load Testing:- Loading the application from its 1% to its 100% capacity is called ad load testing.

2)Stress Testing:- Loading the application beyond  its 100%  of capacity is called as stress testing.

Waterfall model 
It is a traditional model. It is a sequential design process, often used in SDLC, in which the progress is seen as flowing steadily downwards (like a waterfall), through the different phases as shown in the figure,


Requirements Collection / Gathering:-
- done by Business Analysts and Product Analysts because he has knowledge of domain.He takes the requirement from client.

- gathering requirements

-Client requirements like,
1)Who is going to use the system?
2)How will they use the system?
3)What data should be into the input system.?
4) What data should be into the output system.?

- translates business language into software language

For ex, - A banking software.

Feasibility Study :-
- done by software team consisting of project managers, business analysts, architects, finance, HR, developers but not testers
- architect – is the person who tells whether the product can be developed and if yes, then which technology is best suited to develop it.
- here we check for,
                                 - technical feasibility
                                 - financial feasibility
                                 - resource feasibility

Five members are involved in feasibility study. 
1)  Business analysts:- Requirement Gathering
2)  Finance:-He/she decided the cost about the project.
3)  HR:-He decided how many people will worked this project otherwise new people hired.
4)  Architect:-To design and develop application.
5)   Project Manager:-All members gives report to project manager. Lead to project.

Design :-
There are 2 stages in design,
 HLD – High Level Design
 LLD – Low Level Design

HLD – gives the architecture of the software product to be developed and is done by architects and senior developers. It is a design which provide an overview of an architecture and shows how each and every section will communicate with each other.

LLD – done by senior developers. It describes how each and every feature in the product should work and how every component should work. Here, only the design will be there and not the code.
Taking part of HLD and design it in detail is called low level design.

For ex, let us consider the example of building a house.

Coding / Programming :-
- done by all developers – seniors, juniors, freshers
- this is the process where we start building the software and start writing the code for the product.

Testing :-
- done by test engineers
- it is the process of checking for all defects and rectifying it.

Tester take application compare with requirement .If the requirement is not correct ,found the defect .He send the defect report to developer. This process is happened to till stable the application and less number of defects.

Installation :-
- done by installation engineers/Field engineer.

- to install the product at a client’s place for using after the software has been developed and tested.

For ex, consider the example of a software to be developed and installed at Reliance petrol pump.
Field manager and developer work with together. Developer teach to field engineer how to install an application, then field engineer  install to other branch.

Maintenance:-
- here as the customer uses the product, he finds certain bugs and defects and sends the product back for error correction and bug fixing.

- bug fixing takes place

- minor changes like adding, deleting or modifying any small feature in the software product

100 % testing is not possible – because, the way testers test the product is different from the way customers use the product.

After installation ,if found the defect company will give the free service to customer. But after duration over company will take charge from customer.

Advantages of waterfall model –
1)Requirements do not change nor does design and code, so we get a stable product.
2)Simple model , understand and implement.
3)Project quality is very because accuracy is more.
4)Phase completed at a time do not overlap.

Disadvantageous of waterfall model-
1)Requirement is not tested ,design is not tested,if there is a bug in the requirement and it goes to end and leads to lot of rework.
2)Requirement can not be changed.
3)Once an application is in the testing stage.it is very difficult to go back.

 Applications of waterfall model :-
Used in – developing a simple application
              - for short term projects
              - whenever we are sure that the requirements will not change.
             -whenever there is health critical and mission critical(fighter planes).we go for this model.           
For ex, waterfall model can be used in developing a simple calculator as the functions of addition, subtraction etc and the numbers will not change for a long time.