Class AbstractWebTest
java.lang.Object
net.avcompris.commons3.web.it.utils.AbstractWebTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Use the "@RestAssured" annotation set on the test class (e.g.static void
setUpRestAssured
(String baseURL) Set up Rest Assured with the env property to use for the API baseURL (e.g.
-
Constructor Details
-
AbstractWebTest
public AbstractWebTest()
-
-
Method Details
-
setUpRestAssured
Use the "@RestAssured" annotation set on the test class (e.g. AppInfoTest) to retrieve the env property to use for the API baseURL (e.g. "customers.baseURL"), and then callsetUpRestAssured(String)
- Throws:
Exception
-
setUpRestAssured
Set up Rest Assured with the env property to use for the API baseURL (e.g. "${customers.baseURL}"), which should have a value such as "http://localhost:8080/api/v1". Please useExpressionUtils.process(String)
if you want to process an expression that uses variables.- Throws:
IOException
-