Re: [Dev] WSO2 ESB TaskManager

2017-05-02 Thread Waruna Perera
> > Thanks in advance, > -- > Francisco Ribeiro > *SCEA|SCJP|SCWCD|IBM Certified SOA Associate* > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer

[Dev] validate JSON against YAML schema

2016-03-20 Thread Waruna Perera
Hi, Has some one done a similar sort of thing with JAVA? If so please give me a good library you have used. Thanks, Waruna ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [DEV][Patch Automation][APIM] How to retrieve a perticualt log from a Class using LogViewerClient?

2015-10-08 Thread Waruna Perera
, Oct 8, 2015 at 4:58 PM, Abimaran Kugathasan wrote: > Hi Waruna, > > Thanks for the reply. > > No, I didn't use time delay. I have attached the class. > > On Thu, Oct 8, 2015 at 4:53 PM, Waruna Perera wrote: > >> Hi, >> >> Do you use in time delay i

Re: [Dev] [DEV][Patch Automation][APIM] How to retrieve a perticualt log from a Class using LogViewerClient?

2015-10-08 Thread Waruna Perera
ttps://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&

Re: [Dev] [MB] Revamping MB Test Framework to cut down time.

2015-06-09 Thread Waruna Perera
;> Software Engineer >> WSO2 Inc. >> lean . enterprise . middleware >> http://wso2.com >> >> Mobile : +9477762 >> > > > > -- > Ramith Jayasinghe > Technical Lead > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > E: ra

[Dev] Please Review and Merge

2015-06-04 Thread Waruna Perera
Hi, Please review and merge the following PR[1]. This is to enable ui tests in jenkins server. [1] https://github.com/wso2/product-as/pull/72 Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear

Re: [Dev] TestNG exception when running integration testing for Product ESB ( test-other package ))

2015-05-12 Thread Waruna Perera
t;>> org.wso2.carbon.esb.contenttype.json.FilterFromJSONPathTestCase.testJSONFilterFromJSONPathConditionTrueTestScenario() >>> throws java.lang.Exception, which is not annotated with @Test >>> >>> I am running integration tests on java version 1.7. The failing

Re: [Dev] APIM ui integration tests

2015-05-11 Thread Waruna Perera
his test case. >> >> >> YouTubeUIPagesTestCase >> >>- testAPIPage.getTestResponseBody() gives http://wso2.org/apimanager/security";>900902Missing >> CredentialsRequired OAuth credentials not >>provided. Make sure your API invocation call has

Re: [Dev] Test Automation Framework Support for MQTT Server

2015-05-06 Thread Waruna Perera
one-done .. >> >> [1] https://wso2.org/jira/browse/TA-901 >> >> Thanks, >> Mohan >> >> >> -- >> *V. Mohanadarshan* >> *Software Engineer,* >> *Data Technologies Team,* >> *WSO2, Inc. http://wso2.com <http://wso2.com> * >>

Re: [Dev] Getting Error

2015-05-06 Thread Waruna Perera
t;>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Nuwan Wimalasekara >>>> Senior Software Engineer - Test Automation >>>> WSO2, Inc.: http://wso2.com >>>> lean. enterprise. middleware >>>> >>>> phone: +94 71 668 4620 >>>> >>>> >>>> >>>> >>> >>> >>> -- >>> S.Sriashalya, >>> Associate Software Engineer, >>> WSO2 *Inc*. >>> lean . enterprise . middleware >>> >> >> >> >> -- >> Nuwan Wimalasekara >> Senior Software Engineer - Test Automation >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> phone: +94 71 668 4620 >> >> >> >> > > > -- > Regards > S.Sriashalya, > Associate Software Engineer, > WSO2 *Inc*. > lean . enterprise . middleware > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Testing Jacoco based code coverage genration

2015-05-05 Thread Waruna Perera
modules/integration/tests-integration/tests/target/wso2as-6.0.0-NAPSHOT/repository/components/plugins >>> INFO >>> >>> [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] >>> - Jacoco coverage report path : >>> /Users/krisha

[Dev] Test case failure in AS

2015-04-22 Thread Waruna Perera
Hi Supun, Can you look at following which I came across running AS test cases for coverage stats. java.lang.AssertionError: Unsatisfied components detected in server startup. [org.wso2.carbon.deployment.synchronizer.XXX] expected:<0> but was:<1> at org.wso2.carbon.integration.common.tests.OSGISe

Re: [Dev] Green Mail server : Email notifications based integration test

2015-04-22 Thread Waruna Perera
ow. Thanks, On Mon, Apr 20, 2015 at 1:31 PM, Himasha Guruge wrote: > > > Thanks for the quick reply Waruna. > > On Mon, Apr 20, 2015 at 1:18 PM, Himasha Guruge wrote: > >> [Looping Nandika] >> >> On Mon, Apr 20, 2015 at 1:15 PM, Waruna Perera wrote: >>

Re: [Dev] Green Mail server : Email notifications based integration test

2015-04-20 Thread Waruna Perera
uration (same port as GreenMail server) > 4. Use method server.getReceivedMessages() to retrieve the emails. > > If this approach is not valid, any other suggestions on this will be > appreciated. > > Thanks & Regards, > > Himasha Guruge > *Software Engineer* &g

[Dev] APIM ui integration tests

2015-04-09 Thread Waruna Perera
Hi All, We have started fixing above module. Will update the progress. Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev

Re: [Dev] Error adding API in 1.9.0 pack

2015-04-08 Thread Waruna Perera
Hi Lakshman, I tried with the pack that you have given. issue exist. Thanks, On Wed, Apr 8, 2015 at 2:56 PM, Lakshman Udayakantha wrote: > in Latest pack built today has no such issue. check the latest pack. > > Thanks > > On Wed, Apr 8, 2015 at 2:06 PM, Waruna Perera

Re: [Dev] Error adding API in 1.9.0 pack

2015-04-08 Thread Waruna Perera
performed? > > Thanks, > Madusanka > > On Tue, Apr 7, 2015 at 7:20 PM, Waruna Perera wrote: > >> Hi, >> >> I tried to run some UI tests in APIM git 1.9.0 code base. Found out that >> error occurs while adding API. Tried the same thing with built pack &g

[Dev] Error adding API in 1.9.0 pack

2015-04-07 Thread Waruna Perera
.java:199) at org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:179) at org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.addAPI(ApiMgtDAO.java:6075) ... 65 more -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . ent

Re: [Dev] Using LogViewerClient in Integration Tests

2015-04-01 Thread Waruna Perera
so did > not work for me. Or is the issue only in a delay? If so a sleep would solve > the issue? > > Thanks, > Maheeka > > Maheeka Jayasuriya > Software Engineer > Mobile : +9450661 > > On Wed, Apr 1, 2015 at 11:20 AM, Waruna Perera wrote: > >> Hi Maheek

Re: [Dev] Using LogViewerClient in Integration Tests

2015-03-31 Thread Waruna Perera
ccessor to > deprecated method logViewer.getAllSystemLogs() ? > > Thanks, > Maheeka > > Maheeka Jayasuriya > Software Engineer > Mobile : +9450661 > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bi

Re: [Dev] [IS] OAuth Token endpoint throws an exception

2015-03-17 Thread Waruna Perera
___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [APIM][Integration-test]Integration test for Application & Subscription Sharing

2015-03-16 Thread Waruna Perera
273555 >> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > __

Re: [Dev] APIM token generation error

2015-03-11 Thread Waruna Perera
s, > NuwanD. > > On Wed, Mar 11, 2015 at 1:17 PM, Waruna Perera wrote: > >> Hi, >> >> When we tried to run test cases in the latest code following error >> occurred. I even tried it manually with the built pack and error i

[Dev] APIM token generation error

2015-03-11 Thread Waruna Perera
e for this? -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Committers += Irham Iqbal

2015-03-10 Thread Waruna Perera
are Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > Mobile: +94 71 2312958 > Blog:http://malinthas.blogspot.com > Page: http://about.me/malintha > > ___ > Dev mailing list > Dev@ws

Re: [Dev] [DEV] writing jaggery hostobject method to get HTTP Response

2015-02-08 Thread Waruna Perera
e Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: *+94779109091 <%2B94779109091>* > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- War

Re: [Dev] AM Publisher - API Visibility - Search API test case.

2015-01-29 Thread Waruna Perera
Thanks, On Thu, Jan 29, 2015 at 4:25 PM, Waruna Perera wrote: > Hi, > > Can you check testStore.jag and other jag file. There are methods > available. If not we can raise issues. > > print(storeHostObj.searchAPIbyType("name:*","carbon.super")) > > Thanks,

