erdengk commented on code in PR #3372:
URL: https://github.com/apache/incubator-shenyu/pull/3372#discussion_r865526658


##########
shenyu-integrated-test/shenyu-integrated-test-common/src/main/java/org/apache/shenyu/integratedtest/common/helper/HttpHelper.java:
##########
@@ -236,6 +241,26 @@ public <S> S getFromGateway(final String path, final 
Map<String, Object> headers
         }
     }
 
+    /**
+     * Send a get http request to shenyu gateway .
+     *
+     * @param <S>     response type
+     * @param path    path
+     * @param type    type of response passed to {@link Gson#fromJson(String, 
Type)}
+     * @return response from gateway
+     * @throws IOException IO exception
+     */
+    public <S> S testMetricsPluginFromGateway(final String path, final Type 
type) throws IOException {

Review Comment:
   good idea,thanks~



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to