public abstract class AppTestBase
extends org.jboss.arquillian.testng.Arquillian
Modifier and Type | Field and Description |
---|---|
protected static io.restassured.filter.Filter |
YAML_FILTER |
Constructor and Description |
---|
AppTestBase() |
Modifier and Type | Method and Description |
---|---|
io.restassured.response.ValidatableResponse |
callEndpoint(String type) |
static void |
configureRestAssured() |
static String |
dereference(io.restassured.response.ValidatableResponse vr,
String path)
Lookup the object at the provided path in the response and if the object is a reference (contains a $ref
property), return the reference path.
|
Object[][] |
provide() |
@BeforeClass public static void configureRestAssured() throws MalformedURLException
MalformedURLException
public io.restassured.response.ValidatableResponse callEndpoint(String type)
public static String dereference(io.restassured.response.ValidatableResponse vr, String path)
vr
- the responsepath
- a path which may be a reference object (containing a $ref)@DataProvider(name="formatProvider") public Object[][] provide()
Copyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.