Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all 3978 articles
Browse latest View live

LoadRunner_adf

$
0
0

Please suggest how to record script for adf 11g web application with LR 12.02? What protocol and correlation rule should be used? What should be the exact recording option?

I have tried with ajax click and script protocol with GUI based recording mode and oracle correlation rule. Using this the application GUI gets scattered while recording.  


Loadrunner - How to add server to monitor?

$
0
0

Hi all,

 

I am trying to configure new server to monitor thier resources utilization during the performance execution, I have followed all the steps correctly and add the server, countries, and entering the administrator credentials. However after submiting the credentials I am getting the following error message:

 

Cannot connect to the machine [Server IP]

Reason: Cannot access HKEY_PERFORMANCE_DATA key on host [Server IP] with error

Access is denied.

 

My question: Is there a server agent I should install first before adding the server counters? What I am missing in the server side in order to complete the configuration? 

 

Edit hostfile from TruClient-script?

$
0
0

Hi!

We have several different test-environments when developing an enterprise site.

When running performance tests I usually go to each Loadgenerator and edit the local Host-file so that it will connect to the right target test environment.

This is a very timeconsuming and ineffective way, so I'm looking for a better way to have the loadtest scripts take care of this.

A hostfil might look something like this when I've edited it for a testenvironment: 

192.168.0.50 www.xyz.com ex2.xyz.com
192.168.0.51 ex3.xyz.com
192.168.0.52 ex3.xyz.com

In StormRunner there's a solution to override the host-file with a file called hosts.add that you add to the scripts zip-file before uploading to Stormrunner.
http://stormhelp.saas.hpe.com/Latest/Content/Storm/AUTHostsNames&IPs.htm#hp-minitoc-item-1

Is there a way to do this in a Truclient script that should be running on a Performance Center Loadgenerator?
PC version 12.01

Thanks for any advice :-)
/Fredrik

 

TruClient Transaction Editor: End Point for Modal Windows (AJAX)

$
0
0

I have recorded a test script on a TruClient for a web system using Ajax. The test script itself works fine. With TransactionEditor I have set start and end points for measuring time on several tranactions.

One transaction is clicking on a button and waiting for a second browser window to open and load content. I used Action Complete as Start Transaction (so after clicking the button has been performed) and DOM Content Loaded as End Event (as all content needed is loaded). This works fine and times measured for this in replay mode are fine.

The web application itself uses Ajax. And this is where I'm running into problems measuring realistic times (compared to manual stopped times; e.g. I try to measure time from clicking a button to open u a modal window --> manual stopped time 8 sec, TruClient 0,2 sec). 

I think TruClient is running into problems because of Ajax. In my test script I have recorded a step Click Button, on click a modal window opens, next step would be some action in the modal window. I neither want the time it takes clicking the button nor the time from clicking the button to performing the next step. Is there any possibility measuring the time it takes until the modal window has popped up and content is fully loaded? Maybe by setting the trigger on the specific modal window object? Same problem appears when clicking on a button which affects a new page to load.

I do know the definitions of the start and end points of the transaction editor and tried different start and end points for measuring, but I'm not getting realistic values for time measuring - either very small values (e.g. 0,2 seconds etc.) or I'm running into a timeout (e.g. using Document Loaded as end point).

Can anyone help why I'm not getting realistic results and how I would be able to trigger Ajax events using the Transaction Editor?

Thanks!

TruClient and Jenkins

$
0
0

Does anyone have any experience with using Jenkins to kick off a TruClient test?

We currently use Jenkins to kick off a UFT test on a host and I would like to do the same thing with a TruClient script.

TruClient and Word/PDF

$
0
0

So I'm trying to record a Truclient script that verifes that a Word doc was opened and then that a PDF Doc was opened. Inside my application it links to a Word doc and then in another step it links to a PDF doc. The issue I'm having is that Truclinet doesn't seem to reconize the word or PDF Doc. I use Truclient for multiple browser windows without issue but this Word/PDF issue got my stumped.

Any suggestions?

