You can do this with maven and its resource processing: mvn clean verify -Dtest=hola -DfailIfNoTests=false -Dadmin.username=admin -Dadmin.password=admin
There is a webtest-maven-plugin: http://people.apache.org/~sgoeschl/download/maven-plugins/webtest-maven-plugin/site/index.html<http://people.apache.org/%7Esgoeschl/download/maven-plugins/webtest-maven-plugin/site/index.html> and you can have in your web-tests.xml: <property file="test-data.properties"/> with test-data.properties: admin.username=${admin.username} admin.password=${admin.password} Josep 2010/11/4 Mario Somrei <[email protected]> > Hi everyone, > > I have a few webtests that are testing login behaviour. At the moment I > store the password in my properties file as plaintext . As you may > understand I don't feel very much comfortable with this. So I would like to > know if there is any possibility to use encrypted passwords instead of > plaintext. > > Cheers > Mario > -- > Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! > Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest >

