Deploy the JS Profiler for SAP
Self-Profiling API
Advanced profiling settings
Troubleshooting
Deploy the JS Profiler for SAP
Deploy the GermainUX JS Profiler when standard real-user monitoring identifies a browser-side SAP problem that requires deeper JavaScript, rendering, or network evidence. The JS Profiler is intended primarily for selected support users, QA engineers, developers, and controlled diagnostic sessions. It is not required for standard SAP real-user monitoring or Session Replay.What the JS Profiler monitors
The JS Profiler can provide advanced browser-side information about:- JavaScript execution
- Function and call-stack activity
- Long-running JavaScript operations
- Main-thread blocking
- Browser freezes
- Client-side errors
Show all 11
Show all 11
- Network requests
- Resource activity
- Browser performance
- SAPUI5 and other frontend-code behavior
- Third-party JavaScript
Important limitation: ABAP is not profiled by GermainUX
The JS Profiler does not directly profile ABAP or other server-side SAP code. Use the GermainUX Engine with SAP APIs, logs, traces, database telemetry, or other server-side monitoring to analyze:- ABAP execution
- SAP application-server processing
- Database operations
- Backend integrations
- Server-side exceptions
- SAP job execution
When to deploy the JS Profiler
Use the JS Profiler when you need to investigate:- Slow SAP screens or Fiori applications
- Browser freezes
- Long delays after a user action
- Excessive JavaScript execution
- Client-side rendering delays
- Repeated or failed network requests
Show all 10
Show all 10
- Errors that cannot be explained by standard RUM data
- Problems affecting only specific users, browsers, or devices
- Performance regressions after an SAPUI5 or frontend release
- Third-party scripts affecting SAP performance
Deployment options
The available profiling method depends on browser support, security policy, and whether you control the SAP application’s response headers.Prerequisites
Before deployment, confirm:- RUM JS is deployed for the SAP application.
- The SAP UX monitoring profile exists.
- The affected application, pages, and users are known.
- The target browser is supported.
- The organization approves JavaScript profiling.
- Browser-extension deployment is permitted, if required.
Show all 9
Show all 9
- The browser can reach the GermainUX environment.
- Privacy and data-retention rules are configured.
- A rollback or disablement procedure is available.
- SAP application owners
- Browser-management administrators
- Information security
- Endpoint-management teams
- GermainUX administrators
Enable JavaScript profiling
Go to: Germain Workspace > Analytics > UX Monitoring Profiles1 Steps to enable
Select the profile used by the SAP application
Open the configuration editor
Select JavaScript Profiling Monitoring
Enable profiling
Select the appropriate profiling method
Configure user, page, duration, and sampling restrictions
Save the profile
1 Option 1: Use the JavaScript Self-Profiling API
Use this option when the target browser supports the API and you can configure the required response header on the monitored SAP pages.Configure the response header
Add this response header to each page where profiling is permitted:Enable the API in GermainUX
In the SAP UX monitoring profile:Open JavaScript Profiling Monitoring
Enable the self-profiling option
Configure the profiling duration and sampling interval
Restrict profiling to the intended users or sessions
Save the configuration
Reload the monitored SAP application
Validate the API deployment
Confirm that:- The document response contains
Document-Policy: js-profiling. - The browser supports the JavaScript Self-Profiling API.
- No policy violation appears in the browser console.
- Profiling data reaches GermainUX.
- Only the intended applications and users are profiled.
2 Option 2: Deploy the JS Profiler browser extension
Use the browser extension when the self-profiling API is unavailable or the required response header cannot be configured.Install the extension
Follow the general GermainUX JS Profiler deployment procedure to:Obtain the supported extension
Install it in the target browser
Approve the required permissions
Configure the GermainUX hostname
Apply the SAP application profile
Restart the browser when required
Browser notification
As a browser security feature, the browser may display a notification while a page is being profiled. If the user closes or cancels the notification, profiling can stop for the current page or tab. The user may need to open the SAP application in a new tab before profiling resumes. Inform diagnostic users about:- Why the notification appears
- Which sessions are being profiled
- How long profiling will remain enabled
- How to report or stop unexpected profiling
Optional managed-browser configuration
The GermainUX documentation identifies this Chrome launch option for controlled deployments:Target profiling
Do not profile every SAP user continuously unless there is a validated requirement and the environment has been sized accordingly.Target specific users
Use:includedUsernamesto profile only selected usersexcludedUsernamesto prevent profiling for selected users
Target specific SAP applications or pages
Restrict profiling by:- Application
- Environment
- Hostname
- URL
- Fiori application
- Logical page
Show all 9
Show all 9
- User group
- Time period
- Diagnostic condition
Advanced profiling settings
The availablesettings.plugins.jsProfiling settings include:
Configuration tradeoffs
Privacy and security
Profiling can reveal technical details about application execution and network activity. Configure:- User targeting
- Page exclusions
- URL sanitization
- Network header exclusion
- Request and response-body exclusion
- Sensitive-data masking
Show all 9
Show all 9
- Data retention
- Role-based access
- Audit controls
- Passwords
- Authentication tokens
- Session cookies
- Sensitive request headers
- Personal or business-confidential data
- Full request or response bodies unless explicitly approved
Reproduce and analyze an issue
Use a controlled reproduction procedure:Identify the affected SAP application and user workflow
Enable profiling for the selected diagnostic user
Start a new browser session
Open the SAP application
Perform only the steps required to reproduce the issue
Record the reproduction time
Stop profiling or close the diagnostic session
Open GermainUX
Locate the corresponding user session
Analyze the profiling data with pages, clicks, errors, and requests
- Total JavaScript execution time
- Long-running functions
- Repeated function activity
- Main-thread blocking
- Network wait time
- Browser idle time
Show all 10
Show all 10
- Resource loading
- Error timing
- The action immediately preceding the problem
- Related SAP or integration requests
Correlate with backend SAP telemetry
A slow SAP user action can include both browser and backend time. Where supported, correlate:User click or action
Browser JavaScript activity
Outbound request
SAP API or application-server activity
Log event
Database activity
Browser rendering and completion
Validate the deployment
Confirm that:- Profiling is enabled only for intended users or pages.
- The extension or Self-Profiling API starts successfully.
- The document policy is present when required.
- Profiling data appears in GermainUX.
- The data is associated with the correct SAP session.
- JavaScript samples cover the reproduction period.
Show all 10
Show all 10
- Network activity is correlated correctly.
- No sensitive data is collected.
- Browser overhead remains acceptable.
- Profiling stops when disabled.
Disable JavaScript profiling
When diagnostics are complete:Go to Germain Workspace > Analytics > UX Monitoring Profiles
Select the SAP profile
Open JavaScript Profiling Monitoring
Disable profiling or remove the targeted users
Save the configuration
Remove the extension, response header, or managed browser option when it is no longer required
Confirm that new profiling data is no longer collected
Troubleshooting
No profiling data appears
Verify:- JavaScript profiling is enabled.
- The user is included and not excluded.
- The SAP URL matches the profile.
- RUM JS loads successfully.
- The extension is installed and active.
- The browser supports the selected method.
Show all 10
Show all 10
- The
Document-Policyheader is present for self-profiling. - The browser can reach GermainUX.
- Consent and privacy rules permit collection.
- The session remained open long enough to create a profile.
Document-policy violation appears
Confirm that the page response includes:useSelfProfilingAPI or deploy the supported browser extension.
Browser notification was dismissed
Open the SAP application in a new tab and reproduce the issue again. For managed deployments, review whether an approved enterprise configuration is appropriate.Profiling increases browser overhead
Reduce:- Profiling duration
- Sample-buffer size
- Number of targeted users
- Number of targeted applications
- Profiling frequency
Profile ends before the issue occurs
IncreasemaxProfileDuration cautiously or start profiling closer to the action being investigated.
Related documentation
Get More Information
GermainUX can help determine which monitoring, analytics and automation capabilities are appropriate for your Salesforce Experience Cloud environment. Contact GermainUX Support.Get Help
Contact GermainUX Support
Can't find what you need?
The content of this document is proprietary to GERMAIN SOFTWARE.

