VUGen (Virtual User Generator) is a critical device in LoadRunner to make testing contents to copy genuine client conduct on your framework. In VUGen, a human is supplanted by a virtual client (VUser) and the activities performed by a VUser are kept in VUser content to imitate the genuine client conduct for testing and checking.VUGen is one of the four center parts of LoadRunner. It is the principal part you cooperate with while getting everything rolling with Performance Testing utilizing HP LoadRunner.We should comprehend a couple of remarkable elements connected with VUGenVUScripts: As currently portrayed, the motivation behind VUGen is to make VUScripts that are utilized to reenact a genuine like virtual-client.Activities: An activity is set of client exchanges acted in the System Under Load to accomplish a characterized task. An activity can measure up to a capability in other programming dialects. Each Vuser script has 3 default capabilities
Vuser_init(used to login into the application)Activity (used to record the business interaction)Vuser_end (used to logout of the application)VUGen records scripts as well as replays them (for just 1 VUser) to guarantee script is recorded accurately. When you guarantee the content is recorded accurately you consolidate it in a LoadRunner situationIn this instructional exercise, you will studyVUGen dismisses UI Objects:
Dissimilar to QTP scripts, LoadRunner scripts are autonomous of GUI. This is on the grounds that the code produced doesn't work in view of UI objects, rather, it chips away at the head of client's solicitation to the server and expecting server reaction back to the client. This is the reason replaying LoadRunner prearranging is dependably program free. The VUser can discuss straightforwardly with a server by executing calls to the server API-without depending on client programming (SUL) this implies there will no effect on scripts in the event that the progressions are made to the UI of the System Under Load. This tells; the Performance Testing is totally founded on client/server correspondence (solicitation and reaction) and not the GUI objects.If it's not too much trouble, allude to beneath connect for additional subtleties: http://youtu.be/FDORUeqpNJs?t=3m41s
We will find in additional subtleties how VUGen prearranging functions beneathPrologue to Web Tours ApplicationFor all involved reason, we will utilize the Web Tours Application that comes packaged with LoadRunner.The HP Web Tours require a reliant "Web visits Apache server" to be running before it can work. To run the Web Tours Apache Server, go to Start Menu => HP Software => Samples => Web and afterward click on Start HP Web Tour Server.New Script and Solution: is utilized to begin making another content. On the other hand, you can make another content from the toolbar button.Open >> Script Solution: is utilized to open a current, recently made content or arrangement from a catalog.Add >> New Script: is utilized to add a formerly made script into the ongoing arrangementWe will get to know different controls as we begin making our most memorable content. We should learn.
Click Here For more Detail