Uploaded image for project: 'Logging analytics'
  1. Logging analytics
  2. LOG-233

[Test Case 4] Enhance error message in response

XMLWordPrintable

      Enhance error message in response. Message is either too detailed or not detailed enough.

      Example:

      Internal Server Error with <html><body><h1>503 Service Unavailable</h1>
      No server is available to handle this request.
      </body></html>

       

      If the intent is to provide detailed error message the example message above is not detailed enough. The message omits important information that will help put the error in the proper context. In some cases the error is not only unclear but also misleading. The error message above seems to indicate that the context builder is unavailable. In reality the context builder is operational but failed to collect all necessary data from AAI for the requested service instance.  The "503 Service Unavailable" error was actually sent back to the context builder by the AAI. 

      When the AAI error response is included, the context builder error message should clearly state that.

       

      If the intent is to provide more user friendly message the reason for the error must be clearly stated and should not assume the receiver of the message has detailed knowledge of the internal workings of the context builder or the AAI API.

            yong_chen yong_chen
            jbalasub jbalasub
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: