Highlighted
Absent Member.
Absent Member.
115 views

How does Vugen makes transaction faster than normal user

Hi there,

I have been working on a application where user has to wait for 5 minutes and then click on refresh button. By only click on refresh button user will be dispalyed with "Save and Close" button and request is saved.

During replay, I have set run time setting as "Ignore Think Time". I am wondering, how come Vugen was able to create a request by clicking save and close button, since when you try as normal user, user has to wait 5 minutes to see save and close button.

Also, add to it - I have generic question - usually during replay Vugen creates a request much faster than a normal user(of course, we ignore think time) - how it is ? what is the logic behind Vugen?

Do I understand that think time is waiting time of user action on the application and we do not use synchronication - right ?
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

Unless the script has the proper logic it won't know to wait five minutes or if the refreshed page still displays wait message. Cognos is common example. The script had a while loop looking for the "waiting" to change from the XML response before clicking on the report to view it. It repeated the loop every 15 seconds. The user only saw a single web page. But Vugen recorded XML requests and responses during that wait. If there is no traffic it might be because the web page is using a dumb fixed timer to slow things down.

I think the save report step you have isn't saving the report correctly from the apps point of view.

I don't use click and script but only the http recording. LR protocol for http doesn't run client side scripts, checks, or anything else. Unless you have the logic in the script to refresh at it certain rate, look for specific keywords, and loop logic. What is most likely is doing from the above is submitting one http call after another. In the later steps the server might be returning an error message or saving an empty report.

Vugen in http protocol records the HTTP calls at a socket level and plays them back. Parameters, and some built in logic for cookies, sessions. Is what makes vugen work. The response from the server is parsed for text checks and dynamic parms and then discarded.

Think time is used because with out it vugen will run one command after another as fast as possible. Adding thinktime simulates how long a user would take doing the clicking or typing. So I would add 240 second think time before a step for writing this forumn response. While LR would otherwise do it instantly.
"Although I am an HP employee, I am speaking for myself and not for HP"
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.