Hi

We have to add following listeners for the test suits to fix the above
exception.

<listeners>
    <listener 
class-name="org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener"/>
    <listener 
class-name="org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener"/>
    <listener 
class-name="org.wso2.carbon.automation.engine.testlisteners.TestTransformerListener"/>
    <listener 
class-name="org.wso2.carbon.automation.engine.testlisteners.TestManagerListener"/>
    <listener 
class-name="org.wso2.carbon.automation.engine.testlisteners.TestReportListener"/>
</listeners>


On Mon, Apr 25, 2016 at 1:16 PM, Abimaran Kugathasan <abima...@wso2.com>
wrote:

> Hi Nuwan,
>
> Now I'm getting
>
> Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
> unable to find valid certification path to requested target
>
>
> I have keystore and truststore src/test/resources/keystores/products. Am I
> missing any configurations? My productGroup looks like following
>
> <productGroup name="ESB" clusteringEnabled="false" default="true">
>
>     <instance name="lbw001" type="standalone" 
> nonBlockingTransportEnabled="true">
>         <hosts>
>             <host type="default">localhost</host>
>         </hosts>
>         <ports>
>             <port type="http">9763</port>
>             <port type="https">9443</port>
>             <port type="nhttps">8443</port>
>             <port type="nhttp">8480</port>
>         </ports>
>         <properties>
>
>         </properties>
>     </instance>
> </productGroup>
>
>
> On Mon, Apr 25, 2016 at 11:30 AM, Nuwan Wimalasekara <nuw...@wso2.com>
> wrote:
>
>> Hi Abimaran,
>>
>> In automation.xml, set the executionEnvironment as platform and configure
>> the sever information in productGroup instance configuration
>> where type="standalone"
>>
>> <executionEnvironment>platform</executionEnvironment>
>>
>>
>> Thanks,
>> Nuwanw
>>
>>
>> On Mon, Apr 25, 2016 at 11:09 AM, Abimaran Kugathasan <abima...@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> How can we configure testcases to be run on the standalone ESB?
>>>
>>> I don't need to start a ESB through automation framework, but, want to
>>> configure the automation framework to run the testcases on a standalone ESB.
>>>
>>> How can we point the hostname/port for the standalone ESB through
>>> automation framework?
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>>
>>> Software Engineer | WSO2 Inc
>>> Data & APIs Technologies Team
>>> Mobile : +94 773922820
>>>
>>> <http://stackoverflow.com/users/515034>
>>> <http://lk.linkedin.com/in/abimaran>
>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>>> <https://twitter.com/abimaran>
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
>
> Software Engineer | WSO2 Inc
> Data & APIs Technologies Team
> Mobile : +94 773922820
>
> <http://stackoverflow.com/users/515034>
> <http://lk.linkedin.com/in/abimaran>
> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
> <https://twitter.com/abimaran>
>
>


-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data & APIs Technologies Team
Mobile : +94 773922820

<http://stackoverflow.com/users/515034>
<http://lk.linkedin.com/in/abimaran>  <http://www.lkabimaran.blogspot.com/>
<https://github.com/abimarank>  <https://twitter.com/abimaran>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to