Hi,
$subject for 1 out of 7 tests in XSLT tests.
Results :
Failed tests:
xsltTransformationFromUrl(org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase):
Unable to perform XSLT transformation using : Value {name ='null', keyValue
='transform.xslt'} against source XPath : s11:Body/child::*[position()=1] |
s12:Body/child::*[position()=1]
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0
Attached the surefire report.
Thanks.
--
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware
email: [email protected] cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
<?xml version="1.0" encoding="UTF-8"?>
<testng-results skipped="0" failed="1" total="7" passed="6">
<reporter-output>
</reporter-output>
<suite name="Command line suite" duration-ms="43648" started-at="2013-05-31T14:37:50Z" finished-at="2013-05-31T14:38:34Z">
<groups>
<group name="wso2.esb">
<method signature="org.wso2.carbon.mediator.tests.xslt.DynamicKeyXsltTransformationTestCase.xsltTransformationFromDynamicKey()" name="xsltTransformationFromDynamicKey" class="org.wso2.carbon.mediator.tests.xslt.DynamicKeyXsltTransformationTestCase"/>
<method signature="org.wso2.carbon.mediator.tests.xslt.FileSystemLocalEntryXsltTransformationTestCase.xsltTransformationFromFileSystem()" name="xsltTransformationFromFileSystem" class="org.wso2.carbon.mediator.tests.xslt.FileSystemLocalEntryXsltTransformationTestCase"/>
<method signature="org.wso2.carbon.mediator.tests.xslt.InLineLocalEntryXsltTransformationTestCase.xsltTransformationWithInlineLocalEntry()" name="xsltTransformationWithInlineLocalEntry" class="org.wso2.carbon.mediator.tests.xslt.InLineLocalEntryXsltTransformationTestCase"/>
<method signature="org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase.xsltTransformationFromConfigRegistry()" name="xsltTransformationFromConfigRegistry" class="org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase"/>
<method signature="org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase.xsltTransformationFromGovernanceRegistry()" name="xsltTransformationFromGovernanceRegistry" class="org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase"/>
<method signature="org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase.xsltTransformationFromUrl()" name="xsltTransformationFromUrl" class="org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase"/>
<method signature="org.wso2.carbon.mediator.tests.xslt.XsltTransformationWithPropertyTestCase.xsltTransformationWithProperty()" name="xsltTransformationWithProperty" class="org.wso2.carbon.mediator.tests.xslt.XsltTransformationWithPropertyTestCase"/>
</group>
</groups>
<test name="Test - Mediator xslt" duration-ms="43639" started-at="2013-05-31T14:37:50Z" finished-at="2013-05-31T14:38:34Z">
<class name="org.wso2.esb.integration.ESBTestServerManager">
<test-method status="PASS" signature="startServer()" name="startServer" is-config="true" duration-ms="18258" started-at="2013-05-31T14:37:32Z" finished-at="2013-05-31T14:37:50Z">
</test-method>
<test-method status="PASS" signature="stopServer()" name="stopServer" is-config="true" duration-ms="5803" started-at="2013-05-31T14:38:34Z" finished-at="2013-05-31T14:38:40Z">
</test-method>
</class>
<class name="org.wso2.carbon.mediator.tests.xslt.XsltTransformationWithPropertyTestCase">
<test-method status="PASS" signature="doInit()" name="doInit" is-config="true" duration-ms="4241" started-at="2013-05-31T14:38:15Z" finished-at="2013-05-31T14:38:19Z">
</test-method>
<test-method status="PASS" signature="xsltTransformationWithProperty()" name="xsltTransformationWithProperty" duration-ms="53" started-at="2013-05-31T14:38:19Z" description="Do XSLT transformation by Passing a value through the property element to the xslt" finished-at="2013-05-31T14:38:19Z">
</test-method>
<test-method status="PASS" signature="doCleanup()" name="doCleanup" is-config="true" duration-ms="3003" started-at="2013-05-31T14:38:19Z" finished-at="2013-05-31T14:38:22Z">
</test-method>
</class>
<class name="org.wso2.carbon.mediator.tests.xslt.FileSystemLocalEntryXsltTransformationTestCase">
<test-method status="PASS" signature="doInit()" name="doInit" is-config="true" duration-ms="2277" started-at="2013-05-31T14:37:56Z" finished-at="2013-05-31T14:37:58Z">
</test-method>
<test-method status="PASS" signature="xsltTransformationFromFileSystem()" name="xsltTransformationFromFileSystem" duration-ms="59" started-at="2013-05-31T14:37:58Z" description="Do XSLT transformation by selecting the xslt file from file system" finished-at="2013-05-31T14:37:58Z">
</test-method>
<test-method status="PASS" signature="doCleanup()" name="doCleanup" is-config="true" duration-ms="3005" started-at="2013-05-31T14:37:58Z" finished-at="2013-05-31T14:38:01Z">
</test-method>
</class>
<class name="org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase">
<test-method status="PASS" signature="doInit()" name="doInit" is-config="true" duration-ms="2626" started-at="2013-05-31T14:38:22Z" finished-at="2013-05-31T14:38:25Z">
</test-method>
<test-method status="FAIL" signature="xsltTransformationFromUrl()" name="xsltTransformationFromUrl" duration-ms="37" started-at="2013-05-31T14:38:25Z" description="Do XSLT transformation by selecting the xslt from URL" finished-at="2013-05-31T14:38:25Z">
<exception class="org.apache.axis2.AxisFault">
<message>
<![CDATA[Unable to perform XSLT transformation using : Value {name ='null', keyValue ='transform.xslt'} against source XPath : s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1]]]>
</message>
<full-stacktrace>
<![CDATA[org.apache.axis2.AxisFault: Unable to perform XSLT transformation using : Value {name ='null', keyValue ='transform.xslt'} against source XPath : s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1]
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
at org.wso2.esb.integration.axis2.StockQuoteClient.sendCustomQuoteRequest(StockQuoteClient.java:104)
at org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase.xsltTransformationFromUrl(XsltTransformationFromUrlTestCase.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
at org.testng.TestRunner.privateRun(TestRunner.java:757)
at org.testng.TestRunner.run(TestRunner.java:608)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
at org.testng.TestNG.run(TestNG.java:999)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
]]>
</full-stacktrace>
</exception>
</test-method>
<test-method status="PASS" signature="doCleanup()" name="doCleanup" is-config="true" duration-ms="1" started-at="2013-05-31T14:38:25Z" finished-at="2013-05-31T14:38:25Z">
</test-method>
</class>
<class name="org.wso2.carbon.mediator.tests.xslt.InLineLocalEntryXsltTransformationTestCase">
<test-method status="PASS" signature="doInit()" name="doInit" is-config="true" duration-ms="2401" started-at="2013-05-31T14:37:50Z" finished-at="2013-05-31T14:37:53Z">
</test-method>
<test-method status="PASS" signature="xsltTransformationWithInlineLocalEntry()" name="xsltTransformationWithInlineLocalEntry" duration-ms="203" started-at="2013-05-31T14:37:53Z" description="Do XSLT transformation by selecting the xslt inline local entry" finished-at="2013-05-31T14:37:53Z">
</test-method>
<test-method status="PASS" signature="doCleanup()" name="doCleanup" is-config="true" duration-ms="3004" started-at="2013-05-31T14:37:53Z" finished-at="2013-05-31T14:37:56Z">
</test-method>
</class>
<class name="org.wso2.carbon.mediator.tests.xslt.DynamicKeyXsltTransformationTestCase">
<test-method status="PASS" signature="doInit()" name="doInit" is-config="true" duration-ms="5706" started-at="2013-05-31T14:38:25Z" finished-at="2013-05-31T14:38:31Z">
</test-method>
<test-method status="PASS" signature="xsltTransformationFromDynamicKey()" name="xsltTransformationFromDynamicKey" duration-ms="60" started-at="2013-05-31T14:38:31Z" description="Do XSLT transformation by Select the key type as dynamic key and retrieve the transformation from that." finished-at="2013-05-31T14:38:31Z">
</test-method>
<test-method status="PASS" signature="doCleanup()" name="doCleanup" is-config="true" duration-ms="3003" started-at="2013-05-31T14:38:31Z" finished-at="2013-05-31T14:38:34Z">
</test-method>
</class>
<class name="org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase">
<test-method status="PASS" signature="doInit()" name="doInit" is-config="true" duration-ms="2156" started-at="2013-05-31T14:38:01Z" finished-at="2013-05-31T14:38:03Z">
</test-method>
<test-method status="PASS" signature="xsltTransformationFromConfigRegistry()" name="xsltTransformationFromConfigRegistry" duration-ms="1401" started-at="2013-05-31T14:38:03Z" description="Do XSLT transformation by selecting the xslt file from config registry." finished-at="2013-05-31T14:38:05Z">
</test-method>
<test-method status="PASS" signature="doCleanup()" name="doCleanup" is-config="true" duration-ms="3003" started-at="2013-05-31T14:38:05Z" finished-at="2013-05-31T14:38:08Z">
</test-method>
<test-method status="PASS" signature="doInit()" name="doInit" is-config="true" duration-ms="3037" started-at="2013-05-31T14:38:08Z" finished-at="2013-05-31T14:38:11Z">
</test-method>
<test-method status="PASS" signature="xsltTransformationFromGovernanceRegistry()" name="xsltTransformationFromGovernanceRegistry" duration-ms="1343" started-at="2013-05-31T14:38:11Z" description="Do XSLT transformation by selecting the xslt file from governance registry.y" finished-at="2013-05-31T14:38:12Z">
</test-method>
<test-method status="PASS" signature="doCleanup()" name="doCleanup" is-config="true" duration-ms="3006" started-at="2013-05-31T14:38:12Z" finished-at="2013-05-31T14:38:15Z">
</test-method>
</class>
</test>
<test name="ESBTestServer" duration-ms="2" started-at="2013-05-31T14:37:50Z" finished-at="2013-05-31T14:37:50Z">
</test>
</suite>
</testng-results>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev