On Sat, Nov 6, 2010 at 1:19 PM, Charitha Kankanamge <chari...@wso2.com>wrote:
> Hi Thilini, > > > On Wed, Sep 22, 2010 at 5:30 PM, Thilini Ishaka <thil...@wso2.com> wrote: > >> >> >> >> >> >> >> >> >> >> >> On Wed, Sep 22, 2010 at 11:18 AM, Hiranya Jayathilaka >> <hira...@wso2.com>wrote: >> >>> >>> >>> On Tue, Sep 21, 2010 at 7:27 PM, cham...@wso2.com <cham...@wso2.com>wrote: >>> >>>> When running log mediator tests manually, we usually scan carbon log >>>> to read log messages and decide the success or failure of the tests . >>>> But how can this be done through admin service automated framework? >>>> Currently we have written a primitive method to capture log messages >>>> based on timestamp and then read the log message.But it seems to be a >>>> error-prone mechanism.can someone please provide us guidance with a >>>> better mechanism in reading logs while running automated tests? >>>> >>> >>> How about using the LogViewer admin service to retrieve the logs >>> programmatically? Anyway I don't think you can use timestamp values as a >>> basis of verification. You have to solely depend on the content of the log >>> messages. >>> >> >> will check it with LogViewer admin service. What we are currently doing >> for log mediator tests is, checking the contents of the log based on the >> timestamp (search whether the expected content has been written to the log >> on that particular time). >> > > > Were you able to get this resolved and read the logs programmatically using > LogViewer admin? Without this, running the test framework on stratos is a > problem. > > i manage to do this and create new test module by wrapping up LogViwer admin service. Thanks, Chamara > >>> Thanks, >>> Hiranya >>> >>> >>>> >>>> Thank you, >>>> Chamara/ >>>> -- >>>> Suminda Chamara Silva >>>> WSO2 Inc. >>>> Mobile: +94 718 302858 >>>> blog: http://chamaras.blogspot.com >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> Carbon-dev@wso2.org >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>> >>> >>> >>> -- >>> Hiranya Jayathilaka >>> Senior Software Engineer; >>> WSO2 Inc.; http://wso2.org >>> E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 >>> Blog: http://techfeast-hiranya.blogspot.com >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Suminda Chamara Silva WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev