Quantcast
Viewing all 12134 articles
Browse latest View live

Partial VUsers getting disconnected and getting error as [10061] Connection refused

Hi Experts,

 

Kindly guide me with the following problem. I apologize is the same exists on the forum, I tried to explore but was unable to find the solution.

 

I have an application server (JBoss) which connects to a database (PostGres) and follows HTTP protocol.

 

I'm trying to test the performance by running concurrent users through LoadRunner.

 

For a load of say 300 users, around 190 gets through the run while for the balance an error is shown as "Failed to connect xxx.xxx.xxx.xxx:xxxx. [10061] Connection refused".

 

This count varies with each run. I've increased the Step-Download & Keep-Alive value also in Run-Time settings to offset any delay during the run. My entire environment is on LAN.

 

Kindly help..

 

--

Sourabh


Need Help: Load Test Approach

Hi,

 

As a part of our project requirement: We need to do performance testing of cloud based citrix application. We need to do a Load Test with 50 concurrent users. 

The problem here is  that client is not providing those many virtual users for Load Test. We have only one user with us to execute the load test. But we have 50 actual users with us. So we are using below approach for Load Test. Please suggest if this make any sense.

 

Approach: 50 actual users will use the application for a period for particular business scenarios and at the same time we will run a unit test in load runner with one user, Also some one from database will start the monitoring the servers using Perfmon. 

Conclusion: Instead of generating load from Load Generator Machine, we are generating it through the actual users and testing the performance (responsiveness of the application) of the application under load condition buy running one or two user test in loadrunner at the same time.

 

Note: We dont have virtual users and we can not use the actual user's credentials in LoadRunner to generate the load due to security issue.

 

Please provide your suggestion .

 

Thank You

Prabhjot

Need Help: Cloud Based Citrix Application (Web+Citrix)

Hi All,

 

As a part of our project requirement, …….

If anyone has inputs on this, kindly share your knowledge/ inputs on the same.

 

Domain Overview:  We are working on web + citrix protocol in cloud environment. The environment here is like we have one Virtual Machine in client environment. Load Runner is installed on that machine. From there we connect to the Cloud 9 environment through a URL and we are allocated one desktop randomly from cloud. It prepares that desktop for us according to our profile and we get the application there in the program list.

 

 

Requirement\ Problem : We are provided with 1 user id to access the cloud environment. Once we are logged into the cloud environment we can open multiple instances of the application manually(application does not require any login, It opens according to cloud login)

 

We want to achieve the same scenario with LoadRunner i.e. We want to open the multiple instances of the application and perform multiple business transactions simultaneously with 1 user once we are logged into the cloud system.

 

Please give your input if we can handle the multiple session\windows of the application with 1 user in Web+CITRIX protocol in LoadRunner. If anyone faced such a scenario before please help (We want to achieve this because we don’t have so many virtual users with us).

 

Thanks,

Prabhjot

Re: TruClient FireFox Does Not Paint Screen in Interactive Mode

see text from CTRL-SHIFT-J below:

 

