Hi Team,
I am working on Spike arrest policy in Apigee Edge.
I am writing following code for the spike arrest policy.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <SpikeArrest async="false" continueOnError="false" enabled="true" name="Spike-Arrest-1"> <DisplayName>Spike Arrest-1</DisplayName> <Properties/> <Identifier ref="request.header.some-header-name"/> <MessageWeight ref="request.header.weight"/> <Rate>30pm</Rate> </SpikeArrest>
I am giving the Rate as 30pm(60sec/30pm=2sec).
So, When I am sending the second request before 2sec it should return error.
But it is not happend at all. I have followed the apigee docs.
In Apigee Trail version it is only taking 20 requests per 10 minutes.
But in doc it is shown like for Spike Arrest 31 request will fail.
Please, Suggest me when I did the mistake.
Thanks in Advance.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |