torus's avatar
torus
Contributor
2 years ago
Status:
New Idea

Web Testing - extracting Network Responses and http status codes

Would be nice to have capability to flag when a 400/500 network error message occurrs during a UI test. 

 

While I am running a UI test, I would like for testComplete to monitor the Network area of the browser (in the developer tools of chrome). If a failure status shows up (such as a 400 or 500 series http response code), then TestComplete would push that onto a stack or write it to the log as a 'Warning' message. Even though you get a 400 or 500 response in the network tab, this doesn't mean the test is going to fail. Even with a 400/500 error message, there are instances where you are still allowed to interact successfully with the UI without any issues. So, a UI test could pass, but there would be some glitches with the website that the TestComplete test wouldn't catch if it weren't monitoring the network traffic (the http response codes).

 

I originally posted about this in the following question post:

https://community.smartbear.com/t5/TestComplete-Questions/Web-Testing-How-to-extract-Network-Responses-and-http-status/m-p/255699#M111245 

 

Is this reason this is not a default feature of web testing possibly because this would slow down the UI tests too much?

No CommentsBe the first to comment