@@ -24,6 +24,7 @@ Feature: Custom ratelimit
24
24
# Request 4
25
25
And I send "GET" request to "https://default.gw.wso2.com:9095/test-custom-ratelimit/employee" with body ""
26
26
Then the response status code should be 200
27
+ And I wait for 3 seconds
27
28
# Request 5 - should be limitted
28
29
And I send "GET" request to "https://default.gw.wso2.com:9095/test-custom-ratelimit/employee" with body ""
29
30
Then the response status code should be 429
@@ -64,6 +65,7 @@ Feature: Custom ratelimit
64
65
# Request 10 - for org_id descriptor
65
66
And I send "GET" request to "https://default.gw.wso2.com:9095/test-custom-ratelimit/employee" with body ""
66
67
Then the response status code should be 200
68
+ And I wait for 3 seconds
67
69
# Request 11 - for org_id descriptor
68
70
And I send "GET" request to "https://default.gw.wso2.com:9095/test-custom-ratelimit/employee" with body ""
69
71
Then the response status code should be 429
@@ -102,6 +104,7 @@ Feature: Custom ratelimit
102
104
# Request 10
103
105
And I send "GET" request to "https://default.gw.wso2.com:9095/test-custom-ratelimit/employee" with body ""
104
106
Then the response status code should be 200
107
+ And I wait for 3 seconds
105
108
# Request 11 - should be limitted
106
109
And I send "GET" request to "https://default.gw.wso2.com:9095/test-custom-ratelimit/employee" with body ""
107
110
Then the response status code should be 429
0 commit comments