Version 8

    How to Run Portal Testsuite

    • Checkout the source code from repository

    • Use JDK 1.5 and Ant 1.6.5

    • Go to build directory and run "bash". For windows, use build.bat .

    • Set the environment variable JBOSS_HOME to the JBoss AS you want to test against. e.g. export JBOSS_HOME=/home/prabhat/jboss-4.2.2.GA. You need a clean JBoss AS instance.

    • Go to testsuite directory and run "ant tests"

    • That's it. You should have reports in in testuite/output/reports




    • If you get OOM or seems like test is stuck, check to see if server is still running by looking into default/log/server.log. Portal testsuite starts JBoss AS so modifying run.conf to give it more heap will not change the heap size. Change the heap size in testsuite/imports/server-config.xml

    • If you get  errors like "Failed to deploy to ........test.sar" that means your AS already has some portal binaries in it. Make sure that server/default/deploy does not have any portal binaries.