public static HttpChecker exists(final Method method, final String endpoint) {
        return request -> {
            try {
                request.request(method, endpoint)
                        .then()
                        .log()
                        .ifValidationFails()
                        .body("code", nullValue())
                        .body("message", not(containsString("please check your configuration!")));
            } catch (AssertionError error) {
                Assertions.fail("endpoint '" + endpoint + "' not exists", error);
            }
        };
    }
Detection endpoint exists.

@param method method
@param endpoint endpoint
@return HttpChecker
shenyu-e2e/shenyu-e2e-engine/src/main/java/org/apache/shenyu/e2e/engine/scenario/function/HttpCheckers.java