Re: [Dev] AM Publisher - API Visibility - Search API test case.

2015-01-29 Thread Waruna Perera
ext: ] or > By Status [Syntax - status: ] or > By Description [Syntax - description: ] or > By Subcontext [Syntax - subcontext: ] or > By Documentation Content [Syntax - doc: ] > > How to automate these search options? > > Thanks, > Suhan > > On

Re: [Dev] AM Publisher - API Visibility - Search API test case.

2015-01-29 Thread Waruna Perera
: true, "message" : " Invalid number of parameters or their >>> types."}Suhans-MacBook-Pro:integration suhanr$ >>> >>> Suhans-MacBook-Pro:integration suhanr$ curl -X POST -b cookies >>> http://localhost:9763/publisher/site/blocks/listing/ajax/ite

Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test

2015-01-29 Thread Waruna Perera
gt;>>>> What I actually need to do is to create one tenant and make him >>>>>>>> execute a certain process and the other one should log in and some >>>>>>>> other >>>>>>>> process. Can you please elab

Re: [Dev] [Test Automation] Writing test-cases which connect to databases

2015-01-23 Thread Waruna Perera
Software Engineer; WSO2 Inc.; http://wso2.com , > > Mobile: +94 71 427 9966 > Email: buddh...@wso2.com > Blog: https://buddhimawijeweera.wordpress.com > GitHub Profile: https://github.com/Buddhima > > ___ > Dev mailing list > Dev@wso2.or

[Dev] [Webseal authenticator] UI authenticator includes log-out filter

2015-01-22 Thread Waruna Perera
Hi, In webseal authenticator ui feature, Authenticator.java includes log-out filter. I could not find the reason for it. Can some one explain whats the purpose of it? Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean

Re: [Dev] Anyone who has written a restful service using spring?

2015-01-15 Thread Waruna Perera
t; WSO2 Inc.: http://www.wso2.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2,

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Waruna Perera
gt;>>> testuser21 >>>> >>>> >>>> permissionUser >>>> permissionUser >>>> >>>>

Re: [Dev] [EMM] Automated Testing of Email Sending Functionality of EMM

2015-01-14 Thread Waruna Perera
possible way to test this functionality? >>>>>>>> Is there a recommended SMTP mail server to use? >>>>>>>> >>>>>>>> If I am using Selenium, to verify "success", I need to capture the >>>>>>>> status message >>>&

Re: [Dev] [MB] Error occurred while building carbon-business-messaging

2015-01-12 Thread Waruna Perera
___________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [EMM] Errors occur on Server Shutdown when building the Product

2015-01-12 Thread Waruna Perera
tne* > Software Engineer > WSO2 Inc. <http://wso2.com/> > Mobile: +94775149066 > lean . enterprise . middleware > > On Mon, Jan 12, 2015 at 10:32 AM, Waruna Perera wrote: > >> HI Dilan, >> >> Can you share the test case code? >> >> Thanks, &g

Re: [Dev] [EMM] Errors occur on Server Shutdown when building the Product

2015-01-11 Thread Waruna Perera
ls.ServerLogReader] - >>>>>> ... 48 more >>>>>> INFO >>>>>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - >>>>>> Caused by: java.lang.SecurityException: Illegal access attempt by >>>>>> tenant[-1] to se

[Dev] Automation frame work find bugs stats

2015-01-11 Thread Waruna Perera
underlying users. Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] https support for sample axis2server in automation framework

2014-12-23 Thread Waruna Perera
is > completed. > > Thanks, > Krishantha. > > On Tue, Dec 23, 2014 at 1:25 PM, Waruna Perera wrote: > >> HI All, >> >> https support in sample axis2server in automation framework added. You >> can find the how to use it in the attached doc. >> >&

Re: [Dev] ESB Error when running test cases

2014-12-23 Thread Waruna Perera
__________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] https support for sample axis2server in automation framework

2014-12-22 Thread Waruna Perera
HI All, https support in sample axis2server in automation framework added. You can find the how to use it in the attached doc. Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear

Re: [Dev] SSLHandShake issue when invoking https endpoint from ESB

2014-12-14 Thread Waruna Perera
che.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238) > > at > org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:270) > [1] > http://sahanlm.blogspot.com/2013/10/wso2-esb-exposing-secure-backend.html > > -- > Vijitha Ekanayake > Sof

