SAPGUI protocol load tests may fail if the "Show SAP client during replay" option is selected in the Runtime Settings.
While performing a load test with LoadRunner using a SAPGUI protocol script, the test fails after approximately 10 mins or 30+ iterations have been performed in either VuGen or in the Controller. The following error is reported:
smmdrv.exe access violation
The "Show SAP client during replay" option should not be selected. It is recommended that this options is only selected when debugging a SAPGUI protocol script in VuGen. If the "Show SAP client during replay" option is enabled, memory consumption increases dramatically, eventually causing the test run to fail.
In the Run-Time Settings -> General tab, ensure that both the "Show SAP client during replay" and "Take Active Screen snapshots during replay" checkboxes are not ticked.