Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all 12134 articles
Browse latest View live

Re: Creating a Parameter in a Java Record Replay script

$
0
0

The parameter should be wrapped with lr.eval_string


Error in web_reg_async_attributes

$
0
0

Hi!

I'm currently scripting an authentication application. The authentication is performed by using an electonic ID on a mobile device (e.g. an iPhone). The users enters his/her ID-number on a web page and then opens the ID security application on the mobile device and enters a pin-code. During this time the web page continuosley polls the server for status of the authentication.

 

I've recorded this flow using LR 11.52, and LR successfully records the poll and adds a web_reg_async_attributes step to the script. But when I try to replay (with added parameters) the replay fails with an error that is unknown to me.

 

Below is the code for the poll recorded by LR (web_add_header and web_sync steps added manually):

 

web_reg_async_attributes("ID=Poll_0"
        "Pattern=Poll"
        "URL=https://XXXXXX/login/ajax/poll"
        "PollIntervalMs=1600"
        "RequestCB=Poll_0_RequestCB"
        "ResponseCB=Poll_0_ResponseCB"
        LAST);

    web_add_header("X-CSRF-TOKEN"lr_eval_string("{CSRF}"));
    web_add_header("Accept""application/json");
    web_add_header("X-Requested-With""XMLHttpRequest");
    web_add_header("Accept-Language""sv");
    web_add_header("Connection""Keep-Alive");
    
    web_custom_request("poll"
        "URL=https://XXXXXX/login/ajax/poll"
        "Method=POST"
        "TargetFrame="
        "Resource=0"
        "RecContentType=application/json"
        "Referer=https://XXXXXX/login/poll"
        "Snapshot=t9.inf"
        "Mode=HTML"
        "EncType=application/json"
        LAST);
    
    web_sync("ParamCreated=authStatus""RetryIntervalMs=800""RetryTimeoutMs=60"LAST);
    web_stop_async("ID=Poll_0"LAST);

 

During replay the scipt fails with the following error message

 

AH_Testverktyg.c(136): Warning -26499: Internal Error - Invalid mptTaskItem=073B8C00 / _ptConversInfoItem=00000000 / Pattern=[Invalid] (NOT repetitive) / ID="" (IsValid=0) / UrlCrack IsValid=1 for URL="https://XXXXXX.se/login/ajax/poll" in RequestToRepeat CTOR for this=06666C60 [MsgId: MWAR-26499]

 

AH_Testverktyg.c(136): Error -35050: Parameter 'authStatus' was not defined and the time to wait for it has elapsed. This timeout can be set by passing argument 'RetryTimeoutMs' or by changing 'web_sync retry timeout' in Run-Time Settings. [MsgId: MERR-35050]

 

Notable is that the first poll works.

 

Also, when I modify the script and use a for-loop instead, the script works fine, so I don't think there is any problem with the actual request being sent. In this case it works fine with the for-loop since nothing needs to be executed during the poll, but I think the LR-poll function is a more neat solution :-)

 

Has anyone encounter this and managed to get it to work?

 

Best Regards!
Robert

 

 

 

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

Load Runner - VBA Setup option not available

$
0
0

Hi, I am unable to run VB script in Vugen with error "Unable to initialize VB Drivers, Install VBA from Product Tool" 

Online forums also provide the same solution 

 

However I do not have any options under as Programs --> Load Runner --> Tools --> VBA setup


Can someone let me know what could be the reason.

 

FYI

The Load Runner version is (9.10) is installed by Network administrator using S/W distribution tools to a set of users in the orginization..... 

 

 

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

 

 

Re: Error in web_reg_async_attributes

$
0
0

Hi robertfred,

 

I am Performance Centern & LoadRunner Support representative and I will try to help you with this.

 

Kind Regards,

 

Vugen script failed after BPM Upgrade. Help pls !!!

$
0
0

Hello all,

 

We upgraded to BPM 9.23 and some of our Vugen scripts are failing since then.

 

The script is running fine from Vugen, but giving the below error while running from BPM.

 

 

27/06/2014 13:04:43 mrb_bsr_bpm_flow_1.c(9): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Configuration.ConfigurationException: WSE032: There was an error loading the microsoft.web.services2 configuration section. ---> System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for microsoft.web.services2: Request for the permission of type 'System.Net.DnsPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (D:\Apps\HP\LoadGenerator\bin\mdrv.exe.Config line 12) ---> System.Security.SecurityException: Request for the permission of type 'System.Net.DnsPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. 
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) 
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) 
at System.Security.CodeAccessPermission.Demand() 
at System.Net.Dns.GetHostName() 
at Microsoft.Web.Services2.Messaging.SoapTcpTransport..ctor(XmlNodeList configData) 
at Microsoft.Web.Services2.Messaging.Configuration.MessagingConfiguration..ctor() 
at Microsoft.Web.Services2.Configuration.WebServicesConfiguration.Clear() 
at Microsoft.Web.Services2.Configuration.WebServicesConfiguration.System.Configuration.IConfigurationSectionHandler.Create(Object parent, Object configContext, XmlNode section) 
at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionImpl(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader) 
at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader) 
at System.Configuration.RuntimeConfigurationRecord.CreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader) 
at System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader, String filename, Int32 line) 
--- End of inner exception stack trace --- 
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) 
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) 
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) 
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) 
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) 
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) 
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) 
at System.Configuration.ConfigurationManager.GetSection(String sectionName) 
at Microsoft.Web.Services2.Configuration.WebServicesConfiguration.Initialize() 

 

 

This is the mdrv.exe.config file

 

 

 

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  </configSections>

  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
  </startup>
 
  <microsoft.web.services2>
    <security>
      <x509 storeLocation="CurrentUser" allowTestRoot="true" />
    </security>
  </microsoft.web.services2>
  <microsoft.web.services3>
    <security>
      <keyIdentifierMapping>
        <add valueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1" tokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1" />
      </keyIdentifierMapping>
      <x509 allowTestRoot="true" />
      <securityTokenManager>
        <add type="CsSAMLHelper.LrSAMLTokenManager, CsSAMLHelper" namespace="urn:oasis:names:tc:SAML:1.0:assertion" localName="Assertion" />
      </securityTokenManager>
      <binarySecurityTokenManager>
        <add valueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">
          <keyAlgorithm name="RSA15" />
        </add>
      </binarySecurityTokenManager>
    </security>
  </microsoft.web.services3>
</configuration>

 

 

Please help !!!

 

Thanks a lot,


Cheers,

Sreeja

Re: VuGen error on Citrix recording and replying

$
0
0

Hi,

 

As Alexis information, please make sure you have installed the Citrix Registry Patch -  Enable_Citrix_API.reg with administrator right. Please restart the machine after that.

Please check DEP - Data Execution Prevention is disabled on LR machine as well. You can refer this document to disable it:

http://support.openview.hp.com/selfsolve/document/KM747283

And you can consider to install the patch 1 for LR/Vugen 11.52. This is the link to download the patch 1:

For full LoadRunner: http://support.openview.hp.com/selfsolve/document/KM00484042

For Vugen Standalone: http://support.openview.hp.com/selfsolve/document/KM00484044

 

Regards,

Chau

 

Re: Error (-81024): LR_VUG: The 'QTWeb' type is not supported on 'WIN32' platforms - on WIN7

Re: Load Runner - VBA Setup option not available

$
0
0

Hi,

 

I do have the option  under as Programs --> Load Runner --> Tools --> VBA setup in LR version 9.1 and 9.52 as well.

So I guess you have installation issue here.

In C:\Program Files\HP\LoadRunner\bin\, please check that do you have a folder:  vba6_setup?

You can run the file : vba6.msi from this folder for VBA setup.

If you don'f have this folder, so I think you should reinstall LoadRunner with full administrator right.

 

Regards,

Chau


LR support tip: Load Generators assignment does not work as configured in LoadRunner 12

$
0
0
When a load test is configured on percentage mode to use multiple Load Generators the assignment does not take correctly the configured Load Generators during test execution in LoadRunner 12.


More details about this issue and a fix are available in the following knowledge document:

http://support.openview.hp.com/selfsolve/document/KM01016608

Re: how we change the controller server's

$
0
0
You need the Service Agreement ID (SAID) to raise the ticket in the HP support portal

Need protocol details to record a tool installed on windows OS

$
0
0

Hi,

 

We have installed one tool on local Desktop, which is build on .net framework and Application technology as  C#.Net, WPF,WCF. The business process is interacting with IIS server in client-server communication mode.

 

We have tried to launch the tool using Load Runner with win32 application type but LR 11.04 and LR 12 doesn't launch the application.

 

Please suggest the solution to rectify this issue.

 

Tried with LR 11.04 and LR 12 on Win 7 OS, protocol used web http/html, application type selected as win 32.

 

 

Thanks,

Prasanna

26612 Http:// Status code 500

$
0
0

Hi, 

I am testing a web application and my load generator and window resource monitor services are in server 2008 ..

When I was started , I got thiis error.

..26612: HTTP Status-Code=500 (Internal Server Error)...

I looked for on the internet and forums in this station and I saw "this problem is about the application"..

Maybe it is about me.

In my design, all of panels-transactions (login,select, set and get data ... logoff) are in action..

Is it about this station?

 
 

LR ip spoofing

$
0
0

Hello,

 

 we tryed to configure ip spoofing by a lot of ways,

tryed all available manuals and still have no result.

 

without spoofing enabled all is ok, but when spoofing is enabled

all users stuck in pending status, without any chance to figure out why the problem occurs...

 

we maked another loadgenerator on the virtual machine, and it works.

