*/
private void testUploadFileByPath(String serverUrl) throws Exception {
String requestUrl = UrlUtils.concat(serverUrl, FILES_ENDPOINT_PATH);
HttpPost uploadFileRequest = new HttpPost(UrlUtils.concat(requestUrl, "/uploads"));
MultipartEntity multipartEntity = new MultipartEntity();
multipartEntity.addPart(requestUrl, new InputStreamBody(getClass().getResourceAsStream(imageFile), mimetypeGerman, "de.jpg"));
multipartEntity.addPart("language", new StringBody("de"));
multipartEntity.addPart("path", new StringBody(filePath));
multipartEntity.addPart("mimeType", new StringBody("image/png"));
uploadFileRequest.setEntity(multipartEntity);
logger.debug("Uploading file at path {}", uploadFileRequest.getURI());