Quantcast
Viewing all 12134 articles
Browse latest View live

mdrv.exe memory use keep increasing when run an empty Java Vuser script via Controller.

Dear Experts.

Could you please help take a look at below questions? Thanks a lot.

If I run an empty Web-Http script via Controller, I can see the mdrv.exe memory use is stable, seems not change at all.

But if I run an empty Java Vuser script via Controller, I can see the mdrv.exe memory use keep increasing.

I selected "Run as a process", but the memory use still keep inceasing.

I uploaded 3 pics:

1st part is Web-Http script, memory use is stable.

2nd part is Java Vuser with JDK 1.8, memory use keep increasing.

3rd part is Java Vuser with JDK 1.6, memory use keep increasing, and TPS seems keep decreasing.

Qs:

1. For mdrv.exe memory use keep increasing when run Java Vuser script, is this a normal behavior?

2. If it is a normal behavior, how to understand this behavior? Is there any document can explain this mechanism? (Or juse help explain this mechanism )

3. Seems the TPS keep decreasing is caused by the memory keep increasing, is it right? Or is there anyway we can verify whether the TPS decreasing is caused by the memory?

4. Is there any way can avoid mdrv.exe memory use keep increasing?

(I think this can be reproduce on any host.)

Thank you very much.

 

BR//Kimi-Liu Yingjun


Re: mdrv.exe memory use keep increasing when run an empty Java Vuser script via Controller.

Upload 3 pics

Image may be NSFW.
Clik here to view.
1.PNG
Image may be NSFW.
Clik here to view.
2.PNG
Image may be NSFW.
Clik here to view.
3.PNG

 

Re: using parameters in strings in TC 12.53

Hi

Remove the double quotes for TC.getParam,

TC.log(TC.getParam("Password"), "Standard");

thanks

Ravi 

Re: The string 'CorrelationParameter_13' with parameter delimiters is not a parameter

Which patches i have to install for vugen 11.5 and 12.5. 

In both version i got same error which you got. So please give me that patches download link or solution, how can i resolve it?

Re: HP LoadRunner 12.50 - Load Generator Patch 1 Silent installation Command line-in not working

Hi Jimmy,

As our patch is PFTW (Package For The Web) the installation consists of two parts:

1. Extracting the files in the Temp folder

2. Run the installation.

 

So you can run silent installation in the following way:

LRLG_00128.exe /s /e  - this will extract the files in C:\Temp\LRLG_00128

Then if you run:

C:\Temp\LRLG_00128\setup.exe /s it will silently install the patch on your LG.

You can find more information here:

https://community.hpe.com/hpeb/attachments/hpeb/sws-LoadRunner_SF/15869/1/Installation%20commands.pdf

Let me know if this solves it.

Adrian

 

 

 

Re: using parameters in strings in TC 12.53

Arg. My problem was two fold:

1.  I am using FF to develop the script and enabled its log. I expected that TC.log(TC.getParam("password"), "Standard"); messages would be written to that (FF) log during development. But that is not happening (which I consider pretty lame). TC.log() messages are only being logged to output.txt (the Replay log) when the script is run under vuGen.

2. I was trying to use an Execute TC.log() step, rather than an Evaluate JavaScript step. So it appears to me that you can't use a parameter in Execute TC.log() step because it's Argument string is always encapsulated in double quotes, as in:

Image may be NSFW.
Clik here to view.
TC.log.jpg

3. To complete this thead for any other newbie that finds the use of parameters in logging perplexing. this is the Step that works (as provided in the above reply, but without the GUI step being shown):

Image may be NSFW.
Clik here to view.
TC.log.jpg

 

x

 

 

 

VuGen protocol Webservice

How do you configure VuGen protocol Webservice for WS-Addressing version 200508?

TC: conditionally executing window.alert()

I am using FF to develop a TC 12.53 script. I am using some Eval JS code window.alert(...); statements to debug the script and inspect parameter values, as in:

Image may be NSFW.
Clik here to view.
TC.log.jpg

But when I execute that script under vuGen the script hangs on the first of these statements, without the popup alert dialog being presented so it can be manually dismissed. (and even if the dialog is presented under vuGen, I can see the obvious problem attempting to run the script under a Controller).

So is there anyway to condition these Steps (surrounded by some type of IF(...) statement) so that they are only executed when I am in Develop Script mode? Or do I have to manually disable all of these Steps before exiting Develop Script mode?

-Thanks, Terry

 


Re: TC: conditionally executing window.alert()

Hi,

we are using window.alert function for debugging purpose in "Develop Script " mode,So after debugging we have remove or disable the alerts in develop mode

if you run the test with out disabling the window.alert in Vugen ,it will keep on waiting till End Event " Automaic: Action completed" ocuurs,so we have stop the scrit manually in Vugen..

if you want alert function in Vugen for dubugging purpose, enable the "Show run time viewer during reply",for this follw the below steps

1) Go to Vugen-->Option-->Scripting-->Repley-->During Repley -->select "Show run time viewer during reply"

2) Go to script folder, Open default.cgf file ,give   "PaintWindowsInLoad=1"   (Default is 0)

then if run the test in Vugen,it opens FF Browser window

At perticular step which you are using alert function ,Browser window will display the alert,if you press ok, then  it will go the next step of the Vugen script.

 

Thanks,   Ravi

 

 

 

TC: global JavaScript var support?

In other LR protocols I have created simple shared/global variables in the init() module, before/outside of the init() function. Then those vars can be use in the Action action (and all other custom actions I create).

But when I try to do this in a TC script in the Init action, as in:

Image may be NSFW.
Clik here to view.
TC.log.jpg

these JavaScript vars are only visible in the Init action and can't be used in the Action action. I suspect that they above statements are implicitly being encapsuated in the Init() function. I tried playing around with Function Libraries but found no way to add variables outside of a function in a created library.

So is there anyway to share globalJavaScript variables between actions? Or must I only use TC parameters to share strings and numbers between actions (which is so cumbersome)?

? Thanks, Terry

 

Re: TC: conditionally executing window.alert()

Thanks Ravi. So more manual twiddling to disable these statements before executing in vuGen and/or the Controller.

TC: using a variable or param in Transaction names?

Is there some way to use a JS variable or an LR parameter to provide a Transaction name (as can be done in many other LR protocols)? Right now it appears that the dialog only accepts a string literal:

Image may be NSFW.
Clik here to view.
TC.log.jpg

Re: TC: global JavaScript var support?

Hi,

Global varible syntax:  "Global.varName"

in initc, define the global varible as "Global.testName="navOnly"" 

Image may be NSFW.
Clik here to view.
capture(4).png

in Action just i am creating window.alert function to call the global variable

                                    Code : window.alert(Global.testName);

Image may be NSFW.
Clik here to view.
capture(5).png

 

Thanks, Ravi

 

Re: TC: global JavaScript var support?

Much thanks. I missed that in my search of online Help.

Re: TC: using a variable or param in Transaction names?


Re: Error in report exported to excel from Analysis - LR 12.53

Loadrunner suitability for MAP application ?

I want to load test a GIS map application and want to check first if loadrunner is suitable tool for this kind of application testing or not ? If any one has done load testing for this kind of MAP application then please can you advice regarding the best tool and protocol I should use ?

 

Regards

KAPIL

Re: Download ** failed - end event error due to network timeout.

This is a blocking issue that prevent us from taking transaction response time base on network end event that exceed 30 seconds. 

Can someone please point me in a right direction to seek resolution for this?

Thanks!
Jason

.NET Protocol Parameterization and Correlation

Hi 

Could you anyone help me out in Parameterization and Correlation in .Net protocol.

1) Which fucntion to be used for Correlation with Example

2) Paramaterization - I am tring lr_eval_string("{p_Name}") but getting error

Please help me out 

Error -27792: Failed to connect to server "server name": [10061] Connection refused

Hello,

I am using windows server 2012 r2, loadrunner version 12.53 and Web-HTTP/HTML.

I am having a REST API code. When I am trying to replay the “REST API code”, it’s giving error

“Error -27792: Failed to connect to server "server name": [10061] Connection refused”

Can anyone tell me, how to fix this error?

I would also like to know, how to capture the token to be passed into the request?

 

REST API code:

web_set_sockets_option("SSL_VERSION","TLS");                       

web_rest("GET:URL",

"URL=URL?context=TAG&contextValue=1",

"Method=GET",

"Snapshot=t131653.inf",

HEADERS,

"Name=Accept", "Value=application/json", ENDHEADER,

LAST);

Thanks

Viewing all 12134 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>