Introduction:
Performance testing has become an integral part of the Client / Server and Web environments today. With the performance of engineering including performance testing tools, the test cycle time can be reduced significantly. The ability to perform existing testing tools have limitations in supporting various protocols. This white paper indicates that Performance testing tools offering wider coverage without much investment is the need for hour.
The SituationA performance testing tool can simulate internet user behavior only on http protocol and can be enabled for multiple protocols as well as a place - ActiveX component or a programming language Java Class establishing a code TCP / IP Connection within the script of the tool. Common Protocol Support:
http
https
Telnet
FTP
While with licenses for the http protocol, a compact version of the performance testing tools can only support the existing http / https, additional licenses are needed to be purchased for supporting other protocol (s). Enabling tool to support other protocols:
A particular performance testing tool can be made to a support group desired protocols through the creation of a server / application specific development process. This performance engineering is a complex process that involves the following steps Steps involved:
1. Deciding the transactions.
2. Setting up a packet sniffer to capture the packets travel between the user and the machine Server.
3. Running manually.
4 operations. Saving the details of the captured packets.
5. Analyzing the flow of packages from packet
6. Determining the user entry in packets.
7. Parameterizing the user inputs in packets.
8. Creating functions to simulate the package flow.
9. Create a forum for that component within the script of the tool to connect the component within the tool.
10. Calling functions of script.
Analyzing Packages:
Analyzing packages is the main part in the process requiring tedious coding and decoding.
Phases in Analyzing:
Six stages in the process of analysis packages-
Separating Headers and data portions packet.
Analyzing in the packet header.
Analyzing data packet.
Determining the constant and variable bytes in the data package of specific, both are generally in HEX String.Repeating the process with various user inputs getting accustomed to the bytes transferred.Checking if data for the previous answer is transmitted with O next request.
Ethereal - Network Protocol Analyzer sniffing tool is very useful to see new variable bytes per simulate traffic from code detect various protocols, such as:
H323 / Q931 VOIP Protocol.
ICQ Protocol.
Java RMI.
Remote Case Call.
IEEE 802, 11 wireless LAN.
Ethereal has a rich display filter language and can see rebuilt stream of a TCP session.
Creating the PSEUDO Customer:
While design of the customer, the transaction is divided into phases with different functions for each user and server interaction functions reply.
Separate are needed for:
Sending the first request and receive data from the first response.
Extracting response to attach the second request.
Sending second request and receiving the second response.
Similar process must be followed for the remaining traffic. The maximum number of variables must be created to maintain control, with the possible fields constant stored as variables. Next is the screen-shot of an ethereal record of a simple transaction.
Integration http:
Finally, the client component is integrated in the tool, which requires the creation of a forum for component and calling the function with different parameters ie, the user inputs o Allow the desired protocol to be supported by the instrument. Case Pros:
1. Perfect simulation with perfect analysis.
2 packet. Freq ente upgrade to new plug-ins for the new protocols.
3. Cost effective.
Process Cons:
1. Difficulty decoding.
2. For applications encrypted the process can not be implemented.
3. For Oracle ANC protocol of the process can be applied only if plug-in is easily available.
Conclusion:
Performance test can demonstrate that the system meeting performance criteria. The later performance defect is detected, the greater the cost of repairing the damage. This is true in the case of functional tests, but even more with the performance testing, due to the end-to-end nature of its scope. It is always useful to have a statement of the maximum number of users who can use the system at peak times. Performance testing is almost invariably concludes that the software rather than hardware that contributes most to bottlenecks in the processing data.
ReadyTestGo is a professional Software Testing Company (http://www.readytestgo.com/readytestgo.htm) and Outsourcing QA (http: / / Www.readytestgo.com / services.htm) For more information, please contact marketing@readytestgo.com makeda delinda
Bookmark it:
Wednesday, March 19, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment