e.printStackTrace(); }
System.out.println("> No XML file found. Check your path."); }
    public static void main(String[] args) {        if (args.length != 1) {            System.out                    .println("> Please specify path to your scenario XML file as command line argument. Exit.");            return;        } else {            try {                DOMParser parser = new DOMParser();                Tester tester = new Tester();                                // validate scenario against DTD                parser.setFeature("http://xml.org/sax/features/validation", true);                                parser.parse(args[0]);                Document document = parser.getDocument();                                System.out.println("> SCENARIO: "+parser.getDocument().getDocumentElement().getAttribute("name"));                //  XmlRpc.setDebug(true);                WebServer server = new WebServer(CORE_PORT, InetAddress                        .getByName(HOST));                server.start();                server.addHandler("core", tester);                              tester.traverse(document);                System.out.println("> SCENARIO COMPLETED.");                            } catch (UnknownHostException e) {                e.printStackTrace();            } catch (SAXException e) {                e.printStackTrace();            } catch (IOException e) {                e.printStackTrace();            }        }    }