Skip to content

Instantly share code, notes, and snippets.

@henesgokdag
Created March 6, 2021 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henesgokdag/39e851304ebd384e79bb63294b354506 to your computer and use it in GitHub Desktop.
Save henesgokdag/39e851304ebd384e79bb63294b354506 to your computer and use it in GitHub Desktop.
RestAssured-RickAndMortyApi_BaseService
package Services;
import io.restassured.RestAssured;
import io.restassured.specification.RequestSpecification;
public class BaseService {
public RequestSpecification setupRequestSpecification(){
RequestSpecification requestSpecification = RestAssured.given().baseUri("https://rickandmortyapi.com/api");
return requestSpecification;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment