4

SAP Cloud ALM Synthetic User Monitoring: Capture Execution Screenshots

 1 year ago
source link: https://blogs.sap.com/2022/10/13/sap-cloud-alm-synthetic-user-monitoring-capture-execution-screenshots/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
October 13, 2022 2 minute read

SAP Cloud ALM Synthetic User Monitoring: Capture Execution Screenshots

Goal of this blog post

This blog explains how to enable and use the “Screenshots” features of SAP Cloud ALM Synthetic User Monitoring.

Picture-1-4.png

Introduction

Synthetic User Monitoring (SUM) is a monitoring application/technology of SAP Cloud ALM for Operations that allows you to monitor the performance and availability of a production web application from a client-side perspective.

SUM provides the ability to capture execution screenshots: For each execution of a SUM scenario, you can save screenshots to capture the results of your scenarios executions.

Multiple options can be selected to control the production of the screenshots.

  • Automatic: You can generate a screenshot for each execution of the steps of your scenario or generate a screenshot only when errors occur during script execution.
Picture-2-6.png
  • Explicit: You can also instrument your side script to generate a screenshot for a particular step of your scenario with the @sap.sum.screenshot annotation.
Picture-3-4.png

How to use screenshots with Synthetic User Monitoring

Step 1: Configuration

Picture-4-3.png

From the SUM application of your SAP Cloud ALM tenant, navigate to the “Scenario” section of the “Configuration” tab.

  • Select your scenario.
Picture-5-4.png
  • Open the “Scenario Details” to navigate to the “Selenium” tab.
Picture-6-4.png

Step 2: Set the Screenshots option.

Depending on your requirements, you can choose the automatic or the explicit setup, according to the following rules:

  1. Automatic screenshots are captured at the end of each step.
  2. Automatic on error only screenshots are captured at the end of each step on error or at the end of each command in error.

Step 3: Validate the housekeeping options

From the Configuration section, go to the Application Configuration

  • Set the data retention times to control the size of the disk space used to store the screenshots in your SAP Cloud ALM tenant.
Picture-9-2.png

Step 4: Check the results.

From the Synthetic User Monitoring Executions screen,

  • Select an execution instance to inspect the results of a specific execution
Picture-7-3.png

You will get access to the screenshots generated from your script execution.

Picture-8-4.png

Thanks for reading.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK