Highlighted
Absent Member.. Absent Member..
Absent Member..
2449 views

Loadrunner SAP Gui Process or Thread

When executing a SAP GUI loadtest, are there any benefits for running the VUsers as a process vs. a thread?

 

 

P.S. This thread has been moved from Performance Center Support and News Forum to LoadRunner Support Forum. - Hp Forum Moderator

Tags (1)
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

Vanessa --

In most cases, you will want to run your Vusers as a thread rather than a process. This is assuming you're running a large number of users.

Think of it this way, if you run a Vuser as a process then your load generator will have to create a process for each user. For example, say you want to run 50 Vusers. If you watch your processes you will see 50 instances of mmdrv.exe.

On the other hand, if you run the Vusers as a thread and each process is allowed to spawn 10 threads, you will see 5 mmdrv.exe processes. Remember, a thread is contained inside a process and simply allows an application to split itself to run tasks simultaneously.

So what does this mean to you? Well, ultimately, it should allow you to scale to larger sized tests since you're using less of a memory footprint on your load generator.

I've heard some people say running a Vuser as a process is "more stable", but I've never seen substantial details on this.

As for SAP GUI Vusers, I do not personally know if there are any quirks, so to say, that bring issues on when running as a thread.

Sorry if that doesn't help much, but just wanted to give a little detail in the differences to see if that would help in your decision.
0 Likes
Highlighted
Absent Member.
Absent Member.

Run Vuser as Thread only.Machines running SAPGUI Vusers may be limited in the number of Vusers that can run, due to the graphic resources available on that machine, so in one load generator you can run max 50 users.

It better to use thread.
0 Likes
Highlighted
Absent Member.
Absent Member.

No, it is recommended by SAP to run any SAP GUI related tests in a process mode and not thread. Thread is only for web applications in SAP
with 4GB LGs, you should be able to run about 50 Users if they are performing complex scenarios and heavy transactions. or about 70 users if they are just doing light iterations

Thanks
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

as part of the "scenario" testing, you would start with the sap vusers running as process, if you find memory shortfall, consider running as thread....

 

 

 

where can i find sapgui.bdh?

trying to use some of the SAP gui extensions (functions), but dont have the include files...

installed PC Host 11.50 (vugen and analysis).

secificallly need to use 

rc = SapGuiVerifyObjectAvailability(btnDYN_40001, false, SEVERITY_WARNING);

 

obviously, the declares/defines need to be in place to make this work ...

 

is there any site that has loadrunner erp/crm extension documentation online?

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.