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