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
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.
It better to use thread.
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
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?