Multiple headers in Rest Assured does not work and respond with a 401 Unauthorized code
<p>Need to know if I am making some mistake in passing the headers in the below code (Is this the right way of passing multiple headers in rest assured?)  I get an exception as followed in Rest Assured . The header values passed works well in Jmeter and postman. </p>

<p><strong>Exception:</strong></p>

<p>java.lang.AssertionError: 1 expectation failed.
Expected status code &lt;200> doesn't match actual status code &lt;401>.</p>

<p><strong>Code:</strong></p>

<pre><code>    import org.junit.Test;
    import com.jayway.restassured.*;
    import com.jayway.restassured.http.ContentType;
    import static org.hamcrest.Matchers.*;
    import static com.jayway.restassured.RestAssured.*;

    public class APIresponse

    {

    @Test
        public void response ()
        {
            given().
                header("Id", "abc"). 
                header("Key", "NuDVhdsfYmNkDLOZQ").
                header("ConId", "xyz").
            when().
                get("testme/api/uk?Id=DT44FR100731").
            then().
                //contentType(ContentType.JSON).
                body("response.code", equalTo("200"));
        }

    }
</code></pre>