Re: [Dev] Configure PHP web application to use SSO with IS

2014-12-03 Thread Waruna Perera
Hi, Following is the SSO config available in web app side. $tlCfg->authentication['SSO_enabled'] = true; $tlCfg->authentication['SSO_method'] = 'CLIENT_CERTIFICATE'; $tlCfg->authentication['SSO_uid_field'] = 'SSL_CLIENT_S_DN_Email'; Th

[Dev] Configure PHP web application to use SSO with IS

2014-12-03 Thread Waruna Perera
Hi, I am trying to configure a PHP web app[1] with IS as the IDP. Can some one please guide me to any doc that is availbale to do that? Above app is installed on Apache. [1]http://testlink.org/ Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2

Re: [Dev] Write OMElement to xml with proper indentation

2014-11-17 Thread Waruna Perera
_ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *V. Mohanadarshan* > *Software Engineer,* > *Data Technologies Team,* > *WSO2, Inc. http://wso2.com <http://wso2.com> * > *lean.enterpr

[Dev] Unsupported user claim error

2014-11-14 Thread Waruna Perera
. 5. invoked API again and still givenname claim is received in JWT claims. Is this scenario correct? Is there a way to not receive claim if unsupported? Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise

Re: [Dev] Get user claims in JWT token

2014-11-11 Thread Waruna Perera
issue here. >> >> Thanks, >> sanjeewa. >> >> On Tue, Nov 11, 2014 at 5:31 PM, Waruna Perera wrote: >> >>> Hi, >>> >>> I am writing a test case to check user claims in JWT token for API >>> invocation. I have a user with firstna

[Dev] Get user claims in JWT token

2014-11-11 Thread Waruna Perera
"http://wso2.org/claims/keytype": "PRODUCTION", "http://wso2.org/claims/usertype": "APPLICATION", "http://wso2.org/claims/enduser": "subscriberuser@carbon.super", "http://wso2.org/claims/enduserTenantId":

Re: [Dev] Can not subscribe to API with user has subscriber permission

2014-11-10 Thread Waruna Perera
gap between > requests because server take some time to store and make available newly > created APIs. > > Thanks, > > On Mon, Nov 10, 2014 at 1:27 PM, Waruna Perera wrote: > >> >> Hi, >> >> I am writing a test cae for JWT claim checks. For that I cr

[Dev] Can not subscribe to API with user has subscriber permission

2014-11-09 Thread Waruna Perera
Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Automate OpenID to SAML federation flow - How to start two IS instances with different hostnames

2014-11-04 Thread Waruna Perera
. > > -- > > *Malithi Edirisinghe* > Senior Software Engineer > WSO2 Inc. > > Mobile : +94 (0) 718176807 > malit...@wso2.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] What is ESB mediator serializer for?

2014-11-03 Thread Waruna Perera
> Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. _

Re: [Dev] Getting error when having two ESB instance with offset 0 & 1

2014-10-31 Thread Waruna Perera
tureTask$Sync.innerRun(FutureTask.java:303) >> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadP

Re: [Dev] How to create a new ESB mediator

2014-10-28 Thread Waruna Perera
> > uri="file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/> > > > > > Thanks > > > > On Wed, Oct 29, 2014 at 9:49 AM, Waruna Perera wrote: > >> HI Lahiru, >> >> Can you share the code in GitHub? And s

Re: [Dev] How to create a new ESB mediator

2014-10-28 Thread Waruna Perera
ware Engineer* > Mobile : +94 (0) 772 253283 > lahi...@wso2.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mob

Re: [Dev] Amqp not client now connecting to activemq

2014-10-23 Thread Waruna Perera
n.getReply(AMQChannel.java:343) >> at >> com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:292) >> ... 8 more >> Caused by: java.io.EOFException >> at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:273) >> at com.rabbitmq

Re: [Dev] Use of javax.net.ssl.keyStore and javax.net.ssl.trustStore

2014-10-22 Thread Waruna Perera
+94 775 181586 >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thanks & Regards, > > *Johann Dilantha Nallathamby* > Associate

Re: [Dev] Write integration test for new osgi service.

2014-10-20 Thread Waruna Perera
://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Ravindra Ranwala > Software Engineer > WSO2, Inc: http://wso2.com > <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> > Mobile: +947141

Re: [Dev] Amqp not client now connecting to activemq

2014-10-17 Thread Waruna Perera
> dependency as follows in the pom file > > > com.rabbitmq > amqp-client > 3.3.5 > > > > > On Fri, Oct 17, 2014 at 2:48 PM, Waruna Perera wrote: > >> Hi Prasanna, >> >> Did you put any client libraries of activemq server in

Re: [Dev] Amqp not client now connecting to activemq

2014-10-17 Thread Waruna Perera
Connection connection = factory.newConnection(); >> >> Thanks >> >> Prasanna Dangalla >> Software Engineer, WSO2, Inc.; http://wso2.com/ >> lean.enterprise.middleware >> >> cell: +94 777 55 80 30 | +94 718 11 27 51 >> twitter: @prasa77 >> > > > > -- > Prasa

Re: [Dev] Error while accessing ProvisioningAdminService

2014-10-14 Thread Waruna Perera
Hi Aruna, Yes. What i did was to set session management in soapui test case. Thanks On Tue, Oct 14, 2014 at 5:34 PM, Aruna Karunarathna wrote: > Hi Waruna, > > Did you manage to resolve the issue with session cookie? > > Regards, > Aruna > > On Tue, Oct 14, 2014 a

Re: [Dev] Error while accessing ProvisioningAdminService

2014-10-14 Thread Waruna Perera
Hi All, After offline discussion with Sameera I found out that error was due to not sending the session cookie with the 2nd request. On Mon, Oct 13, 2014 at 3:22 PM, Waruna Perera wrote: > Hi, > > I am trying to install feature via ProvisioningAdminService using soapui > requests

[Dev] Error while accessing ProvisioningAdminService

2014-10-13 Thread Waruna Perera
$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) -- Thanks, Waruna Perera Senior Software Engineer - Test

Re: [Dev] What is the standard way of handling exceptions

2014-10-09 Thread Waruna Perera
>> WSO2 Inc. >> lean | enterprise | middleware >> M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/

Re: [Dev] How to get WSO2 Carbon Log to UI?

2014-10-09 Thread Waruna Perera
; blog: http://kasunbg.org > > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] MB cluster integration tests

2014-09-30 Thread Waruna Perera
team to see whether we cater their >> requirements. >> >> @Dharshana - Can you please arrange this. >> >> Thanks, >> Krishantha. >> >> On Tue, Sep 30, 2014 at 8:28 PM, Waruna Perera wrote: >> >>> Hi, >>> >>> We have crea

[Dev] MB cluster integration tests

2014-09-30 Thread Waruna Perera
n.xml. You can access random instance and continue writing test cases. We have provided few utility methods and admin clients to test topics and queues. Code is available in git and we will send the pull request. Thanks [1] https://github.com/dharshanaw/product-mb.git -- Waruna Perera Senior Sof

[Dev] MB clustering test cases

2014-09-25 Thread Waruna Perera
Hi, To do $subject I have provided with 2 nodes of MB and 2 nodes with cassandra profiles. Dont we need MB with zookeepre profile here? Thanks -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear

[Dev] Cassandra configs for MB cluster

2014-09-25 Thread Waruna Perera
Hi, I am trying to get simple test case up and running with MB cluster which I have been provided with. Can you tell me where I should configure Cassandra related properties in MB? Thanks -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2

Re: [Dev] [DEV][APIM] writing automation tests for APIM

2014-09-21 Thread Waruna Perera
GER-2835&sa=D&usg=ALhdy2-cXRekyqjYXj7SJIMNhQi0s_3p7A> Thanks, On Tue, Sep 16, 2014 at 12:03 PM, Waruna Perera wrote: > Hi, > > I will close the duplicate issue. > > Thanks > > On Tue, Sep 16, 2014 at 11:49 AM, Nuwan Dias wrote: > >> This is a duplicate

Re: [Dev] Get created API list without login in APIM

2014-09-17 Thread Waruna Perera
ot expose these as rest APIs > IMO. But jaggery app deployed in server side can call to host objects > directly. > > Thanks, > sanjeewa. > > On Wed, Sep 17, 2014 at 10:34 PM, Waruna Perera wrote: > >> Hi, >> >> My use case is different here. We need to write a

Re: [Dev] Get created API list without login in APIM

2014-09-17 Thread Waruna Perera
Anything blocking you to use login API first and use the generated cookie > to invoke other APIS? > > On Wed, Sep 17, 2014 at 10:03 PM, Waruna Perera wrote: > >> >> Hi, >> >> I am writing automation test cases for APIM. There are lot of cases that >> you n

