Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

S.No

Test case name

Repro steps

Verification

Execution result

1

call deployVirtualmachine api with <=2k encoded user data on port 8080 with get request

call deployVirtualmachine api with <2k user data on port 8080

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

Pass

2

call deployVirtualmachine api with <=2k encoded user data on port 8096 with get request

Open port 8096 for CS
call deployVirtualmachine api with <2k user data on port 8096

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

Pass

3

call deployVirtualmachine api with encoded user data between 2k to 32k on port 8080 with post request

call deployVirtualmachine api with >32k user data on port 8080

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

4

call deployVirtualmachine api with encoded user data between 2k to 32k on port 8096 with post request

Open port 8096 for CS
call deployVirtualmachine api with>32kuser data on port 8096

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

Pass

5

call deployVirtualmachine api with encoded user data between 2k to 32k on port 8096 with get  request

Open port 8096 for CS
call deployVirtualmachine api with>32kuser data on port 8096

API fails

Pass

6

call deployVirtualmachine api with =<2k encoded user data on port 8096 with post  request

Open port 8096 for CS
call deployVirtualmachine api with <2k user data on port 8096

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

Pass

7

call updateVM command with <=2k encoded user data on port 8080 with get request when userdata was not supplied during VM  creation

Create a VM
Stop a VM
Call updateVM api with userdata <=2k on port 8080

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

8

call updateVM command with <=2k encoded user data on port 8096 with get request when userdata was not supplied during VM  creation

Open port 8096 for CS
Create a VM
Stop a VM
Call updateVM api with userdata <=2k on port 8096

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

9

call updateVM command with encoded user data between 2k to 32k on port 8080 with post request when userdata was not supplied during VM  creation

Create a VM
Stop a VM
Call updateVM api with userdata between (2k to 32k)  on port 8080

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

10

call updateVM command with encoded user data between 2k to 32k on port 8096 with post request  when userdata was not supplied during VM  creation

Open port 8096 for CS
Create a VM
Stop a VM
Call updateVM api with userdata between (2k to 32k)  on port 8096

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

11

call updateVM command with encoded user data between 2k to 32k on port 8096 with get  request when userdata was not supplied during VM  creation

Open port 8096 for CS
Create a VM
Stop a VM
Call updateVM api with userdata between (2k to 32k)  on port 8096 using get request

Api should fail

 

12

call updateVM command with =<2k encoded user data on port 8096 with post  request when userdata was not supplied during VM  creation

Open port 8096 for CS
Create a VM
Stop a VM
Call updateVM api with userdata <=2k  on port 8096 using  post request

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

13

call updateVM command with <=2k encoded user data on port 8080 with get request when userdata was supplied during VM  creation

Create a VM
Stop a VM
Call updateVM api with userdata <=2k on port 8080

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

14

call updateVM command with <=2k encoded user data on port 8096 with get request when userdata was supplied during VM  creation

Open port 8096 for CS
Create a VM
Stop a VM
Call updateVM api with userdata <=2k on port 8096

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

15

call updateVM command with encoded user data between 2k to 32k on port 8080 with post request when userdata was  supplied during VM  creation

Create a VM
Stop a VM
Call updateVM api with userdata between (2k to 32k)  on port 8080

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

16

call updateVM command with encoded user data between 2k to 32k on port 8096 with post request  when userdata was supplied during VM  creation

Open port 8096 for CS
Create a VM
Stop a VM
Call updateVM api with userdata between (2k to 32k)  on port 8096

API is successful and VM is created
DB table user-vm-view shows proper values for userdata

 

17

 

call updateVM command with encoded user data between 2k to 32k on port 8096 with get request  when userdata was supplied during VM  creation

 

 

 

Open port 8096 for CS
Create a VM
Stop a VM
Call updateVM api with userdata between (2k to 32k)  on port 8096 using get request

Api should fail

 

 


 

  Api should fail


 

18

call updateVM command with encoded user data <=2k on port 8096 with post  request when userdata was supplied during VM  creation

Open port 8096 for CS
Create a VM
Stop a VM
Call updateVM api with userdata <=2k  on port 8096 using  post request

API is successful and VM is created
DB table user-vm-view shows proper values for userdata