Could not read chrome manifest 'file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/Firefox/chrome.manifest'.
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create Preferences.jsm:378
Could not read chrome manifest 'file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/Firefox/browser/extensions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'.
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create Preferences.jsm:544
NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICategoryManager.addCategoryEntry] useragent.js:58
PAC file installed from http://proxy1d.mycompany.com/accelerated_pac_base.pac
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create StdClassesFF.js:6
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create ArgsContext.js:21
Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery-1.4.2.js:1504
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create ArgsContext.js:21
TypeError: Object.isString is not a function prototype.js:1824
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create ArgsContext.js:21
Error: Illegal port: 0
TCWebSocket@chrome://truclientrre/content/communicator/TCWebSocket.js:32:4
ConsumerHandler.prototype.connect@chrome://truclientrre/content/communicator/Communicator.js:313:5
ConsumerHandler@chrome://truclientrre/content/communicator/Communicator.js:170:3
IPCCommunicator.prototype.addConsumer@chrome://truclientrre/content/communicator/Communicator.js:423:4
InitLrCommunicator.startConnection@chrome://truclientext/content/InitLrCommunication.js:88:4
://truclientext/content/InitLrCommunication.js:99:3
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
.dispatch@chrome://truclientrre/content/infra/Event.js:24:4
window.Script.start@chrome://truclientrre/content/model/Script.js:132:5
ScriptController.prototype.replay@chrome://truclientui/content/ui/ScriptController.js:654:4
ScriptController.prototype.stateEditing.signalEvent/<@chrome://truclientui/content/ui/ScriptController.js:1395:11
handler@chrome://truclientrre/content/infra/Query.js:51:4
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
.dispatch@chrome://truclientrre/content/infra/Event.js:24:4
xlrVugenCommunicator._RespondMsgFromVugen@file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/dat/LrWeb2MasterProfile/extensions/TruClient@hp.com/components/xlrVugenCommunicator.js:353:7
xlrVugenCommunicator._SendMessageToVugen@file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/dat/LrWeb2MasterProfile/extensions/TruClient@hp.com/components/xlrVugenCommunicator.js:267:3
xlrVugenCommunicator.handleEvent@file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/dat/LrWeb2MasterProfile/extensions/TruClient@hp.com/components/xlrVugenCommunicator.js:239:4
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
.dispatch@chrome://truclientrre/content/infra/Event.js:24:4
ScriptController.prototype.stateEditing.signalEvent@chrome://truclientui/content/ui/ScriptController.js:1474:8
StateMachine.prototype._signalEvent@chrome://truclientui/content/ui/StateMachine.js:20:8
StateMachine.prototype.signalEvent@chrome://truclientui/content/ui/StateMachine.js:46:4
.bind/retFunc@chrome://truclientrre/content/infra/StdClasses.js:43:17
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
.dispatch@chrome://truclientrre/content/infra/Event.js:24:4
ScriptController.prototype.stateEditing.signalEvent@chrome://truclientui/content/ui/ScriptController.js:1399:8
StateMachine.prototype._signalEvent@chrome://truclientui/content/ui/StateMachine.js:20:8
StateMachine.prototype.signalEvent@chrome://truclientui/content/ui/StateMachine.js:46:4
.bind/retFunc@chrome://truclientrre/content/infra/StdClasses.js:43:17
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
Control/self.click<@chrome://truclientui/content/ui/ViewModel/Control/Control.js:23:4
window.viewUtils.createBarInnerDropdown/<.click@chrome://truclientui/content/ui/ViewUtils.js:155:7
.click@chrome://truclientui/content/ui/jbutton.js:89:4
.bind/retFunc@chrome://truclientrre/content/infra/StdClasses.js:43:17
jQuery.event.handle@chrome://truclientui/content/ui/js/jquery-1.4.2.js:1936:10
jQuery.event.add/eventHandle@chrome://truclientui/content/ui/js/jquery-1.4.2.js:1599:1

While calling handlers in RuleEngine dispatch, event=[Event type="TC.startInteractiveReplay" target="[object Object]"], handler=

function () {
"use strict";


  InitLrCommunicator.startConnection();

 }
Key event not available on some keyboard layouts: key="b" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="v" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="o" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="g" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="f" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="z" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="e" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="a" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="s" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="d" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="t" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="x" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="r" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="h" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="m" modifiers="alt control" browser.xul

Re: Need Help: Load Test Approach

Hi,

 

Under the circumstances it seems like you are doing the best you can. I am not sure if the fact you can't use actual user credentials is an issue. If the goal is to test the Citrix server performance then it is actually better if more unique users will login and each perform his real day to day workflow rather than all doing the same flow.

 

Regarding monitoring, I suggest also looking at transaction response time, application log files and key performance metrics of the application/OS.

 

Needless to say that by doing the same test with Vusers the test will be more systematic and allow you to run several cycles until you are satisfied with the results.

 

Good luck.

Shlomi

Re: TruClient FireFox Does Not Paint Screen in Interactive Mode

Hi,

 

Last time I have seen this error message  (Error: Illegal port: 0) a restart of the computer solved it.

 

Close TruClient browser and VuGen. Check task manager and kill any orphan mdrv process that is running there. Try running the TC script again.  If the issue is not resolved please restart the machine.

 

If the issue is not resolved please report a ticket to HP support. 

 

By the way, the issue is that the browser launches mdrv.exe process yet fails to communicate with it since mdrv process fails to allocate port for the communication. 

  

Regards,

Shlomi

Japanese Character Support

Hello,

 

when trying to script Japanese sites I have numerous issues with encoded Japanese text. 

 

no support charset - unable to text check Japanese words, unable to correlate or parametrize Japanese. The data passed to/from servers appears as garbled japanese/chinese encoded somehow.

 

UTF-8 - As above but this allows for text checks in Japanese.

 

EUC-JP - this simply doesnt work at all, the text checks dont work, even when they are the page titles generated during recording. 

 

tried on LR 11.50, 11.52, 12.02

 

All on Win 7.

 

WebProtocol.

 

Both Japanse and English localizsed Windows versions are the same.

 

Also noticed that when I record a script it will work, the encoded text gets passed as correct Japanese, but when I try to "save as" the encoded data, which looks the same, and if compare the files they are the same, will suddenly stop working.

 

