Hi Saneth,

I think this is due to the caching of the older token. Can you please try
again by setting <EnableGatewayKeyCache> to 'false' in the api-manager.xml?

Thanks,
NuwanD.

On Fri, Mar 13, 2015 at 8:51 AM, Saneth Dharmakeerthi <[email protected]>
wrote:

> [Adding: Kala and Krishantha ]
>
> Hi,
>
> I tested this issue with both 1.9.0 SNAPSHOT version and 1.8.0. Both
> versions I was able to recreate the isssue.
> I created Jira :APIMANAGER-3374 [1] for tracking purpose.
>
> Automation test case
> "AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase [2]" will be
> disable until this issue is fixed.
> I have updated the API-M 1.9.0 Test Plan [3] with JIRA information.
>
>
> [1] https://wso2.org/jira/browse/APIMANAGER-3374
>
> [2] 
> org.wso2.am.integration.tests.api.lifecycle.AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase.java
> [3] API-M 1.9.0 Test Plan
>
> Thanks and Best Regards,
>
> Saneth Dharmakeerthi
> Senior Software Engineer
> WSO2, Inc.
> Mobile: +94772325511
>
> On Fri, Mar 6, 2015 at 10:14 AM, Saneth Dharmakeerthi <[email protected]>
> wrote:
>
>> Hi,
>>
>>    1. After copy and publish a new API version with the require
>>    re-subscription option and invoke the new API version without doing
>>    re-subscription it give an error, which is correct.
>>    2. But after that if I do a re-subscription and invoke the new API
>>    version again, the first new API version invocation after re-subscription
>>    is getting failed and getting success from 2nd invocation after
>>    re-subscription.
>>    3. This behaviour is not happening if I do not invoke the new API
>>    version before doing the re-subscription. In that case, first
>>    invocation of new API version after re-subscription is getting
>>    succeed.
>>
>> Is there any reason for the above 2nd  observation?.
>>
>> Thanks and Best Regards,
>>
>> Saneth Dharmakeerthi
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile: +94772325511
>>
>
>


-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to