title: How to save response log in variable using rest assured?
body: <p>following is my post re quest , in console i am able to see the log i want to store in variable.:</p>
  
  <p>RestAssured.baseURI = "<a href="https://www.dummy.com//services" rel="nofollow noreferrer">https://www.dummy.com//services</a>";</p>
  
  <pre><code>            RestAssured.given().
              headers("data",crypto). 
          when().
              post("//auth.svc/auth").
          then().contentType(ContentType.JSON).log().all();
  </code></pre>