Also if I rename the Action that was used for recording the text checks that were in readable Japanese become garbled encoded text, and then also stop working.

 

Any help is greatly appreciated....

Re: How to Migrate the Web Click&Script protocol scripts to Web HTTP/HTM

Unfortunately, no simple migration path exists. The only way to migrate the scripts is to re-record them.


Re: add-in for VS 2013 or VS2014 in LR version 12.02

We haven't developed such add-ins yet, they're planned for our next release.

Re: "the name "lr_load_dll" does not exist in the current context"

Which LoadRunner protocol are you using?

Re: Error after recording a session

What you're seeing is not an error, it's just an indication that no correlations have been found in the recorded script. This may be the expected behavior - in some cases, we really can't find any correlations. Or else it may indicate that you have disabled correlation scans/rules in the Recording Options, so you want to enable them again.

Re: MTOM implementation

Hi Ramya,

 

You can try using Security Scenarios feature:

- Open Manage Services dialog

 - Import WSDL using .NET toolkit

Image may be NSFW.
Clik here to view.
Import.jpg

- Select the imported service, then navigate to Protocol and Security tab

- Click Edit Data button and select Optimization Scenarios/MTOM scenario type. You can use WCF/Custom binding scenario type for more complicated case.

Image may be NSFW.
Clik here to view.
ScenarioType.jpg

(For more details, you can refer to LoadRunner Help Center at following section: Vugen/Protocols/Web Services/Web Services - Security/Security Scenarios Overview/Scenario Categories)

- Then add web_service_call, in Web Service Call dialog, select the document you want to upload in right Input Arguments

Image may be NSFW.
Clik here to view.
AddAttachment.jpg

Hope it helps.

 

Thanks,

Thien

Re: Oracle NCA protocol

Hello

 

I’d suggest you “NCA + WEB (HTTP/HTML)” multi protocol kind of script or “Oracle - WEB” (former “Oracle Web Application 11i”) single script.

 

Thanks, Dmitry

How to handle cookies in Load Runner

Hi,

 

I was using LR for one of my application and did find that few cookies are recorded in the script that did not allow me to actually go to reports after login in replaying the script.

 

Those cookies are generated by asp.net runtime engine, disabling these cookies either application will not run, or we will not to proceed to further pages. 

 

I'm actually looking for a way to handle cookies through Load Runner itself as through code if we do then it will impact the functionality of application.

 

Earliest solution to this will be appreciated.

 

 

Cookies details below as recorded in LR script:

 

web_add_cookie("hPleat34_RGPSTEST_SECURE=6E5ADC205032123E995EE554DF71393E10012215A47D71A990F782EA935D81BED041A72EED0C614C1BC0BCC438DCFE07BB4B97D745F5A02EBE01147B456BF3E120773F99002BACC8ACBB6F002B760559F103DC4FD8BAB943E9D130BE3795C70785E34D69FD97C729F281F28B12572A68868B4E2AE816020A32946DBCE6D9E7988DDB3FECA3DBA9AA99F65C140A4D496B4BB518A7C8A29F314C2ADB119E66959CF1506F9A; DOMAIN=rgpssystest.mclagan.global");     

web_add_cookie("hPleat34_RGPSTEST_SECURE=F66813DC286C986FCB88515F64F00548ED7F7BDF4F6170AD84E08D2616CF5280039A594BE07B72AC88F5303E5106B4FCB99F2301413C4349C798913DE4CF477D4F74C267A78325A809E1ED6E9FC9F7EEE90AC98D8406CFBB27D707F2616361804E2622173C7C0A5B3B31DBD621C24606663C84846153C887B35ABFC77F5E9027F7C5CAF3B9C9FC033125E053A100D1EA36B24F2672B25503B78B56ED14754985541B2365; DOMAIN=rgpssystest.mclagan.global");     

web_add_cookie("hPleat34_RGPSTEST_SECURE=69E804A28FE74AF2EB3A72412BC76F3624E0419E27210037B53064EC88A8060CC13C0D97D6938D2C934E3272349A01E795948F5F898639D434AA5A69F514243DE95413EC14E0E8A8ABF430F4B61BCAC3618BC363849EC6C1641A6A714CBC52F2E19D948F5BEBAEFC5A0623F02C5B40D994FEA1F54CAC12543DF4AF4242EB504B28FE4A77FEEBE3A843D4D2A477C1CE85FDF5BAA33324632726602ABA933A5EE70DA4E3E2; DOMAIN=rgpssystest.mclagan.global");     

