Interface ResponseGrab

All Known Implementing Classes:
AssertableResponse

public interface ResponseGrab
  • Method Details

    • grabResponseHeader

      String grabResponseHeader(String header)
      Return response header data
      Parameters:
      header - header name
      Returns:
      String with response header value
    • grabResponseBody

      String grabResponseBody()
      Return response body
      Returns:
      String with response body
    • grabStringFromResponseByPath

      String grabStringFromResponseByPath(String path)
      Return response body field data (converted to String)
      Parameters:
      path - path to field (example: data.user.id)
      Returns:
      String with response body field data
    • grabDataFromResponseByPath

      Object grabDataFromResponseByPath(String path)
      Return response body field data (any type)
      Parameters:
      path - path to field (example: data.user.id)
      Returns:
      Object with response body field data