Class ApiSteps

java.lang.Object
de.telekom.test.bddwebapp.api.steps.ApiSteps
All Implemented Interfaces:
RestAssuredSteps

public abstract class ApiSteps extends Object implements RestAssuredSteps
Abstract steps class for api tests.
Author:
Daniel Keiss <daniel.keiss@telekom.de>

Copyright (c) 2023 Daniel Keiss, Deutsche Telekom IT GmbH This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.

  • Field Details

  • Constructor Details

    • ApiSteps

      public ApiSteps()
  • Method Details

    • clearRequest

      public void clearRequest()
    • recallRequest

      public io.restassured.specification.RequestSpecification recallRequest()
      Specified by:
      recallRequest in interface RestAssuredSteps
    • rememberRequest

      public void rememberRequest(io.restassured.specification.RequestSpecification requestSpecification)
      Specified by:
      rememberRequest in interface RestAssuredSteps
    • recallResponse

      public io.restassured.response.Response recallResponse()
      Description copied from interface: RestAssuredSteps
      Recall the current response from story interaction. The response is set a RequestInteractionFilter.
      Specified by:
      recallResponse in interface RestAssuredSteps