[Dev] Get created API list without login in APIM

2014-09-17 Thread Waruna Perera
, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [DEV][APIM] writing automation tests for APIM

2014-09-17 Thread Waruna Perera
eck context existence. Its API developers >>> responsibility to check this first. But still we need to have same check in >>> add API method as well. So we might need to add this check in add API >>> method(to work rest call properly). >>> >>> Thanks, >&g

Re: [Dev] [DEV][APIM] writing automation tests for APIM

2014-09-16 Thread Waruna Perera
ht need to add this check in add API method(to work rest > call properly). > > Thanks, > sanjeewa. > > On Wed, Sep 10, 2014 at 2:11 AM, Waruna Perera wrote: > >> Hi, >> >> Issue logged in JIRA related to automation test case. >> >> [1] https://wso

Re: [Dev] Test case error on esb connectors

2014-09-11 Thread Waruna Perera
r(ProviderFactory.java:85) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > -- > *S.Elilmatha* > Associative Software Engin

[Dev] Unable to regenerate access token in APIM

2014-09-11 Thread Waruna Perera
/jira/browse/APIMANAGER-2290 -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] [APIM] getExternalAPIStores method no longer available in publisher host object

2014-09-10 Thread Waruna Perera
/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.hostobjects/1.2.2/src/main/java/org/wso2/carbon/apimgt/hostobjects/APIProviderHostObject.java -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise

Re: [Dev] [DEV][APIM] writing automation tests for APIM

2014-09-10 Thread Waruna Perera
Hi, Issue logged in JIRA related to automation test case. [1] https://wso2.org/jira/browse/APIMANAGER-2835 On Thu, Sep 4, 2014 at 11:02 AM, Waruna Perera wrote: > Hi Sanjeewa, > > Noted. I will update the thread as we move forward about the API calls > which we will think of us

[Dev] [APIM][Publisher REST API] copy API rest call should be updated in the docs

2014-09-09 Thread Waruna Perera
cookies http://localhost:9763/publisher/site/blocks/overview/ajax/overview.jag -d "action=createNewAPI&provider=user1&apiName=API1&version=1.0.0&newVersion=2.0.0 *&isDefaultVersion=default_version*” [1] https://docs.wso2.com/display/AM170/Publisher+APIs#PublisherAPIs-Cop

Re: [Dev] Error while building the SAML testcase in WSO2 EAM

2014-09-05 Thread Waruna Perera
;, "wso2carbon"); System.setProperty("javax.net.ssl.trustStoreType", "JKS"); On Fri, Sep 5, 2014 at 1:45 PM, Waruna Perera wrote: > HI, > > > Can you try adding following code segment and try. > > > > On Fri, Sep 5, 2014 at 1:43 P

Re: [Dev] Error while building the SAML testcase in WSO2 EAM

2014-09-05 Thread Waruna Perera
? > > > > > On Fri, Sep 5, 2014 at 1:47 PM, Waruna Perera wrote: > >> Hi, >> >> This sets the trust store in client. Set it to your paths >> >> System.setProperty("javax.net.ssl.trustStore", >> "/home/waruna/Products/wso

Re: [Dev] Error while building the SAML testcase in WSO2 EAM

2014-09-05 Thread Waruna Perera
) > at > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) > ... 48 more > > > Any idea ? > > -- > Kasun Dissanayake > Software Engineer > WSO2 Inc. > Lean | Enterprise | Middleware > Tel - +94 77 086 28

Re: [Dev] Error while building the SAML testcase in WSO2 EAM

2014-09-05 Thread Waruna Perera
// TODO Auto-generated catch block > e.printStackTrace(); > } > > System.out.println("the backend sent saml message : > "+server.getCapturedMessage()); > boolean hasSAML = false; > if (server.getCapturedMessage().c

Re: [Dev] [DEV][APIM] writing automation tests for APIM

2014-09-03 Thread Waruna Perera
Hi Sanjeewa, Noted. I will update the thread as we move forward about the API calls which we will think of useful to have. Thanks On Thu, Sep 4, 2014 at 10:47 AM, Sanjeewa Malalgoda wrote: > Hi Waruna, > > > On Wed, Sep 3, 2014 at 9:49 PM, Waruna Perera wrote: > >> Hi

