wso2apimanager超出分配的配额错误
我在wos2apimanager 1.7中创建了一个api,并通过jmeter发送50request/s。在几个成功的请求之后,将重复显示以下日志。API层设置为无限wso2apimanager超出分配的配额错误,wso2,wso2-am,Wso2,Wso2 Am,我在wos2apimanager 1.7中创建了一个api,并通过jmeter发送50request/s。在几个成功的请求之后,将重复显示以下日志。API层设置为无限 [2017-02-16 09:46:03,364] INFO - RoleBasedAccessRateController You cannot access this service since you have exceeded the allocated quota. api定义xml如下所示 <?xml ve
[2017-02-16 09:46:03,364] INFO - RoleBasedAccessRateController You cannot access this service since you have exceeded the allocated quota.
api定义xml如下所示
<?xml version="1.0" encoding="UTF-8"?>
<api xmlns="http://ws.apache.org/ns/synapse"
name="admin--TestAPI2"
context="/test2"
version="v1"
version-type="url">
<resource methods="POST GET" url-mapping="/num" faultSequence="fault">
<inSequence>
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION">
<then>
<send>
<endpoint name="admin--TestAPI2_APIproductionEndpoint_0">
<http uri-template="http://time.jsontest.com/"/>
</endpoint>
</send>
</then>
<else>
<send>
<endpoint name="admin--TestAPI2_APIsandboxEndpoint_0">
<http uri-template="http://time.jsontest.com/"/>
</endpoint>
</send>
</else>
</filter>
</inSequence>
<outSequence>
<send/>
</outSequence>
</resource>
<resource methods="POST GET" url-mapping="/number" faultSequence="fault">
<inSequence>
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION">
<then>
<send>
<endpoint name="admin--TestAPI2_APIproductionEndpoint_1">
<http uri-template="http://time.jsontest.com/"/>
</endpoint>
</send>
</then>
<else>
<send>
<endpoint name="admin--TestAPI2_APIsandboxEndpoint_1">
<http uri-template="http://time.jsontest.com/"/>
</endpoint>
</send>
</else>
</filter>
</inSequence>
<outSequence>
<send/>
</outSequence>
</resource>
<handlers>
<handler class="org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler"/>
<handler class="org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler">
<property name="id" value="A"/>
<property name="policyKey" value="gov:/apimgt/applicationdata/tiers.xml"/>
</handler>
<handler class="org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageHandler"/>
<handler class="org.wso2.carbon.apimgt.usage.publisher.APIMgtGoogleAnalyticsTrackingHandler">
<property name="configKey" value="gov:/apimgt/statistics/ga-config.xml"/>
</handler>
<handler class="org.wso2.carbon.apimgt.gateway.handlers.ext.APIManagerExtensionHandler"/>
</handlers>
</api>
什么是资源级别和应用程序级别层?应用程序级别是无限的,您所说的资源级别层是什么意思?检查什么是资源级别限制?她的资源级别层也设置为无限。如果您知道,请您说明wso2apimanager可以处理的最大请求数?