SSL Protocol without WinInet

$
0
0

Hello, i'm getting this error 

 

I'm able to record the script, but unable to replay - getting error message "SSL Protocol error when attempting to connect with host".

i found a solution on this forum, but it say i need use WinInet, well i can't use WinInet, because i will do a load test with 900 vusers later, and WinInet will make it prompt an error, so if anyone have a solution, i would aprecciate

 

 

Concepts about the database creation in LoadRunner and imported to SQL Server

$
0
0

Hello everyone! 

I hope you are doing well.

I have many questions about different concepts of LoadRunner Analysis with SQL Server. I use LoadRunner 12.50, SQL Server 2008R2 Express and  Windows7 x64. In the atached file (images.zip) you can find the images I will name along the message.

Today I have been working for having a database of one of the results collected from one test we launched “imported” into my SQL SERVER 2008 Express R2 software. Which is the last version of SQL Server that can I install and LoadRunner Analysis supports?

So, first of all I have installed SQL SERVER 2008 Express R2. Once it has been installed, I have edit the analysis Database options like in the picture named 01_Analysis_Database_Configuration

In this step I have the error of the pictures 02_1_Warning_Test_Parameters and 02_2_Warning_Test_Parameters

What I have to do to resolve this warning?

Although this problem, I have continued, and when I save a LoadRunner Analysis session it appears a new database which are named like this: res_5626967DB and res_7437309DB. Why are named like that? Can I change them?  Look the 03_Database_Names.png file

Another thing that I have found are many tables named like this: TxxxxxxxT. How can I know what data appear in those tables? And why are named like this? 04_Table_Names.png

Why the diagram folder is empty? How can I do or where can I find a relationship diagram between the tables?05_Relationships_Diagram.png

And finally; why Dbo.MastersMap table is empty? I have read that in this table there is a column (sql) which, more or less, shows the relationships between tables.  06_MastersMap_Empty.png

If you don’t understand something please let me know.

Thank you very much for your time.

Best regards.


how to import new script in Vugen with code generation log

$
0
0

Hi All,

I am working one application it contains huge business flows. So, we converted into  multiple actions. So we have recorded each action part separately. Now I wanted to import all actions as single scripts with code generation log. I tried that but couldn't see the code generation for each action. Please help me.

 

Thanks

Winsock Recording of Browser-based Application

$
0
0

i'm using vugen 12.02. using winsock protocol, i successfully recorded a browser-based application and its communications. however, any socket communications that were done using HTTPS port 443 were not recorded; only HTTP and other communications.

is there a limitation with winsock and HTTPS in this regard? if not, what needs to be done to get this to work?

