Go back to all articles

10 Steps to SAP Performance Testing

Guide
12 min read
Denis Sautin

Denis Sautin

Author

Denis Sautin

Denis Sautin is an experienced Product Marketing Specialist at PFLB. He focuses on understanding customer needs to ensure PFLB’s offerings resonate with you. Denis closely collaborates with product, engineering, and sales teams to provide you with the best experience through content, our solutions, and your personal journey on our website.

Full Bio

Product Marketing Specialist

Reviewed by Boris Seleznev

boris author

Reviewed by

Boris Seleznev

Boris Seleznev is a seasoned performance engineer with over 10 years of experience in the field. Throughout his career, he has successfully delivered more than 200 load testing projects, both as an engineer and in managerial roles. Currently, Boris serves as the Professional Services Director at PFLB, where he leads a team of 150 skilled performance engineers.

Full Bio

At a glance

  • What it is: checking how SAP systems behave under the transaction volumes a business actually produces, before go-live and after every major change
  • When to test: new implementations, S/4HANA migrations, kernel, database and OS upgrades, and any expected increase in users or volumes
  • What to measure: dialog response time, throughput per hour, error rates, CPU and memory, work processes and queues, database time
  • Tools: LoadRunner for SAP GUI, JMeter for Fiori and web services, SAP transactions ST03N, ST05 and SM50 for diagnosis
  • The process: methodology, roles, scripts, consultants, debugging, test data, VuGen runs, controller runs, acceptance, the test itself
  • Updated: 16 October 2026

Download the SAP Load Testing Methodology

A structured approach to testing SAP performance.

Learn how to define realistic load profiles, simulate user behavior, and optimize system performance for reliability at scale.

Download the Methodology

What Is SAP Performance Testing?

Performance testing is an important stage of software quality assurance. There is no better way to check your software code reliability, locate system bottlenecks, and eliminate failures. These bottlenecks can occur across various business-critical systems, from enterprise applications like SAP to customer-facing infrastructure such as call centers where IVR performance testing becomes essential during high-volume periods.

SAP performance testing service is required when the system is only being launched to mitigate the risks. It is also a must when the system has already been installed and is working, but any kind of problems occur. Another good idea is to do the testing when modifying SAP modules.

SAP performance testing checks how SAP systems behave under the transaction volumes a business actually produces: how fast dialog steps respond, how many orders or postings per hour the system can process, and where it starts to slow down. It covers the SAP GUI and SAP Fiori front ends, the application servers, the SAP HANA (or other) database underneath, and the integrated components around them: interfaces, batch jobs and external dependencies.

Functional tests prove that a business process works. SAP load testing proves that it still works when hundreds of users run it at the same time, during month-end close, a sales peak or a data migration. We broke the process of SAP performance testing into 10 steps so that your QA team can use it as a checklist.

When You Need SAP Load Testing

Plan a test run before any change that can shift system behavior:

  • Go-live of a new SAP implementation or a new module
  • Migration to SAP S/4HANA from ECC, including lift and shift moves to cloud platforms
  • Kernel, database, OS upgrades and hardware updates, and network changes between users and the data center
  • An expected increase in users or transaction volumes: new country rollouts, acquisitions, seasonal peaks
  • Recurring performance issues in production that nobody can reproduce on demand

Many SAP teams test only after an incident. Early detection is cheaper: a slow custom report found in the test environment costs an afternoon, the same report found in the production environment during period close costs business continuity.

What to Measure: SAP Performance Metrics

Agree on performance goals before you write a single script. The metrics most SAP performance tests report:

  • Dialog response time
    Per transaction and per business process, split into database, CPU and wait time
  • Throughput
    Completed business transactions or documents per hour against the target volume
  • Error rates
    Failures under load, including short dumps and update errors
  • CPU and memory
    On application servers and the database; memory leaks show up in long runs
  • Work processes and queues
    Dialog, update, background and spool work processes
  • Database time
    Expensive database queries, where poorly optimized queries usually hide

For remote users of SAP GUI and Fiori, add network latency to the list.

1. Develop SAP Performance Testing Methodology

Your methodology should contain the key elements of the testing process: load scripts, profiles, descriptions of test and production environments, target metrics and indicators, goals and objectives, as well as testing limitations. An important point is to confirm the performance testing methodology with the customer. Without having done that, don't even start: business goals can be very different from how you see them.

A well-developed methodology can save you loads of time, as well as ensure transparency and predictability of the result.

To start from a ready structure, use our SAP load testing methodology.

2. Request Roles

To write scripts, depending on the functional responsibilities, users should be assigned certain system roles. Those have to cover all business operations presented in the scripts. Store the registry of all used roles in a quickly accessible file. Questions about maintaining the register should be discussed with the customer and/or an appointed responsible person. Verification of credentials in the SAP system is carried out in 2 stages:

  1. Checking for the start of transactions
  2. Checking for permissions for certain actions with an object (viewing, creating, deleting, changing, etc.) in a transaction

To analyze the missing permissions, type transaction SU53 in the transaction launch field.

If you use different user accounts to write scripts and to feed the load, make sure they have the same rights.

3. Develop Scripts

One of the most popular tools for automated stress testing of SAP is LoadRunner. You can read our guide on how to use it for SAP testing. LoadRunner consists of the following applications: Virtual User Generator, or VuGen (used to develop load scripts), Load Generator (used to generate virtual users), Controller (used to develop and run load scenarios), and Analysis (used to analyze the results of load testing).

3.1. What Is SAP GUI

SAP GUI is the graphical user interface client in SAP ERP's 3-tier architecture of database, application server, and client. This software allows users to access SAP functionality in SAP applications, such as SAP ERP and SAP Business Information Warehouse (BW). It is used for remote access to the SAP central server in a company network. There are versions of SAP GUI available for download to work in Windows or MacOS, as well as a version for the Web. The latest version of SAP GUI for Windows is 7.70, but 7.60 is also supported.

Before testing, you'd better update your SAP GUI release version. Don't worry: it is backward compatible, so it does not matter if you had SAP GUI release version 7.60, 7.50, or even version 7.40.

3.2. Testing SAP GUI

To test a SAP GUI user running only on the client, use the SAP GUI Vuser type. To test a SAP GUI user using a web browser, use the SAP-Web protocol. To record an SAP GUI session using browser controls, create a multiprotocol Vuser script with SAP GUI and SAP-Web protocols. This allows VuGen to record Internet-specific functions when working with browser controls. However, this won't work if you try to combine SAP GUI with web protocols different from SAP-Web. Before recording, make sure that your modules and client interfaces are supported in VuGen.

The SAP GUI script usually contains several SAP transactions that make up the business process. A business process consists of functions that emulate user actions.

4. Work with Consultants

When recording the script, interact with consultants on the customer's side: it is necessary that they give you data about business operations. Since there are a lot of modules in SAP, and a single person cannot know them all, there will be different consultants for each module. You should request the contact details of all consultants with specifications on which module they are responsible for.

Otherwise, hire a specialized vendor to outsource all necessary communication and responsibility. PFLB has wide expertise with SAP performance testing services and will save you time and money.

💡 Read Our Case Studies:

5. Debug SAP GUI Scripts

The following steps are necessary to debug and rerun SAP GUI scripts.

5.1. Replace the disguised password in the sapgui_logon function generated during recording with a real password. This is the second argument in the function after the user name.

sapgui_logon("user", "pswd", "800", "EN");

5.2. Display SAP GUI during the test. When you run the script for the first time, configure VuGen to display the SAP GUI user interface to see the operations performed through it. Select Replay > Runtime Settings > SAPGUI > General, and select Show SAP Client During Replay. During the load test, disable this option, as it uses a large amount of system resources when displaying the user interface for multiple Vusers.

5.3. Perform data correlation and parameterization. Consider using TAFObjectSpy as a utility for debugging the script. The main purpose of the tool is to define the Uniform Resource Identifier (URI) of the user interface control element. It can access SAP GUI and SAP-Web sessions. The program allows you to track the user interface controls of the application under test and generates a URI for you.

6. Generate Data for SAP GUI Scripts

If there is not enough data in the script for any of the business operations, you will need to use "Action" to generate the necessary data. This way, the script can be executed an unlimited number of times, using different data each time.

7. Run SAP GUI Scripts via VuGen

Run the script via VuGen to check if it works. If the script works without errors, then you can proceed to the next step. If there are errors, you can see them in the Output. To increase efficiency, increase the number of iterations in Runtime Settings > Run Logic and select Number of iterations bigger than 1.

8. Run SAP GUI Scripts via Controller

