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

lr_load_dll in a Web Vuser script ?

$
0
0

Hello,

 

Can I use the function lr_load_dll in a web vuser script?

 

If I can , how?

 

please give an example

 

Any info appreciated.

 

Thanks,

 

TEX2020


Sept 30th Online Expert Day LoadRunner !

$
0
0

Hello Everyone,

 

 

LoadRunner is hosting an Online Expert Day on September 30th, 2014!  Mark this on your calendars!

 

 

If you are a customer with a support contract, then we would like to invite you to join us in LoadRunner Support Customer Forum on September 30th when HP product Experts will be online for 12 hours to answer any questions on ANY TOPIC regarding LoadRunner.

 

What is an Online Expert Day?

 

Online Expert Day is an event when HP product, R&D, and Support team members and other employees join our online forums to answer your toughest technical questions.  Online Expert Days give you a chance to talk directly with the HP Experts!

 

How does the Online Expert Day event work?

 

Starting on September 30th at 01:00 AM Pacific Daylight Time / 04:00 AM Eastern Daylight Time / 08:00 AM Greenwich Mean Time, log in to the LoadRunner Support Customer Forum and create new posts to ask your questions. 

 

The Online Expert Day will end on September 30th at 1:00 PM Pacific Daylight Time / 4:00 PM Eastern Daylight Time / 8:00 PM Greenwich Mean Time.

 

HP Experts will be online for 12 hours in the forum and will do their best to answer your questions. They may need to get some more information from you so please check the box "email me when someone replies".  An online conversation will be born!

 

To participate, you do need access to the LoadRunner Support Customer Forum.  If you don’t have access, please add your Support Agreement ID (SAID) to your HP Passport profile and log in again.

 

If you have a valid support contract and are still experiencing issues, please send an email to swcommunity@hp.com.

 

For more information on our Support Customer Forums and how to add your Support Agreement ID (SAID) to your HP Passport profile, please click here.

 

For upcoming Online Expert Days, please bookmark the HP Software Online Support Services - Forum events page.

 

If you have questions regarding the Online Expert Day event, please reply to this message.

 

We look forward to your attendance and your questions!

 

Regards,

 

Bill Groot

HP Software Online Support Services

Error from lr_load_dll in script

$
0
0

Hello,

 

I am getting errors from running the lr_load_dll in Action section of a Web Url script.

 

See attachment.

 

I am trying to setup the Password Encryption for Vugen and BPM.

 

Any info appreciated.

 

Thanks.

web.reg_save_param (web_reg_save_param) Error in VBScript Vuser

$
0
0

I have been unable to get web_reg_save_param to work correctly in a VBScript Vuser. The functional reference documentation for it is non-existent, but it registers fine when the script is run, but it always fails with:


Error -26377: No match found for the requested parameter "UserSID". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]


Here is my code:

 

iResult=web.reg_save_param("UserSID", _
  "LB=<USERSID>, " & _
  "RB=</USERSID>, " & _
  "RelFrameId=1, " & _
  "Search=Body, " & _
  "LAST")

'-----------------------------------------
' Execute the call
'-----------------------------------------
iResult=web.custom_request(sQuery, _
  sRestUrl & sQuery, _
  "Method=GET", _
  "RecContentType=text/xml, " & _
  "Referer=, " & _
  "Snapshot=t04.inf, " & _
  "Mode=HTML, " & _
  "Body=, " & _
  "LAST")

 Here is what is being returned to be searched with the item of interest bolded:

 

