Annotation Interface TestHTTPEndpoint


@Retention(RUNTIME) @Target({METHOD,TYPE,FIELD}) public @interface TestHTTPEndpoint
Indicates that this test class or method is testing a specific endpoint. RESTAssured will also have its base URL modified so all URLS can be given relative to the root of the provided resource class. It can also be applied to TestHTTPResource fields to set the base path. This mechanism is pluggable, and currently supports JAX-RS endpoints, Servlets and Reactive Routes.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The HTTP endpoint that is under test.
  • Element Details

    • value

      Class<?> value
      The HTTP endpoint that is under test. All injected URL's will point to the root path of the provided resource.