all settings seems to be the same...

 

I assume, that is some kind of network issue, some traffic may be blocked...

 

Please give adwise how to figure out what cause the problem.

Re: LR ip spoofing

$
0
0

Hi,

 

Can you please specify the LoadRunner version you are using, and the load generator's OS?

 

Thanks,

Roy

Re: LR ip spoofing

$
0
0

Greetings Zeinum,

 

Hope you are doing well!

 

May you please supply more details about the LoadRunner version on the Virtual machine?

 

Also remember to disable the DHCP Network feature, please check this topic:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Forum/IP-wizard-does-not-support-DHCP-enabled-networks/td-p/4658797#.U7Lv7fn0Ad4

 

May be you have it enabled on the Load Generator machine that is not giving the expected result. Also check that you are using the IP Wizard as "administrator", you can follow up these steps to disable the DHCP, only static ip address is allowed:

 

1. Click Start followed by Run.

2. Type command followed by Enter.

3. Type ipconfig/ all  in the command prompt console and press Enter.

4. The results displayed will show you the device's current IP address, Subnet Mask and Default Gateway, also the current DNS Servers among other things.

 

To reconfigure the IP Address settings of a device in Windows, follow these steps:

 

 

1. Click Start followed by Control Panel.

2. Click Network Connections.

3. Locate the device you want to confiture. For instance ( Internet Protocol Version 4 (TCP/IPv4).

4. Right-click it and select Properties.

5. Under the this connection uses the following items : window, scroll to the Internet Protocol (TCP / IP)] entry and click on the Properties button.

6. Select the radio button next to use the following IP Address and enter the IP Address, subnet mask and default gateway of your choosing (use information extracted above as a reference).


7. Select the radio button next to use the following DNS server addresses and enter the DNS Server IP Addresses from the information extracted above.

 

Please let us know this.

 

Kind Regards,

 

 

 

 


Designing a Scenario for multiple user injection rate

$
0
0

Hi Experts,

 

Please help me to design a loadrunner scenario for 6800 Vusers.  I want to inject first 5230 Vusers at 1 Vuser every 2 seconds and the remaining 1570 Vusers at 1 every 4 seconds

 

I have 13LG boxes with high end configuration. A maximum of 11 terminal sessions can be opened in each LG and max of 50 Vuser each terminal.

 

Thanks in advance

 

Renjith

Recording pop up page using SAPGUI protocol, LR12

$
0
0

LR 12 not recording pop up page using SAPGUI protocol. Can someone help me with a work around if any please.

Re: Loadrunner 11.52 "generator using over 80% CPU"

$
0
0

I am geeting erroe message "CPU usage load generator has exceted 80%"

 

Load Runner version 11.52

 

install on windows 7.

 

need solution ASAP

Re: Need protocol details to record a tool installed on windows OS

$
0
0

Hi Prasanna

 

 

Hope you are fine!

 

I would like to see if you application is a Windows Based application or Web Application or a merge of both technologies. You can use a Vugen or LoadRunner Feature called 'Protocol Advisor'

 

 

For version 12:

 

1. Open Vugen and open Protocol Advisor --> Analyze Application  followed by Record on the main menu.

 

2. On Protocol Advisor Window, put the location or path where the executable of the application is, it is on Program to analyze . 

 

3. In Working Directory, place this location: C:\Program Files (x86)\HP\LoadRunner\bin or similar on your environment.

 

4. Click Start Analyzing button to analyze the Business Process of the Application Under Test. It will list a possible group of protocol you can try.

 

5. For LoadRunner version 11.04 the feaute is located on with the same steps above.

 

Note:Before you start this, we need to disable the windows features: DEP, UAC and windows firewall. I have attached a word document to disable those features temporally, the instructions to rollback the disable process are on that document.

 

 

What version of .net framework are you using?

 

Is the application a 32bit application mode?

 

Kindly waiting your prompt reply.

 

Regards,

 

 

 

Re: Recording pop up page using SAPGUI protocol, LR12

$
0
0

Hi IOO

 

Hope you are doing fine!

 

We need to know that is the version of the SAPGUI application? Regarding the PAM for LoadRunner 12, there are supported versions and servers, please check:

 

 

Supported versions

 

  • SAPGUI 6.4
  • SAPGIUI 7.1
  • SAPGIUI 7.2
  • SAPGIUI 7.

Supported Servers

 

  • SAP R/3 4.60c
  • ECC 5.0 (ERP 2004)
  • 6.0 (ERP 2005)
  • SAP HANA Edition

 

Another recommendation is to disable the Windows Feature that will not let to Vugen to record the BP correctly. I have attached a word document that contains instructions how to disable those features and enable them again. It is important to have full administrator rights on the machine you are trying to record.

 


Kindly waiting the result of this.

 

Regards,

 

Viewing all 12134 articles
Browse latest View live


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