You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Test Case ID

Test Case Name

Steps

Expected Results

Priority (P1 | P2 |P3)

Test Case Type( Sanity | Functional |Negative)

is Automatable(Y|N)

isAutomated(Y|N)

Status
Pass/Fail

Comments

Execution Time

Executed on Release

 

 

 

 

1

Create tags

Create a tag on VM using creatTag API
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0d28baba-cdf1-41a9-a8ce-4549fd39882d"><ac:plain-text-body><![CDATA[eg :command=createTags&resourceIds=1&resourceType=userVm&tags[0].key=region&tags[0].value=India

The VM should be tagged with the given name.
]]></ac:plain-text-body></ac:structured-macro>
listtags should show the newly created tag
DB Check:
cloud.tags table-Has newly craeted record(Tag)

P1

Functional/Sanity

 

 

Pass

 

 

 

2

Delete tag

1.Create a tag on VM using creatTag API
2.Delete above created tag using deleteTags API
eg:command=deleteTags&resourceIds=1&resourceType=VM&tags0.key=region

The attached Tag should be deleted successfully with out any erros

P1

Functional/Sanity

 

 

Pass

 

 

 

3

list tags

list the created tags by runging list-tags API

It should list the all the created Tags .and if no tags defined ,querying the tags should not cause any errors(Null Pointer Exceptions)

P1

Functional/Sanity

Y

 

Fail
CS15459

 

 

 

4

Check the DB

Query the cloud db for newly added  "Tags" table.

DB should have new table called "tags"
Structure of the table  should have following fields:

  • resource_id
  • resource_type
  • key
  • value
  • account_id
  • domain_id
  • customer
    Unique key constraint / index: resourceId/resourceType/key

P1

Functional

Y

 

 

 

 

 

5

Create tags on user VM

Create  a tag on VM using createTags API


<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cfb081e5-1b72-4279-90fd-12a14ecc3f48"><ac:plain-text-body><![CDATA[ eg :command=createTags&resourceIds=1&resourceType=userVm&tags[0].key=region&tags[0].value=India

The VM should be tagged with the given name.
]]></ac:plain-text-body></ac:structured-macro>
listtags should show the newly created tag

P1

Functional

Y

 

Pass

CS15459

 

 

6

Create tags on Template &ISO

1. Create  a tag on Template using createTags API
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7bfde813-a839-4951-abec-d470f1471ac1"><ac:plain-text-body><![CDATA[ command=createTags&resourceIds=1&resourceType=Template&tags[0].key=OS&tags[0].value= Windows
]]></ac:plain-text-body></ac:structured-macro>
2. Create  a tag on ISO using createTags API
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cc042c53-227e-4162-8f10-1fcb4c678a2d"><ac:plain-text-body><![CDATA[command=createTags&resourceIds=1&resourceType=ISO&tags[0].key=OS&tags[0].value= Cent-OS

The template should be tagged with the given name.
]]></ac:plain-text-body></ac:structured-macro>
The ISO should be tagged with the given name.
listtags should show the newly created tag

P1

Functional/Sanity

Y

 

Pass

CS15459(listtags failes)

 

 

7

Create tags on Volumes

1. Create  a tag on Volumes using createTags API.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c5c8792d-5b97-4a07-8399-d6c93f00ae44"><ac:plain-text-body><![CDATA[:command=createTags&resourceIds=1&resourceType=Volume&tags[0].key=region&tags[0].value= Canada

The Volume should be tagged with the given name.
]]></ac:plain-text-body></ac:structured-macro>
listtags should show the newly created tag

P1

Functional

Y

 

Pass

CS15459

 

 

8

Create tags on Snapshot

1. Create  a tag on Snapshot using createTags API
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ebf85970-5c53-45cf-b056-28eebead7818"><ac:plain-text-body><![CDATA[command=createTags&resourceIds=1&resourceType=Snapshot&tags[0].key=region&tags[0].value= Canada

The Snapshot should be tagged with the given name.
]]></ac:plain-text-body></ac:structured-macro>
listtags should show the newly created tag

P1

Functional

Y

 

Pass

 

 

 

9

Create tags on GuestNetwork

1. Create  a tag on GuestNetwork using createTags API
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ca3db508-b950-45bb-a0f1-86de7a4c23b4"><ac:plain-text-body><![CDATA[command=createTags&resourceIds=1&resourceType=GuestNetwork&tags[0].key=region&tags[0].value= Canada

The GuestNetwork should be tagged with the given name.
]]></ac:plain-text-body></ac:structured-macro>
listtags should show the newly created tag

P1

Functional

Y

 

 

 

 

 

10

Create tags on LB Rule

1. Create  a tag on LB Rule using createTags API

