Error: "-27780: read to host failed:  Connection reset by peer"
If you are getting the following error messages during replay of a Web script:
"Error -27780: read to host <host name> failed:  Connection reset by peer"
"Error -27790: Failed to read data from server <host name>"
Diagnosis: The client sends a POST request to the server and gets a response with HTTP status 200, connection close and redirection using both JS code and meta-refresh. There is no content-length, so the client is supposed to decide when to close the connection. Internet Explorer closes the connection before sending the request to the redirection URL. But, LoadRunner does not; later the server closes the connection, and the result is the error message.
For the specific situation described herein, try adding the following step after the POST step:
This step closes all the open connections, and as a result, LoadRunner stops waiting for the rest of the response of the redirection.
NOTE: 10054 is a generic Microsoft network error — it is also possible for this error to be caused as a result of the application server being too heavily loaded, or due to a network/OS issue, or even due to an anti-virus/firewall on the server. See http://www.google.com/search?hl=en&q=cause+10054
What user permissions are needed on a machine to install and run LoadRunner
Administrator for installation and power user for running LoadRunner
A user must be logged in as administrator to install LoadRunner.
It is recommended to be a member of at least power users to run LoadRunner. Sometimes, due to security restrictions, this is not possible. In that case, the user must have at least the following rights:
1. Full access (read/write permissions) to registry keys under:
2. Full access (read/write permissions) to the file system to be able to copy files.
If there is any problem either with agent start up or connection from Controller to the agent on a Windows 2000 machine with a power user, try the following:
1. Open the Local Security Settings window through Start -> Programs -> Administrative Tools -> Local Security Policy.
2. Select Security Settings -> Local Policies -> User Rights Assignments.
3. Add the user to the "Create global objects" policy.
How to create a unique results folder for each scenario execution
Creating a unique results folder for each scenario execution
To specify where results are stored:
1. Go to Results -> Results Settings. The Set Results Directory dialog box will open.
2. In the Results Name box, enter a name for the results.
3. In the Directory box, type the full path of the results directory.
4. Select the "Automatically create a results directory for each scenario execution" checkbox.
5. Click <OK> to save the results directory setting.