Class RestAssuredUtils
- java.lang.Object
-
- com.atlassian.bamboo.testutils.rest.RestAssuredUtils
-
public class RestAssuredUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.restassured.builder.RequestSpecBuilder
bambooAnonymousRestRequestSpecBuilder(@NotNull BambooEnvironmentData environmentData)
static io.restassured.builder.RequestSpecBuilder
bambooAnonymousRestRequestSpecBuilderNoBody(@NotNull BambooEnvironmentData environmentData)
static io.restassured.builder.ResponseSpecBuilder
bambooRestDeleteResponseSpecBuilder()
static io.restassured.builder.ResponseSpecBuilder
bambooRestGetResponseSpecBuilder()
static io.restassured.builder.RequestSpecBuilder
bambooRestRequestSpecBuilder(@NotNull BambooEnvironmentData environmentData)
static io.restassured.builder.RequestSpecBuilder
bambooRestRequestSpecBuilder(@NotNull BambooEnvironmentData environmentData, @NotNull TestUser testUser)
static io.restassured.builder.ResponseSpecBuilder
bambooRestResponseSpecBuilder()
static Supplier<io.restassured.path.json.JsonPath>
getJsonPathSupplier(io.restassured.specification.RequestSpecification requestSpec, io.restassured.specification.ResponseSpecification responseSpec, String path)
static Supplier<io.restassured.response.Response>
getResponseSupplier(io.restassured.specification.RequestSpecification requestSpec, io.restassured.specification.ResponseSpecification responseSpec, String path)
static io.restassured.path.json.JsonPath
jsonPathFromResponse(io.restassured.response.Response response)
-
-
-
Method Detail
-
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()
-
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)
-
-