[Dev] [DEV][APIM] writing automation tests for APIM

2014-09-03 Thread Waruna Perera
M170/Publisher+APIs -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] LifeCycle TEST automation for WSO2 EAM

2014-09-03 Thread Waruna Perera
;>> >>> Cheers >>> >>> >>> -- >>> Kasun Dissanayake >>> Software Engineer >>> WSO2 Inc. >>> Lean | Enterprise | Middleware >>> Tel - +94 77 086 2860 >>> Skype - kasun.dissanayake4 >>> LinkedIn -

Re: [Dev] ESB connector: SSL Handshake Exception

2014-09-03 Thread Waruna Perera
as it failed > > [2014-09-03 11:01:52,312] WARN - EndpointContext Suspending endpoint : > AnonymousEndpoint - current suspend duration is : 3ms - Next retry > after : Wed Sep 03 11:02:22 IST 2014 > -- > > Keerthika Mahendralingam > Associate Software Engineer > Mob

Re: [Dev] Mutual SSL work with java 7 and open jdk 6 but not with sun java 6

2014-08-31 Thread Waruna Perera
ith-java-7-and-open-jdk-6-but-not-with-sun-java-6-tp102060p102075.html > Sent from the WSO2 Development mailing list archive at Nabble.com. > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- War

Re: [Dev] Mutual SSL work with java 7 and open jdk 6 but not with sun java 6

2014-08-31 Thread Waruna Perera
wso2carbon.jks and to > client-truststore.jks. > 2. Imported the same into cacerts (jre\lib\security\cacerts)file when > using > Java SDK 1.6. > 3. Tried installing OpenJDK 1.6 and ran the ESB using it. The connector > worked fine. > 4. Tried extracting the downloaded J

Re: [Dev] Run soap ui projects within maven project

2014-08-24 Thread Waruna Perera
rated with TestNG. >> >> @QA Team - Please note on this feature, you can easily integrated your >> SOAPUi test projects to build system now. >> > > ​Noted Krishantha. It would be great if we can get instructions on how to > do the integration as Krishantha ment

Re: [Dev] Optimize file read operation in Jaggery

2014-08-20 Thread Waruna Perera
r understanding. > > Touched, not typed. Erroneous words are a feature, not a typo. > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test A

Re: [Dev] Run soap ui projects within maven project

2014-08-18 Thread Waruna Perera
ement a Junit report parser and get the result integrated with TestNG. > > @QA Team - Please note on this feature, you can easily integrated your > SOAPUi test projects to build system now. > > Thanks, > Krishantha. > > > On Tue, Aug 19, 2014 at 10:40 AM, Waruna Perera wrot

[Dev] Run soap ui projects within maven project

2014-08-18 Thread Waruna Perera
output of the soapui project automated test cases are available as junit reports and not in testng. Are there any more improvements that can be done? -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear

Re: [Dev] [DEV][ES] Social SSO redirect breaks due to cross-domain requests in google-chrome

2014-08-13 Thread Waruna Perera
r > Blog: http://udarakr.blogspot.com > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [Announce] WSO2 Committers += Jayanga Dissanayake

2014-08-05 Thread Waruna Perera
gt;>>> WSO2, Inc | lean. enterprise. middleware. >>>>>>>> #20, Palm Grove, Colombo 03, Sri Lanka >>>>>>>> Mobile: +94 71 9040362 | Work: +94 112145345 >>>>>>>> Email: ar...@wso2.com | Web: www.wso2.com >>>>>&g

Re: [Dev] WSO2 Committers += Kavith Lokuhewage

2014-08-03 Thread Waruna Perera
/wso2.com >> lean.enterprise.middleware >> >> mobile: +94 77 2273555 >> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-

[Dev] Automated test case for ESB sample 705

2014-07-15 Thread Waruna Perera
will not work as forwarding Processor will send the message as soon as the end point is available. What would be the best way to implement this test case? -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise

Re: [Dev] ESB sample 363 giving eoor

2014-07-15 Thread Waruna Perera
Hi, I found that in the document[1] synapse config should be changed as follows. existing config rmi://localhost:2199 Correct config rmi://localhost: [1] http://docs.wso2.com/display/ESB481/Sample+363%3A+Reusable+Database+Connection+Pools On Tue, Jul 15, 2014 at 10:54 AM, Waruna Perera

  1   2   >