Not sure how this is possible. I re-read up on getResourceAsStream and it\'s always returning null.
InputStream source = this.getClass().getResourceAsStream(
In case you are using Maven, add this part to your pom.xml
pom.xml
${project.basedir}/src/test/resources
Your test.xml and other resource files must be located in src/test/resources
test.xml
src/test/resources