none
Req 1.6 Degrade gracefully when services are unavailable RRS feed

  • Question

  • The application depends only on IIS (It is a web application). Does this test apply to installation; check for IIS before install?

    Monday, November 5, 2007 7:23 AM

Answers

  • Hi Hallis,

     

    As per the test case document, If the application depends on a service that’s installed but either not started or disabled, during installation and also when executed, the application must do one of the following:

    ·       Inform the user about the disabled service and offer to reconfigure the service.

    ·       Inform the user about the disabled service and how to enable it in the services UI.

    If the application has a dependency on a service that’s not installed it must identify the service.

     

    Hence, as long as the user is informed about any issues that arise and how to deal with them, it is OK that features that depend on the services not function. The application must not crash, hang, display cryptic error messages, or fail to operate.

    If the application depends on a service that is not installed it must identify the service.

     

    Hope this helps.

     

    Dileep, Microsoft

    Monday, November 5, 2007 6:32 PM

All replies

  • Hi Hallis,

     

    As per the test case document, If the application depends on a service that’s installed but either not started or disabled, during installation and also when executed, the application must do one of the following:

    ·       Inform the user about the disabled service and offer to reconfigure the service.

    ·       Inform the user about the disabled service and how to enable it in the services UI.

    If the application has a dependency on a service that’s not installed it must identify the service.

     

    Hence, as long as the user is informed about any issues that arise and how to deal with them, it is OK that features that depend on the services not function. The application must not crash, hang, display cryptic error messages, or fail to operate.

    If the application depends on a service that is not installed it must identify the service.

     

    Hope this helps.

     

    Dileep, Microsoft

    Monday, November 5, 2007 6:32 PM
  • For web applications, to have any error messages to be displayed if a service is not running at MINIMUM requires IIS service to be running. Or else we cannot direct errors to the appropriate error pages (aspx).

     

    In this case, we are testing before installation that the IIS Admin service is available BUT will not be able to degrade 'gracefully' once IIS Admin service is disabled after installation has completed or during installation itself.

     

    Is this acceptable? Thanks.

    Tuesday, December 11, 2007 11:08 AM
  •  

    Hi Pebbles,

     

    For most web apps, IIS is a rock solid prerequisite. If there is any component that is launchable with IIS not installed or service stopped, then the app should at minimum inform the user that IIS is required for full functionality or that the service is stopped.

     

    For most web apps, there may not be any launchable executable or application. In this case, assume that IIS must be installed and started, and then proceed with the rest of the test case.

     

    Yes, it is acceptable for web apps to expect IIS to be installed and started to properly test the rest of this test case.

     

    A good test case scenario this represents is what happens to the app, the server or the client processes when IIS shuts down unexpectedly?

     

    -Paul

    Wednesday, December 12, 2007 12:27 AM
  • Understood. Thanks for the guidance.

     

    Wednesday, December 12, 2007 2:11 AM