TestUtils.addContent(session, decodedfileName, inputStream, defaultFileNodeType, MediaType.TEXT_PLAIN);
ContainerResponse response = service(WebDAVMethods.SEARCH, getPathWS(), "", null, basicSql.getBytes());
// serialize response entity to string
SearchResultResponseEntity entity = (SearchResultResponseEntity)response.getEntity();
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
entity.write(outputStream);
String resp = outputStream.toString("UTF-8");
System.out.println("=======Search response============");
System.out.println(resp);
System.out.println("=======Decoded file name==========");