To run scripts correctly through the controller, you need to perform the following steps:

  1. In Runtime Settings > SAPGUI > General, uncheck Show SAP Client During Replay
  2. In Runtime Settings > Think Time, select Use random percentage of recorded think time, as well as Limit think time to 1 second
  3. During the test run of the script, enable logging so that it is easier to detect the errors later: in Runtime Settings > Log check Enable logging. For even more information, enable Extended log. If you do not need the full log, keep only the log with the errors: Log when an error occurs and log cache limit to 1 KB
  4. Check if the option to ignore errors is on: in Runtime Settings > Miscellaneous, uncheck Continue on error
  5. Select the load generator on which you will run the script
  6. Configure the script according to the regulations described below in step 10

9. Acceptance Procedure

After completing all of the above, send the script to the customer or your manager for verification. They check the script's functional capacity through the controller. After checking the script and auditing the code, your customer or manager accepts the script or hands it back to correct errors.

10. SAP Performance Testing Algorithm

After all scripts have been accepted, it's finally time for performance testing. Below is an approximate algorithm.

  • The start of each next script in the scenario is N minutes after the start of the previous one
  • Initialization of each virtual user is right before its launch
  • A delay of M minutes before the start of each script is necessary
  • Run the script at the rate of increasing the load by K users every L seconds until it reaches O virtual users
  • Further operation of the test takes Q time
  • A delay of 1 minute after completion of each script execution is necessary
Want to Learn More About Our Performance Testing Services?
Find out what's included and how to start working with us.

Types of SAP Performance Tests

  • Load testing
    The expected peak load conditions with realistic user activity and test data
  • Stress testing
    Load beyond the peak to find the breaking point and how the system recovers
  • Spike testing
    A sudden surge, such as the first hour of period close or a sales event
  • Volume testing
    Large transaction data and table sizes, typical after an S/4HANA data migration
  • Endurance testing
    Hours of steady load to catch memory leaks, growing queues and slow degradation
  • Comparative testing
    The same scenario on two configurations, two databases or two hardware options, to choose with numbers

A comparative test in practice: our SAP BW comparative load testing of Oracle, SAP HANA and Exadata.

SAP Performance Testing Tools

ToolBest forNote
OpenText LoadRunnerSAP GUI load (the steps above)Native SAP GUI and SAP-Web protocols
Apache JMeterSAP Fiori, OData and web servicesFree; does not drive the SAP GUI client
Tricentis NeoLoadEnterprise SAP programmesSAP-specific recording and reporting
SAP ST03N, ST05, SM50, SM66, HANA cockpitDiagnosis during every test runWorkload, SQL trace and work processes, so you can explain the numbers

Which is better, JMeter or LoadRunner? For SAP GUI transactions, LoadRunner, because JMeter has no SAP GUI protocol. For Fiori and APIs, JMeter covers most needs at no license cost. Many SAP environments need both.

Common SAP Performance Issues Found Under Load

What load testing usually finds in SAP:

  • Custom ABAP reports and poorly optimized queries that scan full tables
  • Too few dialog or update work processes for the real user count
  • Lock contention when many users post to the same objects
  • Interfaces and batch jobs that collide with dialog users at peak hours
  • Undersized memory on the HANA database after data volumes grow

SAP Performance Testing: FAQ

Which tool is used for SAP testing?

For SAP GUI load, LoadRunner with the SAP GUI protocol. For Fiori and web services, JMeter or another HTTP tool. Functional SAP test automation uses different tools, such as Tricentis Tosca.

What are the four main types of performance testing?

Load, stress, volume and endurance testing. SAP projects often add a comparative test when choosing between configurations.

How long does SAP performance testing take?

Usually several weeks: most of the time goes to the methodology, roles, test data and scripts (steps 1 to 9), not to the test run itself.

When should SAP performance testing be done?

Before go-live, before and after an S/4HANA migration, after major upgrades, and whenever the expected load grows.

SAP Performance Testing at PFLB

If you're using SAP, perform continuous load and performance testing to ensure that your software meets performance, capacity, and usage requirements. The same is true for other enterprise systems, as our transaction processing system load testing case shows for high-volume financial operations.

Since 2008, PFLB has run performance testing for 300+ companies, SAP ERP and SAP BW landscapes among them, with 150+ performance engineers. If your SAP system is heading for a go-live, a migration or a peak, tell us about it below: a short call with a performance engineer, then a scope.