Skip to content

v1.1.30

Compare
Choose a tag to compare
@YamStranger YamStranger released this 20 Apr 07:04
· 3978 commits to main since this release

Commits:

  • 08c4823 test: serenity-rest tested to configure base path and pase uri and other base configurations (@YamStranger)

  • 146b1d8 feat: serenity-rest implemented wrapping of request after redirects configuration (@YamStranger)

  • 231052b feat: implemented wrapping after operations with body, content, headers, contentTypes (@YamStranger)

    Now serenity-rest will work correctly with opertions like:

    given().contentType(ContentType.XML).get(url)
    given().contentType(ContentType.XML).get(url)
    given().headers(map).get(url)
    given().header(CONTENT_TYPE.asString(), ContentType.JSON).get(url)
    given().contentType("application/json").content(body).post(url)
    
  • 30105b4 test: created tests to check if HEAD operatin works correctly and return empty body (@YamStranger)

  • 432e5f6 feat: implemented wrapping during executing on request instance operations like when, with, given, and (@YamStranger)

  • 443ca49 test: serenity-rest, added tests for checking https requests and auth params configurations (@YamStranger)

  • 4cb9449 feat: implemented wrapping of request/response after HTTPS and Auth configurations (@YamStranger)

    Now, rest assured will use wrapped request and response after configurations like below:

    given().relaxedHTTPSValidation().get(url)
    when().authentication().basic("login","password").get(url)
    given().authentication().none()
    given().auth().oauth2(token)
    given().authentication().basic("user", "password")
    
  • 5b6b67f feat: wrapped put request, updated wrapping of get request - to use only one function-endpoint (@YamStranger)

  • 5cc45f3 feat: in serenity-rest implemented setting base path, base uri, session id, port, urlEncodingEnabled (@YamStranger)

    To set base paramters next code can be used:

    given().basePath(path).get(url)
    given().baseUri(base).port(port).get(path)
    given().baseUri(base).port(port).get(path)
    given().baseUri(base).basePath("/test").get("log/levels")
    
  • 63d9538 test: added tests to check wrapping response and request and correctness of setting body, content, headers (@YamStranger)

  • 6ed97f3 style: changed request organisation, added tests for get operation (@YamStranger)

  • 794f5af test: serenity-rest, added tests for checking wrapping after redirects configuration (@YamStranger)

  • 7a014ec feat: implemented HEAD, PATCH, DELETE, OPTIONS, POST operations and wrapping of results (@YamStranger)

  • 7f439d2 test: serenity-rest added tests for using chains of given, and, when, with based on request instance (@YamStranger)

  • 81c6d30 feat: impelemented processing and wrapping of result for operations with pathParameter, queryParams, param, params, parameters, formParam (@YamStranger)

  • af19533 feat: implemented processing log operation with rest assurance, and created tests for it (@YamStranger)

  • ca059a5 test: added tests to check wrapping repsponse after PUT, POST, PATCH, DELETE, OPTIONS, HEAD requests (@YamStranger)

  • f1e2cde test: added tests for PUT operations (@YamStranger)