Unanswered question

Handling Favicon error in script

I have recorded one virtual user.

After recording I click on check virtual user and start checking the virtual user.

I got 404 error for /favicon.ico request.
I want to know how to fix this error ???

Keerthy R.
Keerthy R.

Keerthy R.

Level
1
102 / 750
points

Answers

As this error is normal (the request is really performed by the browser and the server returns a 404), you can make NeoLoad ignore this error.

Ensure the option "Do not mark the specified HTTP error codes..." is checked in the Project settings, "Runtime Parameters" section.

James O.
James O.

James O.

Level
0
13 / 100
points

Rather then ignoring the error code being returned I usually just disable the favicon.ico request after recording the tests.
This means that only this request will be ignored and wont stop other 404 errors from appearing.

This is an alernative. Note that the option ignores 404 that were recorded as 404. NeoLoad will continue to raise errors for 404 that are new (recorded as 200 OK for example).