On 19 August 2010 21:24, Samisa Abeysinghe <[email protected]> wrote:

> Once everyone is back from vacation, we need to do a demo session on how
> this works with samples for testing.
>
> +1
and for anyone who are interested, can checkout the code [0]
and fellow the read-me [1] to run ESB test samples.

[0]
https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework/
[1]
https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework/esb-sample/read-me.txt

Suho


> On Sat, Aug 14, 2010 at 3:53 PM, Suhothayan Sriskandarajah 
> <[email protected]>wrote:
>
>> On 12 August 2010 19:12, Krishantha Samaraweera <[email protected]>
>> wrote:
>> > This is fixed now. We have to run cmd.exe first and tell it to execute
>> ant.
>> >
>> > After the fix I found that some client processes (sample 13) hang when
>> > running all the tests. Suho is currently looking at to the issue.
>>
>> The sample13 and sample51 are the only two samples hang the tests.
>> On  sample13 its using the dual channel invocation and in sample51 it
>> is using as optimizeclient,
>> and in both cases the client process is not returning to the parent at
>> the runFailureCase()
>> But it works fine during the normal login cases (runSuccessCase()).
>>
>> As a workaround for now, I have modified the code to skip testing
>> runFailureCase() on "Windows", only for these two samples.
>>
>> suho
>>
>> >
>> > Thanks,
>> > Krishantha.
>> >
>> > On Thu, Aug 12, 2010 at 2:28 PM, Chamara Silva <[email protected]>
>> wrote:
>> >>
>> >> Automated ESB-samples didn't run in windows platform.please check.
>> >>
>> >> Thank you,
>> >> Regards,
>> >> Chamara.
>> >>
>> >>
>> >>
>> >> On Tue, Aug 10, 2010 at 12:27 PM, Suhothayan Sriskandarajah
>> >> <[email protected]> wrote:
>> >> > On 29 June 2010 11:37, Samisa Abeysinghe <[email protected]> wrote:
>> >> >> I am not sure if these names are right.
>> >> >> We need a review ASAP, before we proceed further please...
>> >> >
>> >> > Now Thilini and I have successfully automated the testing of ESB
>> >> > Samples.
>> >> > The information on what samples are automated,
>> >> > and the set-up guide to test the Samples are given in a read-me with
>> >> > the source code[0].
>> >> > The source is now committed to the Component Test Framework[1]
>> >> >
>> >> > [0]
>> >> >
>> https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework/esb-sample/read-me.txt
>> >> > [1]
>> >> >
>> https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework/
>> >> >
>> >> > Suho
>> >> >
>> >> >
>> >> >> Samisa...
>> >> >>
>> >> >> On Tue, Jun 29, 2010 at 10:33 AM, Suhothayan Sriskandarajah
>> >> >> <[email protected]>
>> >> >> wrote:
>> >> >>>
>> >> >>>
>> >> >>> On 29 June 2010 09:11, Samisa Abeysinghe <[email protected]> wrote:
>> >> >>>>
>> >> >>>> Are we using the admin service to talk to the BE and update the
>> >> >>>> changes?
>> >> >>>> I had a look at the code and I cannot seem to locate where this is
>> >> >>>> happening.
>> >> >>>> We need to review the overall approach on how we have done this.
>> >> >>>
>> >> >>> The component-test-framework contains several modules
>> >> >>> Currently we have four of them
>> >> >>> 1.Core
>> >> >>> 2.Endpoint
>> >> >>> 3.Proxy service
>> >> >>> 4.Sequence
>> >> >>>
>> >> >>> The core module look in to aspects like ;
>> >> >>> 1.Authenticating the user - done by the stub created by codegening
>> the
>> >> >>> AuthenticationAdmin.wsdl
>> >> >>>    (core/src/test/java/org/wso2/
>> >> >>> carbon/test/framework/ComponentsTestCase.java)
>> >> >>>
>> >> >>> 2. Stating and stopping Sample Axis2Servers
>> >> >>>
>> >> >>>
>> >> >>>
>> (core/src/test/java/org/wso2/carbon/test/framework/util/server/SampleAxis2Server.java)
>> >> >>>
>> >> >>> 3. Invoking Axis2Clients
>> >> >>>
>> >> >>>
>> >> >>>
>> (core/src/test/java/org/wso2/carbon/test/framework/util/client/StockQuoteClient.java)
>> >> >>>
>> >> >>> 4. Reading the .property file
>> >> >>>
>> >> >>>
>> (core/src/test/java/org/wso2/carbon/test/framework/initTestCase.java)
>> >> >>>
>> >> >>> and all the other modules are used to test their appropriate
>> >> >>> components,
>> >> >>> using the stubs created by cordgening their appropriate WSDLs
>> >> >>>
>> >> >>> I hope this gives some basic idea on who this framework works
>> >> >>>
>> >> >>> If we need a review on the overall approach, please let me know a
>> >> >>> subtable
>> >> >>> time, so i can arrange a meeting
>> >> >>>
>> >> >>> thanks
>> >> >>>
>> >> >>> Suho
>> >> >>>
>> >> >>>>
>> >> >>>> Samisa...
>> >> >>>>
>> >> >>>> On Mon, Jun 28, 2010 at 10:15 AM, Chamara Silva <[email protected]
>> >
>> >> >>>> wrote:
>> >> >>>>>
>> >> >>>>> Sorry i have missed one step.please change the
>> framework.properties
>> >> >>>>> in
>> >> >>>>> testframework/src/test/resources directory with your settings.
>> >> >>>>>
>> >> >>>>> regards,
>> >> >>>>> Chamara
>> >> >>>>>
>> >> >>>>> On Mon, Jun 28, 2010 at 10:11 AM, Chamara Silva <
>> [email protected]>
>> >> >>>>> wrote:
>> >> >>>>> > yes it's available at,
>> >> >>>>> >
>> >> >>>>> >
>> >> >>>>> >
>> https://svn.wso2.org/repos/wso2/trunk/commons/qa/compoments-test-framework
>> >> >>>>> >
>> >> >>>>> > To run this please follow these steps.
>> >> >>>>> >
>> >> >>>>> > 1. Download test framework and ESB
>> >> >>>>> > 2. start esb with sample 0
>> >> >>>>> > 3. run test framework (mvn clean install)
>> >> >>>>> >
>> >> >>>>> > Thanks and Regards
>> >> >>>>> > Chamara
>> >> >>>>> >
>> >> >>>>> >
>> >> >>>>> > On Mon, Jun 28, 2010 at 10:04 AM, Samisa Abeysinghe
>> >> >>>>> > <[email protected]>
>> >> >>>>> > wrote:
>> >> >>>>> >> Do we have the code somewhere?
>> >> >>>>> >>
>> >> >>>>> >> Samisa...
>> >> >>>>> >>
>> >> >>>>> >> On Mon, Jun 28, 2010 at 9:59 AM, Chamara Silva <
>> [email protected]>
>> >> >>>>> >> wrote:
>> >> >>>>> >>>
>> >> >>>>> >>> I have finished almost 85% of the proxy services related test
>> >> >>>>> >>> cases.i
>> >> >>>>> >>> think it covers all the combinations of proxy
>> services.Currently
>> >> >>>>> >>> suho
>> >> >>>>> >>> continuing sequences and endpoints related test-cases.
>> >> >>>>> >>> After review i think we can release it for basic smoke
>> testing.
>> >> >>>>> >>>
>> >> >>>>> >>> Thank you,
>> >> >>>>> >>> Regards,
>> >> >>>>> >>> Chamara
>> >> >>>>> >>>
>> >> >>>>> >>> On Mon, Jun 28, 2010 at 9:48 AM, Samisa Abeysinghe
>> >> >>>>> >>> <[email protected]>
>> >> >>>>> >>> wrote:
>> >> >>>>> >>> > How is this progressing?
>> >> >>>>> >>> > We need to do a review of this soon.
>> >> >>>>> >>> > Samisa...
>> >> >>>>> >>>
>> >> >>>>> >>>
>> >> >>>>> >>>
>> >> >>>>> >>> --
>> >> >>>>> >>> Suminda Chamara Silva
>> >> >>>>> >>> Senior Software Engineer - QA
>> >> >>>>> >>> WSO2 Inc.
>> >> >>>>> >>> Mobile: +94 718 302858
>> >> >>>>> >>> blog: http://chamaras.blogspot.com
>> >> >>>>> >>
>> >> >>>>> >>
>> >> >>>>> >
>> >> >>>>> >
>> >> >>>>> >
>> >> >>>>> > --
>> >> >>>>> > Suminda Chamara Silva
>> >> >>>>> > Senior Software Engineer - QA
>> >> >>>>> > WSO2 Inc.
>> >> >>>>> > Mobile: +94 718 302858
>> >> >>>>> > blog: http://chamaras.blogspot.com
>> >> >>>>> >
>> >> >>>>>
>> >> >>>>>
>> >> >>>>>
>> >> >>>>> --
>> >> >>>>> Suminda Chamara Silva
>> >> >>>>> Senior Software Engineer - QA
>> >> >>>>> WSO2 Inc.
>> >> >>>>> Mobile: +94 718 302858
>> >> >>>>> blog: http://chamaras.blogspot.com
>> >> >>>>
>> >> >>>> Samisa Abeysinghe
>> >> >>>> VP Engineering
>> >> >>>> WSO2 Inc.
>> >> >>>> http://wso2.com
>> >> >>>> http://wso2.org
>> >> >>>
>> >> >> Samisa Abeysinghe
>> >> >> VP Engineering
>> >> >> WSO2 Inc.
>> >> >> http://wso2.com
>> >> >> http://wso2.org
>> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Suminda Chamara Silva
>> >> Senior Software Engineer - QA
>> >> WSO2 Inc.
>> >> Mobile: +94 718 302858
>> >> blog: http://chamaras.blogspot.com
>> >>
>> >> _______________________________________________
>> >> Carbon-dev mailing list
>> >> [email protected]
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>> >
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to