You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to monitor pages on a site which is configured to redirect a resource is unavailable. I found that when presented with a 302 (object moved) response, statusok happily follows the redirect. This means statusok will miss the event when a page goes down.
While I'm not trying to monitor my old blog, it can be used to repro:
Result: statusok reports success for the first item and failure for the second.
Expected: status okay should report failure for the first and success for the second.
Thanks for the cool tool!
The text was updated successfully, but these errors were encountered:
Add 2 options to request config:
* redirectLimit - Limit for redirects performed while doing HTTP request
* targetUrl - Expected request url after all redirects has been done
Hi,
I'm trying to monitor pages on a site which is configured to redirect a resource is unavailable. I found that when presented with a 302 (object moved) response, statusok happily follows the redirect. This means statusok will miss the event when a page goes down.
While I'm not trying to monitor my old blog, it can be used to repro:
Result: statusok reports success for the first item and failure for the second.
Expected: status okay should report failure for the first and success for the second.
Thanks for the cool tool!
The text was updated successfully, but these errors were encountered: