code: def get_error_message(response_content):
      
      apache_regex = re.compile('.*<u>(.*)</u></p><p>.*')
      match = apache_regex.search(response_content)
      if match:
          error_message = match.group(1)
      else:
          local_regex = re.compile('.*<title>(.*)</title>.*')
          match = local_regex.search(response_content)
          if match:
              error_message = match.group(1)
          else:
              error_message = response_content
      return error_message
docs: Extract error message from the HTTP response
  
      :param response_content: HTTP response from test case execution API
      :returns: error message