web_add_cookie("hPleat34_RGPSTEST_SECURE=15EBD62BBF44560B695817B8CE6814956DE6995D19A2D2D6E306BEFC379649E857938AD8819E1CBDC5DF9B916DBF57C318574FA766426501E3658EFD3808830F30418B74B0D761A5A819551E454D7B0B2BE87A30E5E1ACC1A1C2C7028E0FAF9134F7F81C30C10F5ED21C3B0BB09438AAC4A5D8F98DAE3422B6C8DAD5BF322C9160BAD2358171B2AD00D3FAC19CA656DF0F8B60F00A1EE969348315C47606BA7A32530933; DOMAIN=rgpssystest.mclagan.global"); 

Thanks

Aman

Install Winsock Plus Protocol Interceptor certificate error when starting recording

I've jsut reinstalled Loadrunner because it didn't work. Now it works, but when i try and record a script (Ajax script) and choose any kind of browser, it pops up this message for a blink of an eye and then freezes (presumably wairing for input from me). i cannot get to the dialog window it is hidden. I copied this text from the event log.

 

any ideas how I can get it to work? This is v12.5 build 1096.

 

 

Application popup: Security Warning : You are about to install a certificate from a certification authority (CA) claiming to represent:

 

Winsock Plus Protocol Interceptor

 

Windows cannot validate that the certificate is actually from "Winsock Plus Protocol Interceptor". You should confirm its origin by contacting "Winsock Plus Protocol Interceptor". The following number will assist you in this process:

 

Thumbprint (sha1): 67411E2F 5CBC33F9 6A33FD0A 4AF2CEA6 42D77E16

 

Warning:

If you install this root certificate, Windows will automatically trust any certificate issued by this CA. Installing a certificate with an unconfirmed thumbprint is a security risk. If you click "Yes" you acknowledge this risk.

 

Do you want to install this certificate?


Re: Getting "unable to determine full application path" error during recording

Wanted to add an update to my comment above. The newer version of Java did not successfully work out on all of the client machines (with VuGen) as expected. On a very few, after the Java install I also had to uninstall and then reinstall VuGen to fix the issue.

Re: ICA File not found

I havn't seen any response to the original post. My situation is the same except I am using Vugen 12.02, citrix reciever is v 4.3. Script was recorded using mult protocols: Citrix ICA/Web - HTTP/HTML

This is from replay log:

 

Setting connection option "ICAFILE" to "C:\Users\XXXXX\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\3PXOJW8A\launch.ica"

 

Error: Connect can not be established - Last Citrix error=64 (The ICA file could not be found.), last client error=0 (Unknown client error 0)

 

Error: ctrx_set_connect_opt("C:\Users\XXXXX\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\3PXOJW8A\launch.ica") failed. Operation exceeded timeout.

 

Any suggestions?

 

Thaks,

Dave

TruClient - IE Failing due to "Network Timeout" error

Hi All,

 

I have recorded a TruClient - IE script in LR 12.02 to perform the below steps.

 

> Login

> Search for a matter (a unique number)

> View Matter Summary

> Generate PDF

 

Script is failing on the last step due to the network timeout error. I have changed the end event and step timeout to 500 but still no luck.

 

Any suggestions please?

 

Regards,

Prash.

 

HTML5 Progressive Video Stream download support with LR

Does Loadrunner 12.0 TrueClinet script supports  HTML5 video Prgressive stream download events like

Initial Buffer, HTML5 video playback, buffering duration and rebuffering times?


Background of HTML5 video:

HTML5 video is embedded in a web page supported by the HTML5 format. HTML5 video does not require any media player Plugins.  I've recorded using LR 12.0  AjaxTrueClient for Firefox/IE and its able to record and playback the HTML5 video.

 

Below are the steps:

Step 1. User clicks on HTML5 video page hyperlink
Step 2. HTML5 video is download and embedded in the web page
Step 3. Click Play on the Video
Stpe 4. Video strats playback and stalls for rebuffering and then plays again till the end.


Please suggest if TrueClient protocol supports HTML5 video stream download events, if no please suggest other protocol which supports.

 

Thank you

 

Raghu

Re: Vugen scripting to include Java script functionality

Thanks Vesela for you reply.

 

I am unable to record the upload script with TruClient - Firefox, since it is opening the firefox window and asking me to install various add on like Firebug, Adobe, Fiddler everytime when I try to develop the script.

 

Also, the below code is recorded in TruClient - IE mode. Even during recording, I saw the message of "document is uploading" for long time.

 

truclient_step("Set 'C:\\Users\\...\...sktop\\test.pdf' on FileToUpload filebox", "snapshot=Action_23.inf");

 

Also, Amazon has provided an SDK which is written in Javascript  (has JQuery code as well) to get the token, session and document Id for uploading the document to amazon S3.  

 

Please help me on resolving this.

Viewing all 12134 articles
Browse latest View live


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