Class OpenTracingMpRestClientTests

java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.opentracing.tck.OpenTracingBaseTests
org.eclipse.microprofile.opentracing.tck.rest.client.OpenTracingMpRestClientTests
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

public class OpenTracingMpRestClientTests extends OpenTracingBaseTests
Author:
Pavol Loffay
  • Constructor Details

    • OpenTracingMpRestClientTests

      public OpenTracingMpRestClientTests()
  • Method Details

    • createDeployment

      @Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
    • executeNested

      protected void executeNested(String path, int uniqueId, int nestDepth, int nestBreadth, boolean failNest, boolean async)
      Execute the nested web service.
      Overrides:
      executeNested in class OpenTracingBaseTests
      Parameters:
      uniqueId - Some unique ID.
      nestDepth - How deep to nest the calls.
      nestBreadth - Breadth of first level of nested calls.
      failNest - Whether to fail the nested call.
      async - Whether to execute nested requests asynchronously.
    • getExpectedNestedServerSpan

      protected TestSpan getExpectedNestedServerSpan(String path, String spanKind, int uniqueId, int nestDepth, int nestBreadth, boolean failNest, boolean isFailed, boolean async)
      The expected nested span layout.
      Overrides:
      getExpectedNestedServerSpan in class OpenTracingBaseTests
      Parameters:
      spanKind - Span kind
      uniqueId - The unique ID of the request.
      nestDepth - Nest depth
      nestBreadth - Nest breadth
      failNest - Whether to fail the nested call.
      isFailed - Whether this request is expected to fail.
      async - Whether to execute asynchronously.
      Returns:
      Span for the nested call.