http://10.147.39.51:8080/client/api?command=createTags&resourceIds=1&resourceType=LoadBalancer&tags0.key=LB&tags0.value=40&response=json&sessionkey=zLhi1Z%2Fu1UcW8GKU54nhKCbHLHQ%3D

The LB Rule should be tagged with the given name.
listtags should show the newly created tag

P1

Functional/Sanity

Y

 

Pass

CS15459(listtags failes)

 

 

11

Create tags on PF Rule

1. Create  a tag on PF Rule using createTags API

http://10.147.39.51:8080/client/api?command=createTags&resourceIds=2&resourceType=portForwardingRule&tags0.key=LB&tags0.value=40&response=json&sessionkey=zLhi1Z%2Fu1UcW8GKU54nhKCbHLHQ%3D

The PF Rule should be tagged with the given name.
listtags should show the newly created tag

P1

Functional

Y

 

Pass

CS15459(listtags failes)

 

 

12

Create tags on Firewall Rule

1. Create  a tag on Firewall Rule using createTags API

http://10.147.39.51:8080/client/api?command=createTags&resourceIds=3&resourceType=FirewallRule&tags0.key=LB&tags0.value=40&response=json&sessionkey=zLhi1Z%2Fu1UcW8GKU54nhKCbHLHQ%3D

The Fire Rule should be tagged with the given name.
listtags should show the newly created tag

P1

Functional

Y

 

Pass

CS15459(listtags failes)

 

 

13

Create tags on SecurityGroup

1. Create  a tag on Security group using createTags API

The Security group should be tagged with the given name.
listtags should show the newly created tag

P1

Functional

Y

 

 

 

 

 

14

Create tags on VPN

1. Create  a tag on VPN using createTags API
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8ccbdf16-42b0-47e2-91b6-93c862bf9fa3"><ac:plain-text-body><![CDATA[command=createTags&resourceIds=1&resourceType=VPN&tags[0].key= protocol&tags[0].value= L2TP

The VPN  should be tagged with the given name.
]]></ac:plain-text-body></ac:structured-macro>
listtags should show the newly created tag

P1

Functional

Y

 

 

 

 

 

15

Create tags on Public IP address

1. Create  a tag on Public IP using createTags API

The  Public IP should be tagged with the given name.
listtags should show the newly created tag

P2

Functional

Y

 

 

 

 

 

16

Create tags on multiple resource of same type

1. Create tags on multiple resource of same type using createTags API

eg:
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a128886-a4b1-4a89-988a-f808becc7ed9"><ac:plain-text-body><![CDATA[ command=createTags&resourceIds=1,10,12&resourceType=userVm&tags[0].key=region&tags[0].value=canada&tags[1].key=city&tags[1].value=Toronto

The multple UserVM should be tagged with the given key &values.
]]></ac:plain-text-body></ac:structured-macro>
listtags should show the newly created tag

P2

Functional

Y

 

 

 

 

 

17

create multiple tags on single resources

1. Create multiple tags on single resource of same type using createTags API

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="96b14269-4dd7-4ac9-af3f-9260c85f40ee"><ac:plain-text-body><![CDATA[ command=createTags&resourceIds=1&resourceType=userVm&tags[0].key=region&tags[0].value=canada&tags[1].key=city&tags[1].value=Toronto

The resource(eg:VM) should be attached with multiple tags successfully

P2

Functional

Y

 

Pass

 

 

 

]]></ac:plain-text-body></ac:structured-macro>

18

Delete and add same tag

1. Create  a tag on VM using createTags API
2.Delete the tag.
3.add a same tag again

1.The VM should be tagged with the given name.2.The attached Tag should be deleted successfully with out any errors
3.Able to tag the VM successfully

P2

Functional

Y

 

 

 

 

 

19

Give same tag for different resource types

1.Try to create same Tag for multiple resources

Able to create Tags on resources successfully

P2

Functional

Y

 

Pass

 

 

 

20

create tag on stoppedVM

1. stop a running VM
2. Create  a tag on stoppedVM using createTags API

The VM should be tagged with the given name.
listtags should show the newly created tag

P2

Functional

Y

 

 

 

 

 

21

Create tag on destroyed VM

1. Destroy a running VM
2. Create  a tag on destroyedVM using createTags API

The VM should be tagged with the given name.
listtags should show the newly created tag

P3

Functional

Y

 

 

 

 

 

22

Create tag on LB rule and remove the LB rule

1. Configured LB rule by assignin  2vms
2. create Tag on LB rule using CreateTag API
3. Delete the LB rule

It should delete the LB rule as well attached tag successfully

P2

Functional

Y

 

 

 

 

 

23

Create tag on PF rule and remove the PF rule

