Hi Saneth,

I think also its better to test these scenarios in tenant mode as well also
we can add some more negative scenarios too. (eg: Try adding API with
special characters , Try login in from a user who has api creator
permission only etc.) .

Regards

On Tue, Mar 10, 2015 at 9:05 AM, Kala Weerawardana <[email protected]> wrote:

> Hi Saneth,
>
> As I mentioned in the offline chat this is to focus wether every possible
> scenario is tested changing the Lifecycle state, not as a particular test
> case.
>
> Regards,
> Kala
>
> On Tue, Mar 10, 2015 at 8:56 AM, Saneth Dharmakeerthi <[email protected]>
> wrote:
>
>> HI Kala,
>>
>> Thanks for the information.
>>
>> But does this test scenario is not covered by other test scenarios?,
>> Ex scenarios : Retire an api verify it from store(row 9)
>>  Block an api and check it in store(row 10)
>>
>>
>>
>> Thanks and Best Regards,
>>
>> Saneth Dharmakeerthi
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile: +94772325511
>>
>> On Tue, Mar 10, 2015 at 8:02 AM, Kala Weerawardana <[email protected]> wrote:
>>
>>> Hi Saneth,
>>>
>>> I tested the Lifecycle state section but did not write the test cases.
>>> It was already written.
>>>
>>> Anyway for your questions,
>>>
>>> 1. Yes the State mentioned there refers to Lifecycle state.
>>>
>>> 2. According to the different sates CREATED, PROTOTYPED, PUBLISHED,
>>> DEPRECATED, RETIRED and BLOCKED you have to test what happens to the API
>>> after changing in to each and every state.
>>>
>>> That line 'Change the state of api with different combinations' make
>>> sure that every possible scenario is tested changing the states of a
>>> Lifecycle.
>>>
>>>
>>> As I figured the test scenarios are written according to [1].
>>>
>>>
>>> [1] - https://docs.wso2.com/display/AM180/Manage+the+API+Lifecycle
>>>
>>> Regards,
>>> Kala
>>>
>>> On Mon, Mar 9, 2015 at 11:39 PM, Saneth Dharmakeerthi <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am writing integration tests for API Life Cycle and  found  following
>>>>  test scenario in document[1],
>>>>
>>>> Test Scenario : "Change the *state* of api with different combinations" 
>>>> (11th
>>>> row in API Life Cycle Tab )
>>>>
>>>> I need to clarify following points.
>>>>
>>>>    1. What is meant by "*state*"? Is it lifecycle state?
>>>>    2. If it is lifecycle state,How this test scenario is specifically
>>>>    differ from other test scenarios?, What are the expected outcomes this
>>>>    test? (What need to be done and What observations need to verify)
>>>>
>>>>
>>>> [1]
>>>> https://docs.google.com/a/wso2.com/spreadsheets/d/1SiktQWh463KZzr86ADqBnsyyHa2Tre-fIlGYvYRQfTQ/edit#gid=78
>>>>
>>>>
>>>> Thanks and Best Regards,
>>>>
>>>> Saneth Dharmakeerthi
>>>> Senior Software Engineer
>>>> WSO2, Inc.
>>>> Mobile: +94772325511
>>>>
>>>
>>>
>>>
>>> --
>>> Kala C. Weerawardana
>>> *Software Engineer - QA Team*
>>> *WSO2 Inc. *
>>> Mobile :  +94 (0) 716189886 +94 (0) 772877683
>>> Blog : http://castakai.blogspot.com
>>> [email protected]
>>>
>>
>>
>
>
> --
> Kala C. Weerawardana
> *Software Engineer - QA Team*
> *WSO2 Inc. *
> Mobile :  +94 (0) 716189886 +94 (0) 772877683
> Blog : http://castakai.blogspot.com
> [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to