Uses of Class
zipkin2.junit5.HttpFailure
-
Uses of HttpFailure in zipkin2.junit5
Methods in zipkin2.junit5 that return HttpFailureModifier and TypeMethodDescriptionstatic HttpFailureHttpFailure.disconnectDuringBody()Ex a network partition occurs in the middle of the POST requeststatic HttpFailureHttpFailure.sendErrorResponse(int code, String body) Ex code 400 when the server cannot read the spansMethods in zipkin2.junit5 with parameters of type HttpFailureModifier and TypeMethodDescriptionZipkinExtension.enqueueFailure(HttpFailure failure) Adds a one-time failure to the http endpoint.