Pre- and post-execution scripts for HTTP monitors