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 |
Pass |
||||||
2 |
call deployVirtualmachine api with <=2k encoded user data on port 8096 with get request |
Open port 8096 for CS |
API is successful and VM is created |
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 |
pass |
||||||
4 |
call deployVirtualmachine api with encoded user data between 2k to 32k on port 8096 with post request |
Open port 8096 for CS |
API is successful and VM is created |
Pass |
||||||
5 |
call deployVirtualmachine api with encoded user data between 2k to 32k on port 8096 with get request |
Open port 8096 for CS |
API fails |
Pass |
||||||
6 |
call deployVirtualmachine api with =<2k encoded user data on port 8096 with post request |
Open port 8096 for CS |
API is successful and VM is created |
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 |
API is successful and VM is created |
Pass |
||||||
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 |
API is successful and VM is created |
Pass |
||||||
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 |
API is successful and VM is created |
pass |
||||||
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 |
API is successful and VM is created |
Pass |
||||||
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 |
Api should fail |
Pass |
||||||
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 |
API is successful and VM is created |
Pass |
||||||
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 |
API is successful and VM is created |
Pass |
||||||
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 |
API is successful and VM is created |
Pass |
||||||
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 |
API is successful and VM is created |
pass |
||||||
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 |
API is successful and VM is created |
Pass |
||||||
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 |
Api should fail |
Pass |
|
|
|
|
|
|
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 |
API is successful and VM is created |
Pass |