| Testcase ID | Synopsis | Steps to Execute | Expected Results |
| Lease_001 | Leasing with Inband Registration | 1) Create a Producer(Registration/Inband) 2)Create a consumer by using the wsdl 3)Select Lifetime Supported 4)Enter (0,0,5) for (days,hours,mins) 5)Click Save | 1)Verify the termination time of this consumer by clicking on the consumer in the consumer admin portlet(Termination time=Current Time+Leasing time) 2)The Remote Portlet in WSRP tab should get expired after 5 mins 3)Server log will have a message”Registration Lifetime Expired for Handle xxxxxxxxxxxxxxxx Access_Denied_Fault” |
| Lease_002 | Leasing with OutBand? Registration | 1) Create a Producer(Registration/OutBandband).Also create RegistrationHandle? 2)Create a consumer by using the wsdl and registration handle 3)Select Lifetime Supported 4)Enter (0,0,5) for (days,hours,mins) 5)Click Save | 1) Verify the termination time of this consumer by clicking on the consumer in the consumer admin portlet(Termination time=Current Time+Leasing time) 2)The Remote Portlet in WSRP tab should get expired after 5 mins 3)Server log will have a message”Registration Lifetime Expired for Handle xxxxxxxxxxxxxxxx Access_Denied_Fault” |
| Lease_003 | Checking Termination Time in UI for Persistance | 1) Create a conumer with leasetime(0,0,5) 2) Click on conumer url in consumer admin portlet 3)Termination time(displayed as Registration valid until:(MM-DD-YYYY:hh:mm) 4-28-2008:19:30 ) is seen 4)Click on update Service Description(Update button) | The Termination time should be maintained.It should not change or disappear |
| Lease_004 | Updating service Description and Leasing | 1) Create a conumer with leasetime(0,0,10) 2)Click on conumer url in consumer admin portlet 3)Termination time(displayed as Registration valid until:(MM-DD-YYYY:hh:mm) 4-28-2008:19:30 ) is seen 4)Let the producer for this consumer add one more portlet to its publishing list 5)Click on update Service Description(Update button) | All the portlets including the recently added portlets should expire after 10 min |
| Lease_005 | NoRegistration? and Leasing | 1) Create a producer(No registration support 2)Create a sonumer using the wsdl.Choose v2 3)Click Next | LifeTime? Support check box should not be seen when there's no Registration Context |