Hi All,

When you enable invert condition of a particular header condition, should
it look at the whole header name, or just the value?

To collaborate more on this scenario, pls have a look at the below example.

I have configured a tier (named *Tier1*), with default limit as 50 req/1min
and a header condition policy as Header:value -> myheader:*123* with
execution policy of 20req/1min and *invert condition* is switched *on*

*Scenario 1 *: So when I invoke a request with myheader:*123*, since the
inverter is switched on, it will throttle out at 50req/1min which is
expected.
*Scenario 2*: when I invoke a request with myheader:*1234*, since the
inverter is switched on, it will throttle out at 20req/1min which is
expected.
*Scenario 3* :But when I invoke a request *without* a header named
myheader, it does not throttle out at all, and can be invoked unlimited.

Shouldn't this behave same as Scenario 2? Because when a publisher assigns
a tier as Tier1, he can be in a mindset that it should consent to the
configured tier request count.

Please advice.

Thanks,
-
*Ushani Balasooriya*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to