On Thu, Jan 4, 2018 at 5:56 PM, Kavitha Subramaniyam <[email protected]>
wrote:

> Hi Harsha,
> Yes, bronze tier allows 1000Req/min.
> You are correct. To overcome this issue I have increased the throughput
> and now it triggering throttleout scenario.
>
Ok is it working now?

> E.g.
> samples = 2000
> ramup period = 10
> now throughput value is 46.2
>
> Thanks.
>
> On Thu, Jan 4, 2018 at 4:24 PM, Harsha Kumara <[email protected]> wrote:
>
>> Hi Kavintha,
>>
>> Is the Bronze tier limit is 1000 req/min? Since throughput is 10 req/s
>> which means it allows 600 req/min which won't trigger a throttle out
>> scenario.
>>
>> Thanks,
>> Harsha
>>
>> On Thu, Jan 4, 2018 at 3:56 PM, Kavitha Subramaniyam <[email protected]>
>> wrote:
>>
>>> Correction: testing APIM-scenario #6 in [1]
>>>
>>> On Thu, Jan 4, 2018 at 3:51 PM, Kavitha Subramaniyam <[email protected]>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> When I implement the testing APIM-scenario #9 [1], I was trying to
>>>> apply throttling policies for application and api, and observed the
>>>> subscription level throttling policy not applies properly.
>>>> Pack : APIM-2.1.0-update4
>>>> Using sample : scenario-sample -> sample 09 [2]
>>>>
>>>> Steps followed:
>>>> - Run the above sample => It has created "Mobile_stock_API" API and
>>>> 2relevant apps
>>>> - Edit the above Mobile_stock api with assign all subscription level
>>>> tiers at the "manage" tab and published
>>>> - Created a test app (testApp) manually with "UNLIMITED" Per Token
>>>> Quota
>>>> - Subscribe the testApp to Mobile_stock api with assigned "BRONZE" as
>>>> subscription tier (see attached subs.jpeg)
>>>> - Now invoked the api using jmeter script with following input
>>>>
>>>> Thread group users = 3000
>>>> Ramp-up period = 300
>>>> Loop count = 1
>>>>
>>>> Expected: First minimum 1000 requests should be succeed and remaining
>>>> request should get failed with "throttledout"
>>>> But actually observed almost all threads are executed without
>>>> trottledout error within 5min of period and TP is 10.0/sec (see attached
>>>> summary.jpeg)
>>>>
>>>> My question is when we have more than one throttle policies, will one
>>>> policy be overlapped by another with priority?
>>>> In this case, seems subscription level throttle policy not applied and
>>>> it works like unlimited. Appreciate your insight on this please.
>>>>
>>>> [1] https://docs.google.com/document/d/1w_kT3Dy80-dN2FRpmIk4ZMH0
>>>> lbURWkpB50xTO3BWmvI/edit#heading=h.q50ahk5ri9dd
>>>> [2] https://github.com/wso2/product-apim/tree/2.x/sample-scenari
>>>> os/sample9
>>>>
>>>>
>>>> Thanks,
>>>> Kavitha
>>>>
>>>> --
>>>> Kavitha.S
>>>> *Software Engineer -QA*
>>>> email : [email protected]
>>>> Mobile : +94 (0) 771538811 <%2B94%20%280%29%20773%20451194>
>>>>
>>>>
>>>
>>>
>>> --
>>> Kavitha.S
>>> *Software Engineer -QA*
>>> email : [email protected]
>>> Mobile : +94 (0) 771538811 <%2B94%20%280%29%20773%20451194>
>>>
>>>
>>
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618 <+94%2077%20550%205618>
>> Blog:harshcreationz.blogspot.com
>>
>
>
>
> --
> Kavitha.S
> *Software Engineer -QA*
> email : [email protected]
> Mobile : +94 (0) 771538811 <%2B94%20%280%29%20773%20451194>
>
>


-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to