A dirty way of testing this is to run pebble behind nginx, and then install an nginx directive to respond 503s if a filepath exists on the system. Then you just delete/touch the filepath as needed.
5 Likes