<SESSIONS serDuration="0.406"><SESSION><LINK HREF="/v1/rest/session">/v1/rest/session</LINK><USERSID>351345874000113011</USERSID><USERNAME>sysadmin</USERNAME><LASTTRANSACTION>2014.08.19.11.12.02.546</LASTTRANSACTION><EMPLOYEESID>348347481000138004</EMPLOYEESID><EMPLOYEENAME>SYSADMIN</EMPLOYEENAME><EMPLOYEEACTIVE>TRUE</EMPLOYEEACTIVE><CONTROLLERNUMBER>1</CONTROLLERNUMBER><CONTROLLERSID>348347481000014255</CONTROLLERSID><WORKSTATION>NCORISON0-WKS</WORKSTATION><WORKSTATIONID>351639173000156178</WORKSTATIONID><SEATED>TRUE</SEATED><SEATEDAPP></SEATEDAPP><SUBSIDIARYSID>348347481000137001</SUBSIDIARYSID><SUBSIDIARYNUMBER>1</SUBSIDIARYNUMBER><STORESID>348347482000111009</STORESID><STORENUMBER>1</STORENUMBER><REGIONSID>0</REGIONSID><DISTRICTSID>0</DISTRICTSID><WORKSTATIONTYPESID>0</WORKSTATIONTYPESID><ACTIVE>TRUE</ACTIVE><DEPARTMENTNAME></DEPARTMENTNAME><HISECSBSSID>0</HISECSBSSID><HISECEMPLSID>0</HISECEMPLSID><HOMEURL></HOMEURL><PERMISSIONS/><PREFERENCES> ... </PREFERENCES></SESSION></SESSIONS>

 Thoughts? Also, is there some other way to access the Response Body? Please note that this problem is common to both LoadRunner 11.52 and 12.0.

Citrix ICA recording issue on Vugen 11.52 Build

$
0
0

Hi All,

 

Im seeing an issue with Citrix ICA recording on Vugen Recording (currently we are on LR 11.52 with Patch 1, win 7 Ent 64bit)

 

This is not a direct ICA file , Im capturing the ICA file by the following process on this linK: Here

 

Im saving the ICA file to my local C:\\icafile.ica , Im able to open the session directly if I click the file. The problem arrives when im recording using that ICA file

 

 

 

Citrix Online web Plugin 12.3

Vugen 11.52 Patch 1

Win 7 64bit Ent

 

 

LR/PC 9.5 > .net protocol > wcf services : Script running on vugen but not on controller

$
0
0

Error:

=============================================================================================

 

