Hi Sanjeewa,

1) Doesn't this "Test" functionality confuse because it return as "invalid"
for the wikipedia  endpoint that is used in APIM samples [1] ?. But sample
is working correctly with out any issue.

2) Backend automation of APIM-29 [2] is blocked due to this, what is the
correct and recommended approach to test the functionality of "Test" button
?


[1] https://docs.wso2.com/display/AM160/Deploying+and+Testing+Wikipedia+API
[2]
https://testlink.wso2.com/linkto.php?tprojectPrefix=APIM&item=testcase&id=APIM-29


Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511

On Tue, Jun 30, 2015 at 11:42 AM, Sanjeewa Malalgoda <[email protected]>
wrote:

> In test method what we do is HTTP head call to back end(standard approach
> for check service availability).
> And it should return 2XX or 3XX response for that. Otherwise it will fail.
>
> Thanks,
> sanjeewa.
>
> On Tue, Jun 30, 2015 at 11:38 AM, Lasitha Deergawansa <[email protected]>
> wrote:
>
>> Hi APIM Team,
>>
>> Is there any reason for this behavior of this test button?
>>
>> Regards,
>> Lasitha.
>>
>> On Tue, Jun 23, 2015 at 12:44 PM, Lasitha Deergawansa <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> I have created the Wikipedia API manually which was in sample[1]  and it
>>> is working fine. After I clicked on "Edit" and try to validate "Test"
>>> button in "Production end point" in API implementation page it gives as
>>> "invalid".
>>> Endpoint: http://en.wikipedia.org/w/api.php
>>>
>>>
>>> [1]-
>>> https://docs.wso2.com/display/AM160/Deploying+and+Testing+Wikipedia+API
>>>
>>> Regards,
>>> Lasitha.
>>>
>>>
>>>
>>
>
>
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779
>
>  <http://sanjeewamalalgoda.blogspot.com/>blog
> :http://sanjeewamalalgoda.blogspot.com/
> <http://sanjeewamalalgoda.blogspot.com/>
>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to