Questions tagged [vugen]

VUGen (Virtual User Generator) is a loadrunner component used to generate vuser script.

Vugen is a component of which can be used for developed loadrunner scripts called Vugen scripts. It is a protocol based tool. Vugen is used to develop scripts by capturing the activity between Client and server in web based application. E.g., in a web based application where the protocol is selected, Vugen launches browser and traces all the all the requests sent to and received from server. Vugen supports ANSCI C language. A Vugen script can be developed by merely recording but not writing

179 questions
0
votes
3 answers

HP Virtual User Generator 11 - How to log a different user for each test script action

Hopefully this is a simple one :) I am new to VuGen and trying to figure out the following... I understand that to log in as a specic user you use the following command. web_set_user(); For each action within my script I would like to use a…
David
  • 58
  • 1
  • 6
0
votes
1 answer

How do I import TestData from csv file into Vugen Script

Could some one please guide me how to do this I would like to import Test Data from the csv file into Vugen Scripts. Lets say I have Payee.csv file which has 28 columns of Data and csv file located some shared location. In script I need to pass the…
rpagadala
  • 796
  • 2
  • 15
  • 31
0
votes
4 answers

How to use if condition in load runner to verify web_reg_Save_param() value?

I am trying to verify web_reg_Save_param() value in if condition but not able to verify please provide me the solution and i have used if condition as if(lr_eval_string(Gmessage==Smessage)) { …
Rajesh Om
  • 483
  • 2
  • 15
  • 39
0
votes
2 answers

how to pass one script variable values to another script in loadrunner

I am new to load runner and i am preparing script for REST ,here i will get one token in response where i need to use same token value in another script to validate the customer details ,i am using web_reg_save_param t save those value i.e token…
Rajesh k
  • 1
  • 1
  • 6
0
votes
1 answer

LOAD Runner Internal server 500 issue (REST API)

I am trying to run REST API from Load Runner but unable to do it. Every times its throws below exception Action.c(4): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://ipaddress/LoyaltyApi/api1/loyaltycard/linkcard", Snapshot…
Rajesh k
  • 1
  • 1
  • 6
0
votes
2 answers

HP Load Runner is not invoking Browser for recording

I am new to HP Load Runner. I was trying to record a script on my Virtual Machine. However while trying to record script in action, Vugen does not hit the HTTP based application. I am able to access the application using Internet Explorer.
Sourabh
  • 413
  • 5
  • 17
0
votes
1 answer

What happens if browser agent is changed while replaying loadrunner web protocol script?

Lets say I ran a LR script consists of usual web http/html protocol with the browser agent of Internet Explorer 8(IE8) using LR 11. The script were created using same LR version but with IE11. Kindly provide information whether this change in…
Swarup
  • 13
  • 4
0
votes
0 answers

How to define regex (including $) in Vugen

when I am writing the following code, it is failed at runtime But without end string char '$' at the end of the regex, the script is being passed. lr_xml_find("XML={response}", …
snehasish
  • 11
  • 3
0
votes
1 answer

How to record movie clips of run sessions in Vugen with IE10

I have recorded the script in Vugen with IE10. While running the script in replay mode it shows script failed. Viewing the failed script, it shows the message as To better understand the cause of failed steps, you can record movie clips of run…
0
votes
1 answer

How to check what LoadRunner Controller is currently doing?[TruClient]

I have a script which was developed using TruClient for a web application. When I'am going through this test manually everything is working fine. When I'am doing the same test using TruClient in Virtual User Generator everything is fine as…
JMK
  • 199
  • 1
  • 2
  • 18
0
votes
1 answer

Upload csv files with comma inside it

As per my requirement, I need to upload a .csv file into the application. I am trying to simulate this using loadrunner. The issue I am encoutering is that my csv file is in the below format Header - AA,BB,CC Data-xyz,"yyx,zzy",xxz On using the…
user1528884
  • 121
  • 1
  • 4
  • 13
0
votes
1 answer

404 error at the json request- Passed all the headers possible but no luck

I am trying to login to an application and it has text/html and some application/json. I am able to login to the application from the previous request but I believe the json is loading some additional data and it is giving me a 404 error. I tried…
0
votes
2 answers

Using Javascript Regex in Evaluate JS on object step in Vugen TruClient Protocol

While creating a script in Vugen using the TruClient protocol (Firefox), I have an Evaluate JS on object step that finds an object, with the following object.innerHTML: Foo Bar
BAZ
I need to extract BAZ from this text to use elsewhere,…
Deacon
  • 3,615
  • 2
  • 31
  • 52
0
votes
2 answers

Vugen - How to submit data along with a redirected url

I have some data that I am submitting in a web_submit_data request. This request gets a response code of Http code 302. Load runner implicitly handles the redirection and user is navigated to redirected url. However the data that I wanted to submit…
user1528884
  • 121
  • 1
  • 4
  • 13
0
votes
1 answer

C script working in Loadrunner VuGen, but not PerformanceCenter

I have an issue where I have a compiled dll added to the script in VuGen in the user_init which runs perfectly. But when I create a zip, import the test into performance center, the script fails to execute. Is there a way that I can upload the…
Stephen
  • 13
  • 5