@Test(expectedExceptions = J4pException.class,expectedExceptionsMessageRegExp = ".*Invalid.*bulk.*")
public void invalidBulkRequestResponse() throws IOException, J4pException {

    HttpClient client = prepareMocks(null,MEMORY_RESPONSE);
    J4pClient j4p = new J4pClient(TEST_URL,client);
    j4p.execute(TEST_REQUEST,TEST_REQUEST_2);
}