1. Configured PF rule
2. create Tag on PF rule  using CreateTag API
3. Delete the PF rule

It should delete the PFrule as well as attached tag successfully

P2

Functional

Y

 

Pass

 

 

 

24

Create tag on  Firewall rule and remove the Firewall rule

1. Configured Firewall Rule
2. create Tag on Firewall Rule   using CreateTag API
3. Delete the Firewall rule

It should delete the Firewall rule as well as attached tag successfully

P2

Functional

Y

 

 

 

 

 

25

Create tag on VPN rule and  disabled the VPN

1. Enable the VPN
2. create Tag on VPN rule using CreateTag API
3. Delete the VPN rule

It should delete the VPN rule as well as attached tag successfully

P2

Functional

Y

 

 

 

 

 

26

Delete tags on UserVM

1.Create  a tag on VM using createTags API
2.delete above created tag using deleteTags API

should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

27

Delete  tags on Template &ISO

1.Create  a tags on Template &ISO  using createTags API
2.delete above created tags using deleteTags API

should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

28

Delete  tags on Volumes

1.Create  a tag on VM using createTags API
2.delete above created tag using deleteTags API

should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

29

Delete  tags on Snapshot

1.Create  a tag on snapshot using createTags API
2.delete above created tag using deleteTags API

should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

30

Delete  tags on GuestNetwork

1.Create  a tag on GuestNetwork using createTags API
2.delete above created tag using deleteTags API

It should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

31

Delete tags on LB Rule

1.Create  a tag on LB Rule using createTags API
2.delete above created tag using deleteTags API

LB rule should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

32

Delete  tags on PF Rule

1.Create  a tag on Port-forward Rules using createTags API
2.delete above created tag using deleteTags API

PF rule should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

33

Delete  tags on Firewall

1.Create  a tag on firewall using createTags API
2.delete above created tag using deleteTags API

The VM should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

34

Delete  tags on SecurityGroup

1.Create  a tag on VM using createTags API
2.delete above created tag using deleteTags API

The Firewall rule should be tagged with the given name.

The attached Tag should be deleted successfully with out any errors

P1

Functional

Y

 

 

 

 

 

35

Create tag and migrate instance

1.Create  a tag on VM using createTags API
2.perform live-migration form one host another host
3.delete the tag

Create tag should be successful
Migration Vm should be successful
deletion of tag should be successful

P2

Functional

Y

 

 

 

 

 

36

Create same tag with lower/upper case

1.Create  a tag with lowercase on VM using createTags API
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="910c2700-06c6-468e-b1c0-22aab934faaf"><ac:plain-text-body><![CDATA[command=createTags&resourceIds=1&resourceType=userVm&tags[0].key=region&tags[0].value=India
]]></ac:plain-text-body></ac:structured-macro>
2.create a same tag with upper caseon VM using createTags API
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f361d8b2-0793-4a30-baf6-46415d063034"><ac:plain-text-body><![CDATA[command=createTags&resourceIds=1&resourceType=userVm&tags[0].key=REGION&tags[0].value=INDIA

step1;tag creation should be successful and
]]></ac:plain-text-body></ac:structured-macro>
step2:tag creation failed with proper message "tag already exists".

 

Functional

Y

 

Pass

NO proper error message logged in the management log

 

 

37

attach more than 10 tags to resource

1.create more than 10 tags to VM using createTags API

Tag creation should be successful and

P2

Functional

Y

 

 

 

 

 

38

create tag with special Character

1.Create  a tag with special characters on VM using createTags API

Tag creation should be failed with proper error message

P3

Functional/Negative

Y

 

 

 

 

 

39

Create Tag on projects

1.Create  a New project by cliking on "New Project"
2, Create a tag on projects using createTags API

Tag create should be successful

P2

Functional

Y

 

 

 

 

 

40

Query the tags of other user account resources

1.login with an account(account A)
2.create a tags on resource(eg:VM)
3. login with another account(Account b) and query the tags using listTags API
command=listTags&account=A

It should not list the tags of account A to Account B

P2

Functional

Y

 

 

 

 

 

41

Query the tags with Admin account

1.login with an account(account A)
2.create a tags on resource(eg:VM)
3. login with admin account and query the tags using listTags API
command=listTags&account=A

admin should able to see all the tags belongs to all accounts/resources

P1

Functional/Sanity

Y

 

 

 

 

 

42

Upgrade from old release(2.2.x &3.0.x) to new release(burbank) and create tag

Upgrade From older version to current release
deploy new VM
create a  tag on existing Vm as well new VMs

Upgrade should be successful and able to create tag on existing VM and as well newly deployed Vms after upgrade

P1

Functional

Y

 

 

 

 

 

  • No labels