Error: “smmdrv.exe access violation” when performing a load test using a SAPGUI protocol with LoadRunner

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s