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
1 answer

How to add Header values before Posting the HTTP request using LoadRunner

I have a Rest webservice for fetching the data from the database. It is using JSON to POST the requests. In the Request Body we pass the required parameters and in Headers we pass the Security token along with other parameters. This Security Token…
user3810126
  • 1
  • 1
  • 1
  • 1
0
votes
2 answers

Issue with the logic in LoadRunner script

I have scripted a web protcol based application flow where in I have to select 20 reports to download. The ReportIDs are shown in the request. I am customising the request so that the request picks up 20 Reports(ReportID) which are either EXCEL or…
Narasimhan
  • 164
  • 4
  • 12
0
votes
2 answers

Vugen assertions

I am building a VuGen http script to test a RESTful webservice. I've created the happy path test case, but I need to test also a scenario where I would expect a 500 Internal Server Error. Does VuGen support assertions in any way?
Nacho321
  • 1,911
  • 7
  • 33
  • 55
0
votes
1 answer

Parameterization before correlation breaks correlation?

Whenever I parametrize my HP LoadRunner VUGen script before doing correlation, correlation is broken: Design Studio does not find as many suggestions as before parameterization Design Studio does not properly replace all instances after pressing…
D.R.
  • 20,268
  • 21
  • 102
  • 205
0
votes
1 answer

Load Runner .Net - Found an undefined object of type

I am trying to record a .net thick client application (4.5.2) in Load Runner 12.01 but i am getting the following errors. can someone please help namespace Script { using LoadRunner; using Mercury.LoadRunner.DotNetProtocol.Replay; using…
Sri
  • 342
  • 4
  • 17
0
votes
1 answer

How does HP Vugen locate the JRE used to record scripts?

Recording a Vugen script using Java over HTTP requires a JRE. How does HP Vugen locate this JRE used? On a Windows 7, I've installed a fresh copy of JRE (without JDK), removed the PATH system variable, deleted all the registry entries under…
Pacerier
  • 86,231
  • 106
  • 366
  • 634
0
votes
0 answers

How to specify JRE used for running vugen scripts in HP LoadRunner?

For Java over HTTP, under Replay > Run-Time Settings > Java VM, we can specify the JDK used to compile the script: However, how can we specify the JRE used run the compiled script? (It seems to default to the specified JDK's JRE but I need to run…
Pacerier
  • 86,231
  • 106
  • 366
  • 634
0
votes
1 answer

Vugen - Copy image file from one folder to shared directory - C Code only

Hope everyone is doing well. I'm using Vugen/LoadRunner and need to copy a file from my local to a network share. I would like to get away from cmd line to copy a file. Mainly this: printf(command, "%s", dirName); system(command); Spinning up 50…
djs
  • 3
  • 4
0
votes
1 answer

Vugen - create dynamic value in a mkdir path

I'm attempting to create a dynamic value within a string. In the below code line: char new_dir[] = "c:\\xyz"; I'd like to create a random number and use a parameter to replace xyz, this will allow random folder creation. Any help is…
djs
  • 3
  • 4
0
votes
4 answers

Hp Loadrunner / virtual user generator web click and script alternative

Not sure if iam asking this in the right place, sorry if not! We currently create scripts through HP Virtual User generator (using the web click and script protocol) to monitor our webapps, we use this as they require JavaScript execution when being…
Glenn
  • 65
  • 9
-1
votes
2 answers

Loadrunner Error -35055: Invalid regular expression

I have a simple string and I need to values of masterId and datasetId... masterId=27972&datasetId=4968&from I tried below to get those values but I am getting invalid regular expression error web_reg_save_param_regexp( "ParamName=Correlation1", …
-1
votes
1 answer

Authentication required, please use "web_set_user" solution not working

I'm trying loadRunner (Vugen) 12.53. I recorded a very simple navigation to HP Web Tours App. This simplest navigation (site opens up in the browser) gives me the following error while replaying: Authentication required, please use "web_set_user",…
Tanvir
  • 1,642
  • 8
  • 32
  • 53
-2
votes
2 answers

Vugen: Database connection failed from load runner

I am using Vugen 1 version. I want to connect it to Oracle 11g. Someone could please mention the complete process for it as I did performance of web applications earlier. Thanks.
-9
votes
2 answers

Regular Expression Issue C# or Java

I have a string of text that I am trying to break into pieces in Loadrunner Here are two possible combinations of text 309-95-90570-0243-023-0030 222-627-90570-0365-042-0031 I need to be able to break each section that is inside of the "-" into…
bfali
  • 1
  • 1
1 2 3
11
12