Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Highlights of problems encountered by LR

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Explanation: the solutions to some problems in the article are extracted from other articles on the Internet, but they are all problems that I have encountered, and the methods have been verified.

Question 1:

The script reported an error during playback: Error-27776: Server "XXX" shut connection during attempt to negotiate SSL session

Solution:

Loadrunner defaults to sending via sockets (converting http to sockets), while sockets defaults to ssl2,ssl3. Ssl.

Method 1: playback using Winlnet replay instead of Sockets (windows only) (set in runtime-settings). Winlnet is a communication attraction of Microsoft, and its IE is based on this communication. Winlnet does not support unix, and the silent mode in the vuser thread does not accurately model the speed and number of network connections.

Method 2: add the statement web_set_sockets_option ("SSL_VERSION", "3"); set the version that uses ssl, that is:

Web_set_sockets_option ("SSL_VERSION", "3")

After setting the ssl version before the corresponding request in the script, the problem can also be solved, but the TLS version of ssl is used, that is, the following function is added:

Web_set_sockets_option ("SSL_VERSION", "TLS")

For more information on how to set the function web_set_sockets_option, please see the function web_set_sockets_option in the HP LoadRunner Online Function Reference documentation. The configuration of SSL_VERSION is described as follows:

SSL_VERSION

The SSL version preferences 2, 3, 2 and 3, TLS.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report