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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
| ||||||||||
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 |
|
|
| 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 | API is successful and VM is created |
|