def METHOD_NAME():
    # Register using http url
    clean_mar_file("resnet-18.mar")
    response = test_utils.register_model("resnet18", "https://torchserve.pytorch.org/mar_files/resnet-18.mar")
    create_resnet_archive()
    response = test_utils.register_model("resnet18", "resnet-18.mar")
    if json.loads(response.content)['code'] == 409 and \
            json.loads(response.content)['type'] == "ConflictStatusException":
        assert True, "Conflict Status Exception, " \
                     "Duplicate model registration request"
        response = test_utils.unregister_model("resnet18")
        time.sleep(10)
    else:
        assert False, "Something is not right!! Successfully re-registered existing model "