All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.magentys.rest.RestAssuredTool Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
package io.magentys.rest;

import io.restassured.RestAssured;
import io.restassured.builder.RequestSpecBuilder;
import io.restassured.specification.RequestSpecification;

public class RestAssuredTool {

    private final RequestSpecification requestSpecification;

    public RestAssuredTool() {
        this(RestAssured.baseURI);
    }

    public RestAssuredTool(final String baseURI) {
        this.requestSpecification = new RequestSpecBuilder().setBaseUri(baseURI).build();
    }

    public RequestSpecification requestSpecification() {
        return requestSpecification;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy