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
4
votes
0 answers

How to combine async and blocking requests in VuGen?

I'm working on a load test for my long-poll chat-like service. The use case I want to test is fairly simple: Open a long-poll GET connection Send a message using POST request Assert that connection opened in step 1 has received the same message I…
bedrin
  • 4,458
  • 32
  • 53
2
votes
0 answers

Unable to run VUGEN script from UFT API test

I am using "Call Virtual User Generator Script" option from Toolbox in UFT API test to call a VUGEN script. The VUGEN script is a Java over HTTP protocol script. This VUGEN script job is to publish a message on to SSL topic. When I run the script…
Reshma Shaik
  • 65
  • 1
  • 4
2
votes
2 answers

Kerberos Authentication in True Client LR

How to implement Kerberos Authentication in True Client LR? We are trying to record one application in true client protocol which is using kerbros authentication.
Nikhil
  • 393
  • 1
  • 6
  • 25
2
votes
2 answers

How to retrieve the rest api complete response in vugen?

I am trying to retrieve the complete json response in VUGEN. I am new to writing script in VUGEN. I am using web-HTTP/HTML protocol and just wrote a simple script to call a rest service with POST. Action() { web_rest("POST:…
Reshma Shaik
  • 65
  • 1
  • 4
2
votes
4 answers

Loadrunner Analysis: How can the 90th percentile be higher than the average?

A bit confused. I have a few Loadrunner Analysis from a report I've run. I'm new to testing. My understanding of the 90th percentile is that, given that it takes the 90th percentile and leaves out the outliers, it presents a truer picture. Although…
sky
  • 23
  • 1
  • 1
  • 3
2
votes
1 answer

How can i substitute variables inside an array in the WebSocketBuffer.h file of loadrunner

I have captured a loadrunner script using Web-Http protocol. The website uses websocket internally. So I have the WebsocketCB and WebSocketBuffer files created. There is a WebSocketSend array where one of the values within the array needs to be…
Shaiju Janardhanan
  • 546
  • 1
  • 11
  • 21
2
votes
2 answers

Correlating multiple dynamic values

How can I get the value of important id and ValueType? I have tried using web_save_param_regexp (but unfortunately I don't fully understand how the function works). I have also tried using web_save_param (with the help of offset and…
Some Ninja
  • 23
  • 2
1
vote
1 answer

Parallel call simulation in loadrunner

I am building a Vugen script for the attached call.In the timeline snip 1,2,3 are parallel calls,they can be put inside web_concurrent_start and end. I want to know about call 4,5,6 they are not waiting for the response of 1,2,3 ...Should 4,5 and 6…
1
vote
2 answers

Vugen scripting using http protocol

I recorded a new script which is very large containing 20k lines including extra files(lrw_custom_body.h) i need to do like 300+ correlations in this script for dynamic values. In extra files(lrw_custom_body.h) the ending of the line is splitted up…
1
vote
1 answer

Is there a way not to include file path drive names like C:, D:, during upload documents in VuGen?

I have recorded a VuGen script where a user is uploading a document. The script records fine but during replay getting http 400 error. Upon further investigating I found that the environment I'm testing have a validFileNamePattern setting that…
1
vote
0 answers

In Loadrunner, is there a way to run HTML requests in parallel?

When I check the calls' waterfalls in dev tools, there are 3 calls that run in parallel (roughly) to each other. I understand resources can be loaded in parallel with "concurrent", but I couldn't find a way to run these HTML calls in parallel. Is…
1
vote
1 answer

replay failed to start see vugen log for more details - error when replayed vugen

I am using Loadrunner 2020 community edition. I have created a script in TruClient and when trying to replay in develop script mode, getting 'replay failed to start see vugen log for more details' error. 'logfile.log' was empty and 'mdrv.log' file…
1
vote
1 answer

Passing variable in file path

I want to pass the timestamp variable in the filename variable. Please suggest how. I am doing this in VUGEN. Code: int timestamp; char * filename; web_save_timestamp_param("c_launchid", LAST); timestamp = lr_output_message(…
1
vote
1 answer

Vugen Runtime Settings are incomplete

Why, in my LoadRunner, when I want to configure runtime settings my options are only this : But I want to change Internet Procotol & normally my options should be like this : Do you know why ? My LoadRunner version is 12.50. Thanks
LynxWeb
  • 69
  • 1
  • 9
1
vote
1 answer

how to parameterize the value in json file - loadrunner

Need some help in loadrunner scripting with REST api. I have a requirement that LR script should always replace the unique parameter and this parameter should be part of Json body. File whatever i am using is huge. Hence, i created payload.json in…
1
2 3
11 12