Showing posts from November, 2009

Selenium test reporting with maven surefire report plugin

If you are familiar with Junit, you may have already known the maven surefire plugin which enables running unit test inside maven build cycles. Normally, surefire plugin generates the XML test reports at /target/surefire-reports directory. If you use selenium RC integrated with your build system or as a separate test framework, you may use maven-selenium-plugin coupled with the surefire plugin to launch your tests. As far as I know, there are two ways to generate test reports when selenium is coupled with maven. 1. Use LoggingSelenium java library to generate HTML test reports with screenshots 2. Use maven-surefire-report plugin This post is about the latter one, maven-surefire-report plugin. The default configuration of surefire-report-plugin is trivial. You just need to add a <reporting> element to projects' pom.xml as follows. <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <

Running WSO2 Carbon based products on IBM JDK

The next minor release of WSO2 Carbon product platform (2.0.2) will be fully compatible with IBM JDK (IBM J9 VM 2.4). You simply need to update transports.xml as follows in order to run any of the WSO2 carbon based product on IBM JDK. Open CARBON_HOME/transports.xml Add the following parameter to HTTPS transport configuration <parameter name="algorithm">IBMX509</parameter> Now, restart carbon. Server will be started successfully on IBM JDK. Carbon-2.0.2 product platform will be released within next week. Stay tuned..