When you are running a load test on NeoLoad sometimes you may see the NL-NETWORK-02 "BindException" errors, Typically, this occurs because the system's socket creation capacity has been reached by the load generator. Therefore, it is necessary to change the system TCP/IP settings. Windows computers frequently experience this since a lot of sockets cannot be generated by default.
Reboot the computer hosting the Load Generator after adding the following values to the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters key using regedit.
MaxUserPort - 65534 -(REG_DWORD, decimal)
TcpTimedWaitDelay - 30 - (REG_DWORD, decimal)
Thursday, August 25, 2022
How to add a cookie in Neoload | Web_add_Cookie in Neoload | How NeoLoad manage cookies?
NeoLoad automatically manages any cookies returned by the server during the load test. These cookies can also be defined when configuring the request settings. If you want to add a cookie manually then use the below code in JavaScript NeoLoad. That's it.
context.currentVU.setCookieForServer("Domain=www.easyloadrunner.blogspot.com","Environment=CityLS");
context.currentVU.setCookieForServer("Domain=www.easyloadrunner.blogspot.com","Environment=CityLS");
Subscribe to:
Posts (Atom)