Uses of Class
com.guinetik.rr.http.MockRocketClient
-
Packages that use MockRocketClient Package Description com.guinetik.rr.http -
-
Uses of MockRocketClient in com.guinetik.rr.http
Methods in com.guinetik.rr.http that return MockRocketClient Modifier and Type Method Description MockRocketClientMockRocketClient. addMockResponse(String method, String urlPattern, BiFunction<String,Object,Object> responseProducer)Adds a mock response for a specific HTTP method and URL pattern.MockRocketClientMockRocketClient. withHeader(String name, String value)Sets a custom header value that will be included in response dataMockRocketClientMockRocketClient. withLatency(String urlPattern, long latencyMs)Sets the latency for a specific endpoint in millisecondsMockRocketClientMockRocketClient. withStatusCode(String urlPattern, int statusCode)Sets the status code for a specific endpoint
-