@ContextConfiguration(classes=ReactorNettyHttpClientSpringBootTests.TestConfiguration.class) public abstract class ReactorNettyHttpClientSpringBootTests extends Object
HttpClient instrumentation performed by
HttpClientBeanPostProcessor, as wired by auto-configuration.
Note: HttpClient can be an implementation of WebClient, so
care should be taken to also test that integration. For example, it would be easy to
create duplicate client spans for the same request.
| Modifier and Type | Class and Description |
|---|---|
static class |
ReactorNettyHttpClientSpringBootTests.TestConfiguration |
| Constructor and Description |
|---|
ReactorNettyHttpClientSpringBootTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertSingleB3Header(String b3SingleHeaderReadByServer,
org.springframework.cloud.sleuth.exporter.FinishedSpan clientSpan,
org.springframework.cloud.sleuth.TraceContext parent) |
void |
shouldRecordRemoteEndpoint() |
void |
shouldRecordRequestError() |
void |
shouldSendTraceContextToServer_rootSpan() |
void |
shouldUseInvocationContext() |
void |
tearDown() |
abstract org.springframework.cloud.sleuth.TraceContext |
traceContext() |
public ReactorNettyHttpClientSpringBootTests()
@AfterEach public void tearDown()
public abstract org.springframework.cloud.sleuth.TraceContext traceContext()
@Test
public void shouldRecordRemoteEndpoint()
throws Exception
Exception@Test
public void shouldUseInvocationContext()
throws Exception
Exceptionpublic void assertSingleB3Header(String b3SingleHeaderReadByServer, org.springframework.cloud.sleuth.exporter.FinishedSpan clientSpan, org.springframework.cloud.sleuth.TraceContext parent)
@Test
public void shouldSendTraceContextToServer_rootSpan()
throws Exception
Exception@Test public void shouldRecordRequestError()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.