Space banner This documentation supports the 18.05 version of Multi-Cloud Service Management.To view the documentation for the previous version, select 18.02 from the Product version menu.

User scenarios and associated actions


This section describes the user scenarios and associated actions that were automated using SilkPerformer Performance Testing tool. Out-of-the-box, integration flows were required to communicate between the source and destination systems. These conditions were emulated in a single silkperformer script.

Brokering test cases

Brokering TC1 - Create Brokered Incident

Brokering TC1 - Create Brokered Incident [Monitor qualifying incidents in Remedy ITSM and create in Multi-cloud for Incident Brokering]

  1. Initialization steps
    1. Login to Smart IT and Salesforce portal. 
  2. Transaction steps
    1. Create New Incident in Smart IT using "Service Cloud"  
    2. Access this Incident and check whether HTTP response contains string "brokerVendorName" with "Cloud"
    3. If response does not contains expected string, repeat step b and c for every 30 seconds interval. 
    4. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteration. 
    5. If validation is successful , then it will get incident details using mcsm HTTP call . Transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps
    1. Logout from Smart IT and Salesforce .

      Note

      This script creates a data file with linked case number from Salesforce and the incident number from Smart IT.

Brokering TC2 - Create Incident Activity Note

Brokering TC2 - Create Incident Activity Note

  1. Initialization steps
    1. Login to Smart IT and the Salesforce portal. 
  2. Transaction steps 
    1. Select Random Incident number from data file. [ Data file contains 1000+ incident numbers  of Smart IT and related case number of Salesforce ]
    2. Do a global search in Smart IT and fetch incident details.
    3. Add activity notes in given incident with unique string and timestamp in Smart IT.  
    4. Search related case number in Salesforce.
    5. Access case's notes section in salesforce
    6. Check if response in notes contains unique string. If response does not contain expected string  then repeat  step e and f for every 30 seconds interval. 
    7. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteration. 
    8. If validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps
    1. Logout from Smart IT and Salesforce. 
Brokering TC3 (Sync Service Cloud Case Comment ) & Brokering TC4 (Sync Service Cloud Case )
Brokering TC3 (Sync Service Cloud Case Comment )  and Brokering TC4 (Sync Service Cloud Case )
  1. Initialization steps
    1. Login to Smart IT and Salesforce portal. 
  2. Transaction steps
    1. Select Random Case number from data file. [ Data file contains 1000 incident numbers  of Smart IT and related case number of Salesforce ]
    2. Search this case number in Salesforce and fetch its details.
    3. Add comments in given case with unique string and timestamp in Salesforce.
    4. Also Edit Description of given case with unique string and timestamp in Salesforce. 
    5. Do a global search of related incident number in Smart IT. 
    6. Access comment section of incident in Smart IT and description from mcsm call in Smart IT. 
    7. Check if response in comment section of Smart IT and description from mcsm call in Smart IT contains unique string. If response does not contain expected string  then repeat  step f and g for every 30 seconds interval. 
    8. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteration. 
    9. If validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps : Logout from Smart IT and Salesforce.

DevOps test cases

DevOps TC1 - Create Change - JIRA to SmartIT

DevOps TC1 - Create Change  - JIRA to Smart IT [Create a change in Remedy ITSM when Multi-cloud has received a qualifying Issue from Dev Tool]

  1. Initialization steps
    1. Login to Smart IT and JIRA portal. 
  2. Transaction steps
    1. Create New issue with type "Story" in JIRA with "Highest"  priority.  
    2.  Access this issue and check whether HTTP response contains label with string "CRQ".  "CRQ"  indicates this corresponding change request is created in Smart IT. 
    3. if response does not contains expected string, repeat step b and c for every 30 seconds interval. 
    4. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteratoin. 
    5. validation is successful , then it will do a global search in Smart IT with CRQ number and fetch details of change request. Also fetch change request details using mcsm HTTP call . Transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps
    1. Logout from Smart IT and JIRA portal.  

      Note

      This script creates a data file with linked issue number from JIRA and Change Request number from Smart IT.

DevOps TC2 - Create Change Activity Note

DevOps TC2 - Create Change Activity Note [Monitor qualifying activity notes (worklogs) on change records in Remedy ITSM and create in Multi-Cloud for DevOps Integration]

  1. Initialization steps
    1. Login to Smart IT and JIRA portal. 
  2. Transaction steps 
    1. Select Random Change Request number from data file. [ Data file contains 1000 Change Request numbers  of Smart IT and related Issue number of JIRA ]
    2. Do a global search in Smart IT and fetch Change Request details.
    3. Add activity notes in given Change with unique string and timestamp in Smart IT.  
    4. Search related Issue number in JIRA.
    5. Access Issue details in JIRA
    6. Check if response in notes contains unique string. If response does not contain expected string  then repeat  step e and f for every 30 seconds interval. 
    7. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteration. 
    8. If validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps
    1. Logout from Smart IT and JIRA. 
DevOps TC3 (Sync JIRA Issue Comment) & DevOps TC4 (Sync JIRA Issue )

DevOps TC3 (Sync JIRA Issue Comment)  and DevOpsTC4 (Sync JIRA Issue )

  1. Initialization steps
    1. Login to Smart IT and JIRA portal. 
  2. Transaction steps 
    1. Select Random Case number from data file. [ Data file contains 1000 Change Request numbers  of Smart IT and related Issue number of JIRA]
    2. Search this Issue number in JIRA and fetch its details.
    3. Add comments in given issue with unique string and timestamp in JIRA.
    4. Also Edit Description of given issue with unique string and timestamp in JIRA. 
    5. Do a global search of related change request number in Smart IT. 
    6. Access comment section of change request in Smart IT and description from mcsm call in Smart IT. 
    7. Check if response in comment section of Smart IT and description from mcsm call in Smart IT contains unique string. If response does not contain expected string  then repeat  step f and g for every 30 seconds interval. 
    8. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteration. 
    9. If validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps
    1. Logout from Smart IT and JIRA.
DevOps TC5 - Create DevOps Incident

DevOps TC5 - Create DevOps Incident [Monitor qualifying incidents in Remedy ITSM and create in Multi-Cloud for DevOps Integration] 

  1. Initialization steps
    1. Login to Smart IT and JIRA portal. 
  2. Transaction steps
    1. Create New Incident in Smart IT and mark its status as "Resolved "  with reason " Future Enhancement" alongwith resolving operation category as Request → JIRA → Story
    2. Access this Incident and check whether HTTP response contains string "brokerVendorName" with "JIRA"
    3. If response does not contains expected string, repeat step b and c for every 30 seconds interval. 
    4. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteratoin. 
    5. If validation is successful , then it will get incident details using mcsm HTTP call . Transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps
    1. Logout from Smart IT and JIRA.
DevOps TC6 - Create DevOps Change

DevOps TC6 - Create DevOps Change [Monitor qualifying Change Records in Remedy ITSM and create in Multi-Cloud for DevOps Integration]

  1. Initialization steps
    1. Login to Smart IT and JIRA portal. 
  2. Transaction steps
    1. Create New Change in Smart IT and Low Priority with   operation category as Request → JIRA → Story
    2. Access this Incident and check whether HTTP response contains string "brokerVendorName" with "JIRA"
    3. If response does not contains expected string, repeat step b and c for every 30 seconds interval. 
    4. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteratoin. 
    5. If validation is successful , then it will get incident details using mcsm HTTP call . Transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps
    1. Logout from Smart IT and JIRA.
DevOps TC7 - Create Incident - JIRA to SmartIT

DevOps TC7- Create Incident- JIRA to Smart IT [Create a Incident in Remedy ITSM when Multi-cloud has received a qualifying Issue from Dev Tool]

  1. Initialization steps
    1. Login to Smart IT and JIRA portal. 
  2. Transaction steps 
    1. Create New issue with type "Bug" in JIRA with "Medium"  priority.  
    2.  Access this issue and check whether HTTP response contains label with string "INC".  "INC"  indicates this corresponding change request is created in Smart IT. 
    3. if response does not contains expected string, repeat step b and c for every 30 seconds interval. 
    4. Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark transaction as FAIL and proceed with step a for next iteratoin. 
    5. validation is successful , then it will do a global search in Smart IT with INC number and fetch details of Incident number . Also fetch incident number details using mcsm HTTP call . Transaction will be marked as PASS and proceed with step a for next iteration.
  3. End steps
    1. Logout from Smart IT and JIRA portal.  

The following business transaction mappings were considered as below : 

image2018-7-16_17-18-29.png

The following out-of-the-box DevOps Integration and Incident Brokering flows were configured in Integration Studio.

IntegrationFlows.png

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*