public void asyncDoPostMultiPartTest() throws Exception {
AsyncHttpClient client = getAsyncHttpClient(null);
try {
final CountDownLatch l = new CountDownLatch(1);
Part p = new StringPart("foo", "bar");
client.preparePost(getTargetUrl()).addBodyPart(p).execute(new AsyncCompletionHandlerAdapter() {
@Override
public Response onCompleted(Response response) throws Exception {