When?
When the application is functionally stable.
Don’t?
Application rapidly changing.
Do?
Application is stable.
- Web load is a open source as well as licensed.
Testing Tools:
IBM – Rational performer
HP – Load runner
About Load testing:
Like functional testing we won’t test all the functions in load testing.
We will test only the critical scenarios.
For example:
In a railway reservation application - Ticket booking will be a critical scenario, why because that will be done frequently.
And profile updating will be there, that mostly will occur in rare case. So that will be left out in load testing.
Load test plan will be prepared at first, before going to load testing.
What it will cover?
- How many users will access that application.
- Which tool can be used for testing the application.
- Data collection is one part of load testing.
Correlation – For dynamic data parameterization.
Vusers generator:
1 user repeating the same task again an again.
Example:
If we want to run for 1000 users, with a single users we can’t run for 1000 users.
On that time the script will run only in one system. But using the generator we can add other systems also in this load testing by adding its IP address. (For running for 1000 users we can have 8 systems, so we have to give the 8 system IP in the system we are running the script.)
Controller:
It will generate virtual users.
Here we can design the load and run.
Run can be done simultaneously or 1 by 1.
--------------
Load runner will capture what is going on between client and server.
---------------
Protocol:
- Set of rules to communicate.
Correlation:
- Automatic
- Manual
It will take the value in between the left boundary and right boundary,
Crtl+ T – Start Transaction
Ctrl+ D – End Transaction
Shift + F5 – For compiling.
Ctrl+F8 – For correlation
Parameterization:
We can parameterize any columns, by importing data’s from a notepad.
Separate text file for username and password,
Notepad
-------------------------------------------------------
Username
Sundar
Arulraj
Sarathy (press enter)
-------------------------------------------
Single text file for username and password.
Notepad
-------------------------------------------------------
Username,password
Sundar,sundar
Arulraj,arulraj
Sarathy,sarathy (press enter)
-------------------------------------------
The coma what we have used in b/w the user name and password is called as the delimiter
Delimiter can be comma, space or /
If there are 20 edit box in a page, we can have 20 parameters in a single text file.
- Select the parameter and set it to ‘select by name’ or ‘number’.
Tuesday, June 23, 2009
Monday, June 22, 2009
Difference between BVT and BAT?
As soon as the build recieved..
First one will be Navigation testing. To make sure that there is no broken links or tabs that should not stop from testing.
Second will be Build Verification Test (BVT), 10 to 15% of the total test cases will be executed in this test to make sure the build is stable enough to go for further testing.
eg: If we are not able to add something, both modify and delete cannot be tested.
Then the test will fail.
If BVT fails, the build will be rejected.
Third will be the Build Acceptance Testing (BAT), This can also be called as system testing. Remaining 80 to 85% of the test cases will be executed in this test. That will cover the functionality/ UI etc..
First one will be Navigation testing. To make sure that there is no broken links or tabs that should not stop from testing.
Second will be Build Verification Test (BVT), 10 to 15% of the total test cases will be executed in this test to make sure the build is stable enough to go for further testing.
eg: If we are not able to add something, both modify and delete cannot be tested.
Then the test will fail.
If BVT fails, the build will be rejected.
Third will be the Build Acceptance Testing (BAT), This can also be called as system testing. Remaining 80 to 85% of the test cases will be executed in this test. That will cover the functionality/ UI etc..
Subscribe to:
Posts (Atom)