def METHOD_NAME(
    self,
    request,
    kube_apis,
    ingress_controller_prerequisites,
    crd_ingress_controller,
    v_s_route_app_setup,
    v_s_route_setup,
    test_namespace,
    jwt_virtual_server_route,
):
    """
    Test invalid jwt-policy in Virtual Server Route with keys fetched form Azure
    """
    req_url = f"http://{v_s_route_setup.public_endpoint.public_ip}:{v_s_route_setup.public_endpoint.port}"
    replace_configmap_from_yaml(
        kube_apis.v1,
        ingress_controller_prerequisites.config_map["metadata"]["name"],
        ingress_controller_prerequisites.namespace,
        jwt_cm_src,
    )
    pol_name = create_policy_from_yaml(
        kube_apis.custom_objects, jwt_pol_invalid_src, v_s_route_setup.route_m.namespace
    )
    wait_before_test()
    print(f"Patch vsr with policy: {jwt_virtual_server_route}")
    patch_v_s_route_from_yaml(
        kube_apis.custom_objects,
        v_s_route_setup.route_m.name,
        jwt_virtual_server_route,
        v_s_route_setup.route_m.namespace,
    )
    wait_before_test()
    resp1 = requests.get(
        f"{req_url}{v_s_route_setup.route_m.paths[0]}",
        headers={"host": v_s_route_setup.vs_host},
    )
    token = get_token(request)
    resp2 = requests.get(
        f"{req_url}{v_s_route_setup.route_m.paths[0]}",
        headers={"host": v_s_route_setup.vs_host, "token": token},
    )
    delete_policy(kube_apis.custom_objects, pol_name, v_s_route_setup.route_m.namespace)
    patch_v_s_route_from_yaml(
        kube_apis.custom_objects,
        v_s_route_setup.route_m.name,
        std_vsr_src,
        v_s_route_setup.route_m.namespace,
    )
    assert resp1.status_code == 500 and f"Internal Server Error" in resp1.text
    assert resp2.status_code == 500 and f"Internal Server Error" in resp2.text