Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Friday, September 11, 2009

Testing and Concepts

Hi friends,

Today I would like to present few points related to Testing and some new Concepts related to Java.I assure you that it will be very informative for the readers.

Round : Testing

1.What is Black Box testing and white box testing?

Black Box Testing:
Also known as functional testing. A software testing technique whereby the internal workings of the item being tested are not known by the tester.

White Box Testing:
Also known as glass box, structural, clear box and open box testing. A software testing technique whereby explicit knowledge of the internal workings of the item being tested are used to select the test data. Unlike black box testing, white box testing uses specific knowledge of programming code to examine outputs.

2.What is the name of the testing supposed to be written by the developers?
White Box Testing.

3.Give the name of 2 performance of testing tools?
Apache Jmeter,curl loader.

4.Give the name of 2 automated testing tools?
QTP and Winrunner,Rational Robot.

5.Difference between stress testing and load testing?
Stress Testing : To test how the application is responding while we enter maximum length of strings into the application.
Load Testing : To test the application respond(response time) by increasing the number of users.



Round:Concepts

1.Namespace
As a rule, names in a namespace cannot have more than one meaning, that is, two or more things cannot share the same name.

2.Lazy loading
Lazy loading, also known as dynamic function loading , is a mode that allows a developer to specify what components of a program should not be loaded into storage by default when a program is started. Ordinarily, the system loader automatically loads the initial program and all of its dependent components at the same time. In lazy loading, dependents are only loaded as they are specifically requested. Lazy loading can be used to improve the performance of a program if most of the dependent components are never actually used.

3.Two Phase Commit
The two-phase commit strategy is designed to ensure that either all the databases are updated or none of them, so that the databases remain synchronized.

4.Server affinity
Server affinity refers to the characteristics of each load distribution facility that take these constraints into account. The load distribution facility recognizes that multiple servers can be acceptable targets for a request. However, it also recognizes that each request can be directed to a particular server where it is handled better or faster.

Server affinity can be weak or strong.

In weak server affinity, the system attempts to enforce the desired affinity for the majority of requests, but does not always guarantee that this affinity will be respected.
In strong server affinity, the system guarantees that affinity is always respected and generates an error when it cannot direct a request to the appropriate server.

5.Soft Deletion.
There also has to be a special handling of the delete operation. Not every client has enough space for every database item. Sometimes we want to remove an item from just one client, but not from the others.
Introduce a flag to an existing table which indicates that a row has been deleted (this is called a soft/logical delete) instead of actually deleting the row (a hard delete).

Hope this topic was useful to you, Please Post your comments!

No comments: