View previous topic :: View next topic |
Author |
Message |
kevinkenny
Joined: 12 Jan 2010 Posts: 16
|
Posted: Wed Mar 09, 2011 6:47 pm Post subject: Configure HTTP test to go bad only on 503 status |
|
|
How do I configure the HTTP test to only go bad if the http header contains:
HTTP/1.1 503
We are testing IIS7 application pool availability on windows 2008. We don't care about status's such as 3xx, 4xx or 500. If we get these then we know the app pool is running/accepting requests and consider them good.
Regardless of what condition I put into the Check Header field the test still fails if the site responds with a 404 or 500 status.
Thanks
Kevin |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Mar 09, 2011 8:04 pm Post subject: |
|
|
Set "Use Normal status if %HttpCode%<>503" option in Test Properties dialog
Regards
Alex |
|
Back to top |
|
|
kevinkenny
Joined: 12 Jan 2010 Posts: 16
|
Posted: Thu Mar 10, 2011 3:27 am Post subject: |
|
|
Hi Alex,
Ah ha! I never noticed the wee [+] next to Optional Status Processing to expand this pane.
Thanks again for the speedy reply.
Cheers
Kevin
KS-Soft wrote: | Set "Use Normal status if %HttpCode%<>503" option in Test Properties dialog
Regards
Alex |
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Mar 10, 2011 10:37 am Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
|
|