Two laws of choosing LoadRunner protocol

Source: Internet
Author: User

Two laws of choosing LoadRunner protocol

determining the type of protocol used when recording a performance test script is often a problem that can cause misunderstanding. Many peers who have just come into touch with performance testing often take the decision to determine the protocol based on the language of development, resulting in a script that cannot be replayed successfully.

Two laws of choosing LoadRunner protocol


Before choosing the LoadRunner protocol, we must first understand the architecture of the software system under test, know which nodes the system consists of, and how each node communicates. Then choose the LoadRunner protocol according to the principle.


1. The client and its direct connection to the server communication method prevail.


Because LoadRunner's vuser simulates the client, VUser, like the real client, deals with the server closest to it, regardless of the functionality of the system as a whole. For example, a Web mail system, although it is the implementation of the mail function, but as the client's IE directly connected to the Web server instead of mail server, in this case we only consider the IE and Web server communication mode, that is, the HTTP protocol.


2. The matching principle consists of high protocol to low Protocol.


After determining the network protocol of the system under test, the choice of LoadRunner VUser should be better than the actual network protocol matching, such as cannot match, LoadRunner VUser will drop a protocol layer again match.
For example, if you encounter a network application, its application protocol is very special, in the LoadRunner do not find the right protocol, then lower a level, with Winsock to record, it is certainly no problem. Since almost all network transmissions are based on TCP protocol or UDP protocol, the socket Protocol is the protocol at this level. But because the socket protocol level is too low, the recorded things are difficult to understand, are sockets, Port, data and other things. So, try to use high-level protocols to record, so you can read.

Two laws of choosing LoadRunner protocol

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.