Highlighted
Super Contributor.
Super Contributor.
1406 views

can you suppress http 404 errors at runtime?

Jump to solution

Hi,

I know this sounds mad, but I'm wondering if at runtime, I can make an exception for http 404' so that they don't appear in the error count/log in the controller?

I basically want my http 404s to not throw an error because it's replaying production logs and 404s aren't in scope for this test. 

Cheers,

J

0 Likes
1 Solution

Accepted Solutions
Highlighted
Honored Contributor.
Honored Contributor.

Re: can you suppress http 404 errors at runtime?

Jump to solution

Hi,

There is an option in RuntimeSetting->Preference.

Please check the "Http Error as warning" 

 

Regards,

Raghul

View solution in original post

0 Likes
2 Replies
Highlighted
Honored Contributor.
Honored Contributor.

Re: can you suppress http 404 errors at runtime?

Jump to solution

Hi,

There is an option in RuntimeSetting->Preference.

Please check the "Http Error as warning" 

 

Regards,

Raghul

View solution in original post

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: can you suppress http 404 errors at runtime?

Jump to solution

Hi,

Perfect!  Thanks very much.  Not sure how I overlooked that setting as I did explore the runtime settings.  Suspect I need to get my eyes checked 😉

 

Many thanks!

J

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.