private List<String> getJMXasList(String url) {
        List<String> jmx = new ArrayList<String>(2);
        String jmxScript = null;
        String jmxScriptName = null;
        try {
            HttpResponse response = getJMX(url);
            if (response != null) {
                HeaderIterator headerIterator = response.headerIterator();
                while (headerIterator.hasNext()) {
                    Header header = headerIterator.nextHeader();
                    if (header.getName().equals("Content-Disposition")) {
                        String headerValue = header.getValue();
                        // added filename of *.jmx
                        jmxScriptName = headerValue.substring(10, headerValue.length() - 1);
                        jmx.add(jmxScriptName);
                        BmLog.debug("JMX is downloaded from server");
                    }
                }
                jmxScript = EntityUtils.toString(response.getEntity());
                jmx.add(jmxScript);

            }
        } catch (IOException ioe) {
            BmLog.error("error while decoding response from server", ioe);
        } finally {
            return jmx;
        }
    }