Class RestAssuredUtils

java.lang.Object
com.atlassian.bamboo.testutils.rest.RestAssuredUtils

public class RestAssuredUtils extends Object
  • Method Details

    • bambooAnonymousRestRequestSpecBuilder

      public static io.restassured.builder.RequestSpecBuilder bambooAnonymousRestRequestSpecBuilder(@NotNull @NotNull BambooEnvironmentData environmentData)
    • bambooAnonymousRestRequestSpecBuilderNoBody

      public static io.restassured.builder.RequestSpecBuilder bambooAnonymousRestRequestSpecBuilderNoBody(@NotNull @NotNull BambooEnvironmentData environmentData)
    • bambooRestRequestSpecBuilder

      public static io.restassured.builder.RequestSpecBuilder bambooRestRequestSpecBuilder(@NotNull @NotNull BambooEnvironmentData environmentData, @NotNull @NotNull TestUser testUser)
    • bambooRestRequestSpecBuilder

      public static io.restassured.builder.RequestSpecBuilder bambooRestRequestSpecBuilder(@NotNull @NotNull BambooEnvironmentData environmentData)
    • bambooRestResponseSpecBuilder

      public static io.restassured.builder.ResponseSpecBuilder bambooRestResponseSpecBuilder()
    • bambooRestGetResponseSpecBuilder

      public static io.restassured.builder.ResponseSpecBuilder bambooRestGetResponseSpecBuilder()
    • bambooRestNoContentBuilder

      public static io.restassured.builder.ResponseSpecBuilder bambooRestNoContentBuilder()
    • bambooRestDeleteResponseSpecBuilder

      public static io.restassured.builder.ResponseSpecBuilder bambooRestDeleteResponseSpecBuilder()
    • jsonPathFromResponse

      public static io.restassured.path.json.JsonPath jsonPathFromResponse(io.restassured.response.Response response)
    • getResponseSupplier

      public static Supplier<io.restassured.response.Response> getResponseSupplier(io.restassured.specification.RequestSpecification requestSpec, io.restassured.specification.ResponseSpecification responseSpec, String path)
    • getJsonPathSupplier

      public static Supplier<io.restassured.path.json.JsonPath> getJsonPathSupplier(io.restassured.specification.RequestSpecification requestSpec, io.restassured.specification.ResponseSpecification responseSpec, String path)