User scenarios and associated actions
This section describes the user scenarios and associated actions that were automated using the 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 with Salesforce Service Cloud
Brokering TC1 - Create Brokered Incident
Brokering TC1 - Create Brokered Incident [Monitor qualifying incidents in BMC Helix ITSM and create in BMC Helix Multi-Cloud Broker for Incident Brokering]
- Initialization step: Login to BMC Helix ITSM and Salesforce portal.
- Transaction steps:
- Create a new BMC Helix ITSM incident in BMC Helix ITSM using Service Cloud.
- Access this Incident and check if the HTTP response contains the string brokerVendorName with Cloud.
If the response does not contain the expected string, repeat steps a and b for every 30 seconds interval.
The validation process will go on for a maximum of 6 minutes.
- If the validation process does not return the expected string, then it will mark the transaction as FAIL and proceed with Step 1 for the next iteration.
- If validation is successful, then it will get incident details using the BMC Helix Multi-Cloud Broker HTTP call. Transaction will be marked as PASS and proceed with Step 1 for the next iteration.
End step: Logout from BMC Helix ITSM and Salesforce .
Important
This script creates a data file with a linked Salesforce case number and the BMC Helix ITSM incident number.
Brokering TC2 - Create Incident Activity Note with Author
Brokering TC2 - Create Incident Activity Note with Author
- Initialization step: Login to BMC Helix ITSM and the Salesforce portal.
- Transaction steps
- Select a Random Incident number from the data file. [Data file contains 1000+ incident numbers of BMC Helix ITSM and related case numbers of Salesforce]
- Do a global search in BMC Helix ITSM and fetch incident details.
- Add activity notes in a given incident with a unique string and timestamp in BMC Helix ITSM.
- Search related case numbers in Salesforce.
- Access the case's notes section in Salesforce
- Check if the response in the notes contains a unique string. If the response does not contain the expected string then repeat step e and f for every 30 seconds interval.
- The validation process will go on for a maximum of 6 mins, if it does not return the expected string then it will mark the transaction as FAIL and proceed with step a for the next iteration.
- If validation is successful, then the transaction will be marked as PASS and proceed with step A for the next iteration.
- End step
- Logout from BMC Helix ITSM 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 )
- Initialization step: Login to BMC Helix ITSM and Salesforce portal.
- Transaction steps
- Select a random case number from the data file.
The data file contains 1000+ BMC Helix ITSM incident numbers and related Salesforce case numbers. - Search this case number in Salesforce and fetch its details.
- Add comments in the given case with a unique string and timestamp in Salesforce.
- Edit the Description of the given case with a unique string and timestamp in Salesforce.
- Do a global search of related incident number in BMC Helix ITSM.
- Access the comment section of the ITSM incident and Description from the BMC Helix Multi-Cloud Broker call in BMC Helix ITSM.
- Check if the response in the comment section of BMC Helix ITSM and description from the mcsm call in BMC Helix ITSM contains a unique string. If the response does not contain the expected string then repeat steps f and g for every 30 seconds interval.
- The validation process will go on for a maximum of 6 mins, if it does not return the expected string then it will mark the transaction as FAIL and proceed with step a for the next iteration.
- If validation is successful, then the transaction will be marked as PASS and proceed with step A for the next iteration.
- Select a random case number from the data file.
- End step: Logout from BMC Helix ITSM and Salesforce.
Brokering test cases with Vendor BMC Helix ITSM
Brokering TC5 - Create Brokered Incident
Brokering TC5 - Create Brokered Incident [Monitor qualifying incidents in BMC Helix ITSM and create in BMC Helix Multi-Cloud Broker for Incident Brokering]
- Initialization step: Login to BMC Helix ITSM of the Customer ITSM portal.
- Transaction steps
- Create a new Incident in BMC Helix ITSM using " Email ".
- Access this incident and check whether the HTTP response contains the string " brokerVendorName " with "ITSM"
- If the response does not contain the expected string, repeat steps b and c for every 30 seconds interval.
- The validation process will go on for a maximum of 6 mins, if it does not return the expected string then it will mark the transaction as FAIL and proceed with step a for the next iteration.
- 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 the next iteration.
End step: Logout from Customer BMC Helix ITSM.
Note
This script creates a data file with a linked incident number from Vendor BMC Helix ITSM and the incident number from Customer BMC Helix ITSM.
DevOps Integration with Atlassian JIRA Software Instance test cases
DevOps TC1 - Create Change - JIRA to Remedy with BMC Helix ITSM
DevOps TC1 - Create Change - JIRA to BMC Helix ITSM [Create a change in BMC Helix ITSM when BMC Helix Multi-Cloud Broker has received a qualifying Issue from Dev Tool]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Create New issue with type " Story " in JIRA with " Highest " priority.
- Access this issue and check whether HTTP response contains label with string "CRQ". "CRQ" indicates this corresponding change request is created inBMC Helix ITSM.
- If response does not contains expected string, repeat step b and c for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteratoin.
- 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.
End step: Logout from BMC Helix ITSM and JIRA portal.
Note
This script creates a data file with linked issue number from JIRA and Change Request number from BMC Helix ITSM.
DevOps TC2 - Create Change Activity Note with Author
DevOps TC2 - Create Change Activity Note with Author [Monitor qualifying activity notes (worklogs) on change records in
BMC Helix ITSM and create in BMC Helix Multi-Cloud Broker for DevOps Integration]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Select Random Change Request number from data file. [ Data file contains 1000 Change Request numbers of BMC Helix ITSM and related Issue number of JIRA ]
- Do a global search in BMC Helix ITSM and fetch Change Request details.
- Add activity notes in given Change with unique string and timestamp in BMC Helix ITSM.
- Search related Issue number in JIRA.
- Access Issue details in JIRA
- 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.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- If validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
- End step: Logout from BMC Helix ITSM and JIRA.
DevOps TC3 (Sync JIRA Issue Comment) & DevOps TC4 (Sync JIRA Issue )
DevOps TC3 (Sync JIRA Issue Comment) and DevOpsTC4 (Sync JIRA Issue )
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Select Random Case number from data file. [ Data file contains 1000 Change Request numbers of BMC Helix ITSM and related Issue number of JIRA]
- Search this Issue number in JIRA and fetch its details.
- Add comments in given issue with unique string and timestamp in JIRA.
- Also Edit Description of given issue with unique string and timestamp in JIRA.
- Do a global search of related change request number in BMC Helix ITSM.
- Access comment section of change request in BMC Helix ITSM and description from mcsm call in BMC Helix ITSM.
- Check if response in comment section of Smart IT and description from mcsm call in BMC Helix ITSM contains unique string. If response does not contain expected string then repeat step f and g for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- If validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
- End step: Logout from BMC Helix ITSM and JIRA.
DevOps TC5 - Create DevOps Incident
DevOps TC5 - Create DevOps Incident [Monitor qualifying incidents in ITSM and create in BMC Helix Multi-Cloud Broker for DevOps Integration]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Create New Incident in BMC Helix ITSM and mark its status as " Resolved " with reason " Future Enhancement " along with resolving operation category as Request → JIRA → Story
- Access this Incident and check whether HTTP response contains the string " brokerVendorName " with " JIRA "
- If response does not contains expected string, repeat step b and c for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- 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.
- End step: Logout from BMC Helix ITSM and JIRA.
DevOps TC6 - Create DevOps Change
DevOps TC6 - Create DevOps Change [Monitor qualifying Change Records in BMC Helix ITSM and create in BMC Helix Multi-Cloud Broker for DevOps Integration]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Create New Change in BMC Helix ITSM and Low Priority with operation category as Request → JIRA → Story
- Access this Incident and check whether HTTP response contains the string " brokerVendorName " with " JIRA "
- If response does not contains expected string, repeat step b and c for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- If validation is successful , then it will get Change details using mcsm HTTP call . Transaction will be marked as PASS and proceed with step A for the next iteration.
- End step: Logout from BMC Helix ITSM and JIRA.
DevOps TC7 - Create Incident - JIRA to SmartIT
DevOps TC7- Create Incident- JIRA to BMC Helix ITSM [Create a Incident in BMC Helix ITSM when BMC Helix Multi-Cloud Broker has received a qualifying Issue from Dev Tool]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Create a New issue with type " Bug " in JIRA with " Medium " priority.
- Access this issue and check whether HTTP response contains label with string "INC". "INC" indicates this corresponding change request is created in BMC Helix ITSM.
- If response does not contains expected string, repeat step b and c for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteratoin.
- Validation is successful, then it will do a global search in BMC Helix ITSM 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.
- End step: Logout from BMC Helix ITSM and JIRA portal.
DevOps TC8 - Create DevOps Problem
DevOps TC8 - Create DevOps Problem [Monitor qualifying Problem Records in BMC Helix ITSM and create in BMC Helix Multi-Cloud Broker for DevOps Integration]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Create New Problem in BMC Helix ITSM and Low Priority with operational category as Request → JIRA → Story
- Access this Incident and check whether HTTP response contains the string " brokerVendorName " with " JIRA "
- If response does not contains expected string, repeat step b and c for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- If validation is successful, then it will get problem details using mcsm HTTP call . Transaction will be marked as PASS and proceed with step a for next iteration.
- End step: Logout from BMC Helix ITSM and JIRA.
DevOps TC9 - Create Problem Activity Note with Author
DevOps TC9 - Create Problem Activity Note with Author [Monitor qualifying activity notes (worklogs) on problem records in BMC Helix ITSM and create in BMC Helix Multi-Cloud Broker for DevOps Integration]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Select Random Problem number from data file. [ Data file contains 1000 Problem numbers of Smart IT and related Issue number of JIRA ]
- Do a global search in BMC Helix ITSM and fetch Problem details.
- Add activity notes in given Problem with unique string and timestamp in BMC Helix ITSM.
- Search related Issue number in JIRA.
- Access Issue details in JIRA
- 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.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- If validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
- End step: Logout from BMC Helix ITSM and JIRA.
DevOps TC10 - Create DevOps Work Order
DevOps TC10 - Create DevOps WorkOrder [Monitor qualifying WorkOrder Records in BMC Helix ITSM and create in BMC Helix Multi-Cloud Broker for DevOps Integration]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Create New WorkOrder in BMC Helix ITSM and Low Priority with operational category as Request → JIRA → Story
- Access this Incident and check whether HTTP response contains the string " brokerVendorName " with " JIRA "
- If response does not contains expected string, repeat step b and c for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteratoin.
- If validation is successful , then it will get WorkOrder details using mcsm HTTP call . Transaction will be marked as PASS and proceed with step a for next iteration.
- End step: Logout from BMC Helix ITSM and JIRA.
DevOps TC11 - Create WorkOrder Activity Note with Author
DevOps TC11 - Create Work Order Activity Note with Author [Monitor qualifying activity notes (worklogs) on WorkOrder records in BMC Helix ITSM and create in BMC Helix Multi-Cloud Broker for DevOps Integration]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Select Random WorkOrder number from data file. [ Data file contains 1000 WorkOrder numbers of Smart IT and related Issue number of JIRA ]
- Do a global search in BMC Helix ITSM and fetch WorkOrder details.
- Add activity notes in given WorkOrder with unique string and timestamp in BMC Helix ITSM.
- Search related Issue number in JIRA.
- Access Issue details in JIRA
- 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.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- If validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
- End step: Logout from BMC Helix ITSM and JIRA.
DevOps TC12 - Create WorkOrder From Jira Issue - JIRA to SmartIT
DevOps TC12 - Create WorkOrder - JIRA to Smart IT [Create a WorkOrder in BMC Helix ITSM when BMC Helix Multi-Cloud Broker has received a qualifying Issue from Dev Tool]
- Initialization step: Login to BMC Helix ITSM and JIRA portal.
- Transaction steps
- Create New issue with type " bug " in JIRA with " Low " priority.
- Access this issue and check whether HTTP response contains label with string "WO". "WO" indicates this corresponding WorkOrder is created in BMC Helix ITSM.
- If response does not contains expected string, repeat step b and c for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- Validation is successful, then it will do a global search in BMC Helix ITSM with WO 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.
- End step: Logout from BMC Helix ITSM and JIRA portal.
Ticket Consolidation with Vendor BMC Helix ITSM test cases
Ticket Consolidation TC1 - Create Incident From Vendor ITSM
Ticket Consolidation TC1 - Create Incident from Vendor BMC Helix ITSM - [Create an Incident in Customer BMC Helix ITSM when BMC Helix Multi-Cloud Broker has received a qualifying incident from Vendor BMC Helix ITSM ]
- Initialization step: Login to Vendor and Customer BMC Helix ITSM portal.
- Transaction steps
- Create New Incident in BMC Helix ITSM of Vendor BMC Helix ITSM along with operation category as Request → ITSM → Incident
- Access this incident and check whether HTTP response contains a label with the string " vendorTicketNumber ". " vendorTicketNumber " indicates this corresponding incident is created in customer BMC Helix ITSM.
- If response does not contains expected string, repeat step b and c for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- Validation is successful , then transaction will be marked as PASS and proceed with step a for next iteration.
- End step: Logout from BMC Helix ITSM of vendor and customer portal.
Ticket Consolidation TC3 (Sync Vendor ITSM Incident Worklog) & Ticket Consolidation TC4 (Sync Vendor ITSM Incident )
Ticket Consolidation TC3 (Sync Vendor BMC Helix ITSM Incident Worklog ) and Ticket Consolidation TC4 (Sync Vendor BMC Helix ITSM Incident )
- Initialization step: Login to Vendor and Customer BMC Helix ITSM portal.
- Transaction steps
- Select Random Incident number from data file. [ Data file contains 1000 Incident numbers of Vendor BMC Helix ITSM and related incident number of Customer BMC Helix ITSM]
- Search this Incident number in BMC Helix ITSM and fetch its details.
- Add comments in given Incident with unique string and timestamp in Vendor BMC Helix ITSM.
- Also Edit Description of given Incident with unique string and timestamp in Vendor BMC Helix ITSM.
- Do a global search of related Incident number in Customer BMC Helix ITSM.
- Access comment section of Incident number in Customer BMC Helix ITSM and description from mcsm call in Customer BMC Helix ITSM.
- Check if response in comment section of BMC Helix ITSM and description from mcsm call in BMC Helix ITSM contains unique string. If response does not contain expected string then repeat step f and g for every 30 seconds interval.
- Validation process will go on for maximum 6 mins , if it does not return expected string then it will mark the transaction as FAIL and proceed with step a for next iteration.
- If validation is successful, then the transaction will be marked as PASS and proceed with step A for the next iteration.
- End step: Logout from BMC Helix ITSM of vendor and customer portal.
The following business transaction mappings were considered as below :
The following out-of-the-box DevOps Integration and Incident Brokering flows were configured in BMC Helix Integration Studio.