Class ApiSteps

  • All Implemented Interfaces:
    RestAssuredSteps
    Direct Known Subclasses:
    SeleniumSteps

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

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

    • Constructor Detail

      • ApiSteps

        public ApiSteps()
    • Method Detail

      • 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