def set_http_sts(test, sts):
    """Set http status code

        :param test: test object to append response info to
        :param sts: http status code as String
        :return: updated test dict
    """
    test['extra'][0]['http status'] = sts
    return test