@Override
        public PolicyTestBackEndApiResponse invoke(ApiRequest request, byte[] requestBody) {
            ApiResponse response = new ApiResponse();
            response.setMessage("OK");
            response.setCode(200);
            String responseBody = "{}";
            try {
                responseBody = new ObjectMapper()
                        .writeValueAsString(request.getApi().getEndpointProperties());
            } catch (JsonProcessingException e) {
                e.printStackTrace();
            }
            return new PolicyTestBackEndApiResponse(response, responseBody);
        }
Return the EndPointProperties in response body
plugins/timeout-policy/src/test/java/io/apiman/plugins/timeoutpolicy/TimeoutPolicyTest.java