(note that i have the winsock protocol interceptor certificate installed in the root store; i don't think it has anything to do with this problem, but i mention it just in case someone wondered about it.)

Should I be able to see Citrix GUI on a load generator when executing a test in LoadRunner or PC?

$
0
0

Should I be able to see Citrix GUI on a load generator when executing a test in LoadRunner or Performance Center?

I have created Citrix script.
I can see Citrix GUI when executing this script in VuGen.

I am executing the same script in LoadRunner or Performance Center.
I opened an RDP connection to a load generator that is used by this test run.

I see load runner agent icon on a tak bar.
When executing this test I see a "Banner" notification icon "Serving ..."
So it looks like thi stest is running OK.

Is it possible to see Citrix GUI on this load generator during test execution?

LR Controller does not copy data files to generator when using recursive dirs

$
0
0

Hi,

When I try and run my scenario on an injector, I get issued with the error "Error: The user files were not transferred to the local load generator" and all the users get thrown straight out.

My scenario will run OK if I use localhost as my injector...  Think it doesn't like recursive dirs.  Reason why I'm using them is because I want to be able to pick up my LR tests assets from the top level dir; move them to another sever or folder; and have everything work as it should. 

So physically, my script is here:

Z:\LoadRunner\Scripts\My Script

Data is here:

Z:\LoadRunner\CommonData\environment.dat

So, in my loadRunner script, I'm pointing to environment.dat as:  

\..\..\..\common_data\environment.dat

So for some reason, I can only get this to work if I hardcode a path for the data file; or use the recursive directory limited to localhost as my injector.


Am using LoadRunner 12.02

 

Cheers,

J

Unable to execute/replay Java VUser script...Class path and Java/JDK requirements for VUGEN 11.50 ?

$
0
0

Hi 

I am using VUGEN 11.50, I tried to create Java VUser, and tried to execute... I got below error

Error: Failed to find javac.exe Java Compiler in Path and JDK installation folder in registry. Error: Failed to find java.exe. Please add the \bin to the path and try again. Warning: Extension java_int.dll reports error -1 on call to function ExtPerProcessInitialize Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.

 

Please help me what should I do in terms of configuration  to run Java program in VUGEN

TruClient Calling an Action

$
0
0

Has anyone ever called an Action inside an Action in Truclient? I was looking for the option and I dont see it anywhere. 

Concepts about the database creation in LoadRunner and imported to SQL Server

$
0
0

Hello everyone! 

I hope you are doing well.

I have many questions about different concepts of LoadRunner Analysis with SQL Server. I use LoadRunner 12.50, SQL Server 2008R2 Express and  Windows7 x64. In the atached file (images.zip) you can find the images I will name along the message.

Today I have been working for having a database of one of the results collected from one test we launched “imported” into my SQL SERVER 2008 Express R2 software. Which is the last version of SQL Server that can I install and LoadRunner Analysis supports?

So, first of all I have installed SQL SERVER 2008 Express R2. Once it has been installed, I have edit the analysis Database options like in the picture named 01_Analysis_Database_Configuration

In this step I have the error of the pictures 02_1_Warning_Test_Parameters and 02_2_Warning_Test_Parameters

What I have to do to resolve this warning?

Although this problem, I have continued, and when I save a LoadRunner Analysis session it appears a new database which are named like this: res_5626967DB and res_7437309DB. Why are named like that? Can I change them?  Look the 03_Database_Names.png file

Another thing that I have found are many tables named like this: TxxxxxxxT. How can I know what data appear in those tables? And why are named like this? 04_Table_Names.png

Why the diagram folder is empty? How can I do or where can I find a relationship diagram between the tables? 05_Relationships_Diagram.png

And finally; why Dbo.MastersMap table is empty? I have read that in this table there is a column (sql) which, more or less, shows the relationships between tables.  06_MastersMap_Empty.png

If you don’t understand something please let me know.

Thank you very much for your time.

Best regards


Error -35049: No match found for the requested parameter "saprole"

$
0
0

Hi experts, i have error in script for SAP CRM UI, 

 

This is the log: 

tion.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/LogIn_frame_topright.png" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/LogIn_frame_stretch_left.png" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/NetWeaver_Default_Picture.jpg" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/SAPNetWeaverLoginTitle_wo_Subtitle.jpg" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/nw5/1x1.gif" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/SAP(====)/BC/BSP/SAP/thtmlb_styles/sap_skins/default/styling/uifboxtransborders-right.png" (specified by argument number 46) [MsgId: MMSG-26577]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/SAP(====)/BC/BSP/SAP/thtmlb_styles/sap_skins/default/styling/background-button-hover.gif" (specified by argument number 49) [MsgId: MMSG-26577]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/SAP(====)/BC/BSP/SAP/thtmlb_styles/sap_skins/default/styling/uifboxtransborders-left.png" (specified by argument number 52) [MsgId: MMSG-26577]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/SAP(====)/BC/BSP/SAP/thtmlb_styles/sap_skins/default/styling/uifboxtransbl.png" (specified by argument number 55) [MsgId: MMSG-26577]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/SAP(====)/BC/BSP/SAP/thtmlb_styles/sap_skins/default/styling/uifboxtrans.png" (specified by argument number 58) [MsgId: MMSG-26577]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/SAP(====)/BC/BSP/SAP/thtmlb_styles/sap_skins/default/styling/uifboxtranstl.png" (specified by argument number 61) [MsgId: MMSG-26577]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/SAP(====)/BC/BSP/SAP/thtmlb_styles/sap_skins/default/styling/bullet_black.gif" (specified by argument number 64) [MsgId: MMSG-26577]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/SAP(====)/BC/BSP/SAP/thtmlb_styles/sap_skins/default/styling/logo_sap_crm.gif" (specified by argument number 67) [MsgId: MMSG-26577]
Action.c(156): Downloading resource "http://crmperu.celeritech.biz:8000/sap/public/bsp/sap/public/bc/htmlb/1x1.gif" (specified by argument number 70) [MsgId: MMSG-26577]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/sap_logo.png" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/LogIn_frame_stretch_right.png" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/LogIn_frame_bottomleft.png" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/LogIn_frame_stretch_bottom.png" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/frame_clip.png" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Resource "http://crmperu.celeritech.biz:8000/sap/public/bc/ur/Login/assets/LogIn_frame_bottomright.png" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(156): Error -35049: No match found for the requested parameter "saprole". Check whether the requested regular expression exists in the response data [MsgId: MERR-35049]
Action.c(156): web_submit_data("default.htm_3") highest severity level was "ERROR", 44691 body bytes, 2376 header bytes [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 1.
Ending Vuser...

 

Please you can help me. 

 

Best Regards, 

Eli Daniel Ramones. 

Citrix Xen App Replay Issues

$
0
0

Dear All,

We have recorded a Citrix Xen App with multiple protocols, web http/html and citrix ICA protocols. We tweaked the script to save .ica file with different names (like for Vuser1, 1launch.ica, 2.launch.ica) in H:/Temp folder.

the script runs very well with unique user id's but when the same userId is used multiple times, the existing session is getiing killed and only one session/ user is running.

Manually, we were able to login to Webinterface with same user in many browsers and are able to invoke citrix application multiple times with same users.

When the script is runningfrom controller, we are able to see different .ica files created for each user in H:Temp folder with similar properties of manual .ica files. Still, it is not allowing more that one user with same Credentials.

Also, we are seeing two files being created for each user 1launchSAPID.ica.vuser.modified, 1launchSAPID.ica. why are two files being created?

Attaching one .ica file generated in H:Temp when script was run from controller.

 Our code is below for handling ica files . We capture .ica parameters in to Full and append [Encoding] to it and invoke it,.

 I have attached the file that has the code to generate .ica files.

 

Quick response is much appreciated.

 

LR Vuser/threads question

$
0
0

Hello,

I want to know if there is any document that explains technically how LoadRunner executes multiple Vusers per thread, for example, if I have one machine with one processor/2 cores/2 threads, how the tool manages the concurrency (real one) if I want to run 4 Vusers in that machine?
I know that VUGEN has a config where i can choose if I want to run as thread or process, I know the difference, I also know that uses flags to controll the threads, however, is it real concurrecy?

Regards.

How to make VuGen scripts robust to application changes

$
0
0

Hello Team,

I have been working on a web application and use LoadRunner to load test the application. Often when there are changes made to the application and patch deployed, we usually have a scenario of re-scripting the same business flows since the previous scripts fail due to certain failures (If possible we tweak the same scripts). This leads to new effort estimations and delay in delivery timelines. I just wanted to know if there is any approach ( less dependent on HTTP layer to record the requests ) to make the VUGen scripts robust and less susceptible to applicationpatch deployments (considering Web applications for now).

Thanks,

Manu

How to change firefox version in TruClient?

$
0
0

I am using Loadrunner 12.50 with TruClient to record a script by clicking on some webpage. However, the firefox version used within the TruClient client is too old. The GUI is not shown correctly. Looking at the same GUI with a normal, up-to-date firefox browser works very good. All the items and boxes etc. are shown correctly.

How can I change the version of firefox that is used within TrueClient of Loadrunner 12.50?

Viewing all 3978 articles
Browse latest View live




Latest Images