Test sending of HTTP PUT requests. @throws Exception exception
()
| 62 | * @throws Exception exception |
| 63 | */ |
| 64 | @Test public final void put() throws Exception { |
| 65 | try(QueryProcessor qp = new QueryProcessor(_HTTP_SEND_REQUEST.args( |
| 66 | " <http:request method='put' status-only='true'>" |
| 67 | + "<http:body media-type='text/xml'>" + BOOKS + "</http:body>" |
| 68 | + "</http:request>", REST_URL), ctx)) { |
| 69 | checkResponse(qp.value(), 1, 201); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Test sending of HTTP POST requests. |
no test coverage detected