Starting action vuser_init. [MsgId: MMSG-15919]

  TransStartTime:AM:Initialize 8/20/2014 2:12:11 AM [MsgId: MMSG-17999]

  Notify: Transaction "AM:Initialize" started. [MsgId: MMSG-16999]

  VUserGroup:am_2,VUserID:2,Host:BOSQAPERFX8603,AppDomain:297b065 [MsgId: MMSG-17999]

  Username :ine66220 [MsgId: MMSG-17999]

  TransStartTime:AM:Initialize:Logon 8/20/2014 2:12:11 AM [MsgId: MMSG-17999]

  Notify: Transaction "AM:Initialize:Logon" started. [MsgId: MMSG-16999]

  Error: AM:Initialize:Logon Exception: SCMLib.Common.SCMException: Unable to read environment information from Gateway Agent service. Unable to connect to Service Registry. Please verify that Service Registry is hosted and running at location specified in configuration file.

  at SCMLib.Common.SCMException.ThrowSCMException(Int32 nError, SCMExceptionCategory eCategory, Object param1, Object param2, Object param3, Object param4, Object param5) in e:\builds\a1\sxa\sxa64-rel\sources\projects\scmlib\scmexception.cpp:line 157

  at SCMLib.EnvironmentConfigMgr.RetrieveEnvironmentsDictionary() in e:\builds\a1\sxa\sxa64-rel\sources\projects\scmlib\environmentconfigmgr.cpp:line 152

  at SCMLib.EnvironmentConfigMgr..ctor() in e:\builds\a1\sxa\sxa64-rel\sources\projects\scmlib\environmentconfigmgr.cpp:line 98

  at SCMLib.EnvironmentConfigMgr.SetSelectedEnvironmentByName(String strEnvName) in e:\builds\a1\sxa\sxa64-rel\sources\projects\scmlib\environmentconfigmgr.cpp:line 435

  at SXA.PSRS.Common.Shell.Logon(String UserName, String Password, String EnvName, String Workstation, String Application)

  at SXA.PSRS.LRFactory.VuserClass.ShellLogin() in C:\SXA_MC\Testing\PSRS\PC_WBTS_SXA62_AM\SXA.PSRS.LRFactory\VuserClass.cs:line 213 [MsgId: MERR-17999]

  Notify: Transaction "AM:Initialize:Logon" ended with "Fail" status (Duration: 9.3662). [MsgId: MMSG-16873]

  TransEndTime:AM:Initialize:Logon 8/20/2014 2:12:20 AM [MsgId: MMSG-17999]

  Notify: Transaction "AM:Initialize" ended with "Stop" status (Duration: 9.3726). [MsgId: MMSG-16873]

  AM:Initialize Exception: System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.

  at LoadRunner.LrApiClass.abort()

  at SXA.PSRS.Common.TestPlatforms.LoadRunnerPlatform.Abort()

  at SXA.PSRS.LRFactory.VuserClass.ShellLogin() in C:\SXA_MC\Testing\PSRS\PC_WBTS_SXA62_AM\SXA.PSRS.LRFactory\VuserClass.cs:line 222

  at SXA.PSRS.LRFactory.VuserClass.Initialize() in C:\SXA_MC\Testing\PSRS\PC_WBTS_SXA62_AM\SXA.PSRS.LRFactory\VuserClass.cs:line 114 [MsgId: MMSG-17999]

  Error: Failed to end Transaction "AM:Initialize" (by name). Please check that you made a call to start transaction operation. [MsgId: MERR-16985]

  TransEndtTime:AM:Initialize 8/20/2014 2:12:20 AM [MsgId: MMSG-17999]

  Error: 

  **** Exception caught! System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.

  at LoadRunner.LrApiClass.abort()

  at SXA.PSRS.Common.TestPlatforms.LoadRunnerPlatform.Abort()

  at SXA.PSRS.LRFactory.VuserClass.ShellLogin() in C:\SXA_MC\Testing\PSRS\PC_WBTS_SXA62_AM\SXA.PSRS.LRFactory\VuserClass.cs:line 222

  at SXA.PSRS.LRFactory.VuserClass.Initialize() in C:\SXA_MC\Testing\PSRS\PC_WBTS_SXA62_AM\SXA.PSRS.LRFactory\VuserClass.cs:line 114

  [MsgId: MERR-17999]

  TransStartTime:AMStrategy:DictionaryLoad 8/20/2014 2:12:20 AM [MsgId: MMSG-17999]

  Notify: Transaction "AMStrategy:DictionaryLoad" started. [MsgId: MMSG-16999]

  Notify: Transaction "AMStrategy:DictionaryLoad" ended with "Fail" status (Duration: 0.1847). [MsgId: MMSG-16873]

  TransEndtTime:AMStrategy:DictionaryLoad 8/20/2014 2:12:21 AM [MsgId: MMSG-17999]

  Error: AMStrategy:DictionaryLoad : AMStrategy:DictionaryLoad Exception : System.InvalidOperationException: The ConnectionString property has not been initialized.

  at System.Data.SqlClient.SqlConnection.PermissionDemand()

  at System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection outerConnection)

  at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

=============================================================================================

LR/PC 9.5 > Error while running script on controller ( This is different from my earlier post)

$
0
0

Although mentioned file is available in script folder, we are getting this issue on controller.

 

Error: The table 'c:\tmp\brr_rme.20\netdir\mlv-lr-db\LRFS\33\Scripts\Access_Manager\AM_Allergens.dat'

does not exist.

mdrv process aborted

Vugen/LR Error Auto-correlation callback function "flCorrelationCallbackParseWebPage" failed (rc=1)

$
0
0

Hey guys,

 

does any body have a fix for this error ?


ERROR MSG:

Auto-correlation callback function "flCorrelationCallbackParseWebPage" failed (rc=1) for parameter "Siebel_Parse_Web_Page102"  

 

starnge thing is that it is actauly getting values for the that correaltion see screen shot attached.

 

Any assitance or suggestions will be highly appriacted

 

I have tried the "Convert=HTML_TO_TEXT", but did not change a thing I have re-recorded multiple times and failing at the same section.

 

P.S. This thread has been moved from Performance Center Support and News Forum to  LoadRunner Support Forum. -HP Forum Moderator

 


Mobile App HTTPS request not supporting TLS1.2 in Loadrunner11.52 and 12 using Proxy recording

$
0
0

Hi,

 

