title: How to use REST assured?
body: <p>I have never used JUnit or other testing frameworks. All i know is how to develop rest service. I recently saw REST assured framework to test REST api. But all the articles that i found looks like below. But i don't know how to pass request xml and how will i get response and when should i call this method.?</p>
  
  <p>Do i need to use some other tool before this REST assured.? I am completely beginner in this kind of testing frameworks. Please show me some light in this world. All i know is how to send request and check values in the response in SOAPUI. I have never tried this.</p>
  
  <pre><code>expect().
      statusCode(200).
      body(
        "user.email", equalTo("test@hascode.com"),
        "user.firstName", equalTo("Tim"),
        "user.lastName", equalTo("Testerman"),
        "user.id", equalTo("1")).
      when().
      get("/service/single-user/xml");
  </code></pre>