Hi Sewmini, I think it should work like,
1st 3 requests to Resource 1 = 1st request successful, Next 2 requests unsuccessful due to resource level throttling. Next 5 requests 2 Resource 2 = 1st 4 requests should be successful and last one should be unsucessful due to API level throttling. On Wed, Apr 29, 2015 at 3:23 PM, Chathurika De Silva <chathuri...@wso2.com> wrote: > Hi Sewmini > > In your case since you have sent 5 requests to the both of the resources > these will be successful due to your API level throttling tier being 5. > After that requests will be terminated. > > Please find the below documentation that will be a help to you > > https://docs.wso2.com/display/AM180/Key+Concepts#KeyConcepts-Throttlingtiers > > Thank You > Erandi > > > On Wed, Apr 29, 2015 at 3:14 PM, Sewmini Jayaweera <sewm...@wso2.com> > wrote: > >> Hi Ushani, >> >> When I say unsuccessful, what i meant was request fails due to resource >> level throttling exceeding. >> Say I have given >> >> API level throttling - silver (5) >> App level throttling - unlimited >> API resource 1 throttling - bronze (1) >> API resource 2 throttling - unlimited >> >> When I send first three requests to resource 1 and next 5 requests to >> resource 2, my last 3 request should fail due to API level throttling is it >> ? >> >> Thanks & Regards, >> Sewmini >> >> Sewmini Jayaweera >> *Software Engineer - QA Team* >> Mobile: +94 (0) 773 381 250 >> sewm...@wso2.com >> >> On Wed, Apr 29, 2015 at 2:48 PM, Ushani Balasooriya <ush...@wso2.com> >> wrote: >> >>> Hi Sewmini, >>> >>> AFAIK, throttling count will start when the API is invoked. Therefore it >>> should be a successful invocation. First it checks API level throttling >>> limit and then Application level throttling limit and then it goes to >>> resource level throttling check. >>> >>> Regards, >>> Ushani >>> >>> >>> On Wed, Apr 29, 2015 at 1:59 PM, Sewmini Jayaweera <sewm...@wso2.com> >>> wrote: >>> >>>> Hi, >>>> >>>> In API manager throttling functionality, How exactly the throttling >>>> tier exceed? >>>> >>>> 1. At the end of 20 successful invocations/hits or >>>> 2. When total number of hits (successful and faulty) exceeds 20? >>>> >>>> When I test this in both API manager 1.8.0 and 1.9.0 packs, count was >>>> taken using number of successful hits. Therefore I reported [1] >>>> documentation Jira. >>>> >>>> Please do verify and let me know if the functionality is wrong. >>>> >>>> [1]. https://wso2.org/jira/browse/DOCUMENTATION-1665 >>>> <https://wso2.org/jira/browse/DOCUMENTATION-1665> >>>> >>>> Thanks & Regards, >>>> Sewmini >>>> >>>> Sewmini Jayaweera >>>> *Software Engineer - QA Team* >>>> Mobile: +94 (0) 773 381 250 >>>> sewm...@wso2.com >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Ushani Balasooriya* >>> Senior Software Engineer - QA; >>> WSO2 Inc; http://www.wso2.com/. >>> Mobile; +94772636796 >>> >>> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Chathurika Erandi* > Software Engineer, > WSO2 Inc. > > *E-mail:* chathuri...@wso2.com > *Mobile: *+94714 328 612 > *Blog*: chathurikaerandi.blogspot.com > -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev