Forum Discussion

PoojaBhandari's avatar
PoojaBhandari
New Contributor
11 months ago

Incorrect status code from Network tab and header for a particular url

Hi 

 

On hitting a url I am getting 200 instead of 404 error by automation script . 

 

For rest of the url error shown is correct, not sure why for particular url only it doesn't show me error but the error page on browser is correct.

 

Any advice what I need to change or update to make automation script working fine?

1 Reply

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    You want 404 Not Found as opposed to 200 OK to appear!?

     

    The HTTP 404 Not Found response status code indicates that the server cannot find the requested resource. Links that lead to a 404 page are often called broken or dead links and can be subject to link rot.

     

    This doesn't sound like it's relating to TestComplete, but your web application under test.