I tried to record Mobile App HTTPS request using Proxy recording in LoadRunner11.52 and Loadrunner12. LR recording TLS1.0 but it is not recording TLS1.2,  i used Mobile HTML/HTTP protocol and installed SSL certificate to Trustedroot certificate authorities in chrome browser also but iam getting HTTPS request script, it was in empty action only.

 

Please reply soon...

 

Thanks in advance

Selvan

 

 

P.S. This thread has been moved from Mobile Apps Development - December 2013 to LoadRunner Support Forum. -HP Forum Moderator

Vugen replay error with dynamic URL

$
0
0

Hello,

 

sorry but i'm quite a newby in BPM :)

 

I reccord a script to download a file from a website, when i reccord the script i have no error occurs. Now, when i replay the script in VuGen, it pass the authentification step, when script try to access to menus (before accessing the download button), the URL is dynamic, and VuGen post me a 401 or 403 HHTP code access denied. Indeed when i try to access this page directly from a browser, i have the same output.

 

I would like to know how can i fix it, because i cannot imagine that BPM is not able to navigate through different menus were URL is dynamic and updated frequently.

 

Thx for your help

 

P.S. This thread has been moved from Performance Center Support and News Forum to LoadRunner Support Forum. -HP Forum Moderator

 

 

Mobile App HTTPS request in Load Runner12 using Proxy not supporting TLS1.2

$
0
0

Hi,

 

Mobile App HTTPS request in LR12 using proxy not supporting TLS1.2,

 

could you please give me some ideas to record the application on uses TLS1.2

 

Thanks in advance

 

Selvan

TrueClientAjaxFirefox protocol can accept to create file & Capture URL in Loadrunner 12.01

$
0
0

Hi All,

 

I am faceing issue to create a file and capture the URL.

 

I am using Loadrunner Vugen version 12.01, i recorded script with TrueclientAjaxFireFox(TCAF) protocol and i am trying to create "test.txt" file its not creating the file and also i tried for "Excel" also with java script code, its not creating the file.

 

Also i tried to capture the generated "URL" from Firefox browser, it not capturing the URL, but code was executed succefully, it not throwing any error.

 

Please help me on this, your help will help me alot.

 

Thanks,

Mahesh.

maheshkarri6@gmail.com

How to resolve 26377 error in load runner 8.1

$
0
0

Action.c(42): Error -26377: No match found for the requested parameter "CSRule_2_UID5". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size

How to resolve error 27780 in load runner ??

How to resolve error 27782 in load runner ??


How to handle captcha in load runner ??

$
0
0

I have recroded a script for a web application . The last page of my web application has a captcha. How to handle this captcha in Load Runner 8.1 ?

 

I have correlate the capta and try to hit the server with 50 Vusers but in the database there is no entries of this 50 Vuser ?? How to handle this ??

Failed to transmit data to network in Load runner 8.1 ??

$
0
0

Error -27792: Failed to transmit data to network

How to fix the following issue ??

$
0
0

Action.c(436): Error -27781: Timeout (120 seconds) exceeded in state STATE_SSL_CONNECT for URL "https://www.myURL.com/attRegAgendaDetails.do" 

 

Ping the remote host to which you were connected.  If it does not respond, it may be offline or there may be a network problem along its path. Increase the socket buffer size using the TCP_BUFFER_SIZE  option in web_set_sockets_option.

How to fix the following issue in Load Runner 8.1??

$
0
0

Action.c(439): Error -26374: The above "not found" error(s) may be explained by header and body byte counts being 0 and 0, respectively.

LoadRunner 12.01 Controller Issue

$
0
0

Hi all,

I get error like someone when i start run vsuers on controller.

It is "Tcs has stopped working". and in the log file it says " ipc connection to browser process is lost".

In the error details it says about "TruWebIElauncher.exe". I searched the forum and found something like that error .I turned of UAC and DEP too between i checked endpoints too. Didint help.

I just use 3 vusers with controller and getting that error . I will test 200 users on that pruduct.pls Help

 

 

My Loadrunner 12.01 installed on  Windows 2008 R2 64 bit machine.

IE version 11.0

 

 

Viewing all 3978 articles
Browse latest View live




Latest Images