I have written a sample test case for hosting jax-rs web app on API Manager it self and invoke through API's for both distributed and standalone setups and both scenarios were successful.
Regards On Thu, Mar 20, 2014 at 1:41 PM, Krishantha Samaraweera <[email protected] > wrote: > This is a valid requirement. I think we can simply crack this problem by > hosting jax-rs web app on API Manager it self. There are other alternatives > from TAF side, however would like to go with webapp hosting first. > > Thanks, > Krishantha. > > > > > On Thu, Mar 20, 2014 at 12:31 PM, Sanjeewa Malalgoda <[email protected]>wrote: > >> Having rest endpoint within automation framework would be helpful when we >> do not have access to internet. We developed most of test cases by pointing >> to external web services which hosted public location. But having restful >> web service within automation framework does not help to distributed >> deployment scenarios(as gateway need to connect back to test server). In >> that case we might need to host them in some public location. >> >> Thanks, >> sanjeewa. >> >> >> On Thu, Mar 20, 2014 at 12:18 PM, Krishantha Samaraweera < >> [email protected]> wrote: >> >>> Main purpose of RESTFul backend implementation is to >>> provide RESTFul endpoints for apim test run time. >>> >>> So the test cases writers can depend on these endpoints to check all >>> HTTP methods rather using external REST APIs. >>> >>> Thanks, >>> Krishantha. >>> >>> >>> On Thu, Mar 20, 2014 at 10:18 AM, Dimuthu De Lanerolle < >>> [email protected]> wrote: >>> >>>> Hi Sumeda, >>>> >>>> I have already developed a sample test scenario using this Restful >>>> backend (customer sample) which runs on both distributed and standalone >>>> setups. I will create a new integration test module and commit the tests to >>>> the new module. The new module will use latest TAF 4.3.0 .The main purpose >>>> of this Restful backend service is to enable writing apimgt tests for REST >>>> related scenarios. If some needs a specific service to be added to the >>>> source it can be done effectively. >>>> >>>> Regards >>>> >>>> >>>> On Wed, Mar 19, 2014 at 10:07 PM, Sumedha Rubasinghe >>>> <[email protected]>wrote: >>>> >>>>> Dimuthu, >>>>> What's the final objective here? >>>>> >>>>> I had a quick look @ the source and right now there only 3 services. >>>>> Do you guys have a full test scenario in mind? >>>>> >>>>> >>>>> On Wed, Mar 19, 2014 at 7:08 PM, Dimuthu De Lanerolle < >>>>> [email protected]> wrote: >>>>> >>>>>> We have added a new RestFul backend service to api manager 2.0.0. >>>>>> You can find it from the following svn location. >>>>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/2.0.0/modules/integration/backend-service/ >>>>>> >>>>>> >>>>>> Also note that we will be adding a few sample test scenarios to >>>>>> demonstrate the usage of mentioned Restful backend service for both >>>>>> distributed and standalone apimgt setups. >>>>>> >>>>>> Regards >>>>>> -- >>>>>> Dimuthu De Lanerolle >>>>>> Software Engineer >>>>>> WSO2 Inc. >>>>>> lean . enterprise . middlewear. >>>>>> http://wso2.com/ >>>>>> Tel. : +94 11 2145345 Fax : +94 11 2145300 email : >>>>>> [email protected] >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> /sumedha >>>>> m: +94 773017743 >>>>> b : bit.ly/sumedha >>>>> >>>> >>>> >>>> >>>> -- >>>> Dimuthu De Lanerolle >>>> Software Engineer >>>> WSO2 Inc. >>>> lean . enterprise . middlewear. >>>> http://wso2.com/ >>>> Tel. : +94 11 2145345 Fax : +94 11 2145300 email : [email protected] >>>> >>>> >>> >>> >>> -- >>> Krishantha Samaraweera >>> Senior Technical Lead - Test Automation >>> Mobile: +94 77 7759918 >>> WSO2, Inc.; http://wso2.com/ >>> lean . enterprise . middlewear. >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> >> *Sanjeewa Malalgoda* >> Senior Software Engineer >> WSO2 Inc. >> Mobile : +94713068779 >> >> <http://sanjeewamalalgoda.blogspot.com/>blog >> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/> >> >> >> > > > -- > Krishantha Samaraweera > Senior Technical Lead - Test Automation > Mobile: +94 77 7759918 > WSO2, Inc.; http://wso2.com/ > lean . enterprise . middlewear. > -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
