aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-robot/robot/testsuites/MiscTests.robot
blob: a3b942830e82ad10ccdf5b3808644232c0a81e43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
*** Settings ***
Documentation   Creates VID VNF Instance

Library   StringTemplater
Library   UUID
Library   Collections

Resource    ../resources/optimizer_common.robot
Resource    ../resources/scheduler_common.robot
Resource    ../resources/ticketmgt_common.robot
Resource    ../resources/topology_common.robot

# Test Setup
# Test Teardown   
*** Variable***
${user_name}=    
${password}=    
${uuid_list_file}=    robot/assets/get_schedule_UUIDs.txt
${template_folder}=    robot/assets/templates/changemanagement
*** Test Cases ***
Test CMSO Optimizer Admin
    [Tags]   ete   
    ${response}=    Get Optimizer Plain Text   alias    admin/password   
    Should Contain   ${response.text}   kECFDaLusYNHTN6Q4DmsYw==

Test CMSO Service Admin
    [Tags]   ete 
    ${response}=    Get Scheduler Plain Text   alias    /cmso/v1/admin/password
    Should Contain   ${response.text}   kECFDaLusYNHTN6Q4DmsYw==

Test CMSO Ticket Mgt Admin
    [Tags]   ete 
    ${response}=    Get Ticket Mgt Plain Text   alias    admin/password
    Should Contain   ${response.text}   kECFDaLusYNHTN6Q4DmsYw==

Test CMSO Topology Admin
    [Tags]   ete 
    ${response}=    Get Topology Plain Text   alias    admin/password
    Should Contain   ${response.text}   kECFDaLusYNHTN6Q4DmsYw==

Test CMSO Optimizer Health
    [Tags]   ete   
    ${response}=    Get Optimizer   alias    health   
    Dictionary Should Contain Item   ${response.json()}   healthy  True 
     
Test CMSO Service Health
    [Tags]   ete 
    ${response}=    Get Scheduler   alias    /cmso/v1/health
    Dictionary Should Contain Item   ${response.json()}   healthy  True 
       

Test CMSO Ticket Mgt Health
    [Tags]   ete 
    ${response}=    Get Ticket Mgt   alias    health
    Dictionary Should Contain Item   ${response.json()}   healthy  True 
    

Test CMSO Topology Health
    [Tags]   ete 
    ${response}=    Get Topology   alias    health
    Dictionary Should Contain Item   ${response.json()}   healthy  True