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

how to record xml upload scenario using truclient protocol.

$
0
0

how to record xml upload scenario using  truclient   protocol.   

 

thanks,

praveen


LoadRunner TruClient and KnockOut.js or Angular.

$
0
0

We have started to see app from our developers that we can't even get basic scenarios with 10 vUsers running on an LG. When are getting 80% CPU warnings all over. We log into the LG and run TaskManager to see what is happening and see the TruClient instances are running from 0 to ~ 20% CPU capacity.  Talking with the developers, they are using Knockout.js or Angular in developing these applications. These both appear to be very heavy on client side processing.

Has anyone encountered these technolgies while using TruClient? Does anyone have any ideas on performance specs for LGs for appa that use them?

 

Thanks

got error during install Cloud System9 First Management applicance

$
0
0

Installization environment is Vmware ESXI 6.0 Hypervisor .
vCenter installed already.I execute csstartgui.bat
and then system make up cs-mgmt VM and reconfigure completed through CloudSystem Management Appliance Installer.
after that I want go to next step by installation, but I got error.

<Log>

[2016-01-06 14:08:58,367] DEBUG esx.esx_utils vmdict: {'vm-49': 'vCenter', 'vm-58': 'cs-monitoring', 'vm-59': 'cs-update', 'vm-57': 'cs-sdn', 'vm-61': 'cs-mgmt', 'vm-60': 'cs-cloud'}
[2016-01-06 14:08:58,608] DEBUG esx.esx_utils Adding location element to spec.
[2016-01-06 14:08:58,644] DEBUG esx.esx_utils Return cluster_list[0] :domain-c7
[2016-01-06 14:09:03,970] DEBUG esx.esx_utils Number of hypervisor cores discovered: 12
[2016-01-06 14:09:03,973] DEBUG esx.esx_utils Sending clone request to vCenter.
[2016-01-06 14:09:26,453] DEBUG esx.esx_utils vSphere task completed successfully.
[2016-01-06 14:09:26,526] DEBUG esx.esx_utils vmdict: {'vm-49': 'vCenter', 'vm-58': 'cs-monitoring', 'vm-59': 'cs-update', 'vm-57': 'cs-sdn', 'vm-65': 'cs-mgmt1', 'vm-61': 'cs-mgmt', 'vm-60': 'cs-cloud'}
[2016-01-06 14:09:26,943] DEBUG esx.esx_utils Sending reconfig request to vCenter.
[2016-01-06 14:09:29,038] DEBUG esx.esx_utils vSphere task completed successfully.
[2016-01-06 14:09:29,075] DEBUG esx.esx_utils vmdict: {'vm-49': 'vCenter', 'vm-58': 'cs-monitoring', 'vm-59': 'cs-update', 'vm-57': 'cs-sdn', 'vm-65': 'cs-mgmt1', 'vm-61': 'cs-mgmt', 'vm-60': 'cs-cloud'}
[2016-01-06 14:09:29,301] DEBUG esx.esx_utils Creating vSphere reconfig request.
[2016-01-06 14:09:29,301] DEBUG esx.esx_utils Checking network existence on cluster Cluster
[2016-01-06 14:09:29,346] DEBUG esx.esx_utils Return cluster_list[0] :domain-c7
[2016-01-06 14:09:29,588] DEBUG esx.esx_utils Creating nic specification for network: DC Management Network93f225
[2016-01-06 14:09:29,688] DEBUG esx.esx_utils Creating nic specification for network: Cloud Management Network93f225
[2016-01-06 14:09:29,806] DEBUG esx.esx_utils Sending reconfig request to vCenter.
[2016-01-06 14:09:31,891] DEBUG esx.esx_utils vSphere task completed successfully.
[2016-01-06 14:09:31,931] DEBUG esx.esx_utils vmdict: {'vm-49': 'vCenter', 'vm-58': 'cs-monitoring', 'vm-59': 'cs-update', 'vm-57': 'cs-sdn', 'vm-65': 'cs-mgmt1', 'vm-61': 'cs-mgmt', 'vm-60': 'cs-cloud'}
[2016-01-06 14:09:32,207] DEBUG esx.esx_utils Creating customization request.
[2016-01-06 14:09:32,209] DEBUG esx.esx_utils Setting eth0 for static
[2016-01-06 14:09:32,210] DEBUG esx.esx_utils Setting eth1 (Mgmt Network) for dhcp
[2016-01-06 14:09:32,210] DEBUG esx.esx_utils Sending reconfig request to vCenter.
[2016-01-06 14:09:34,309] DEBUG esx.esx_utils vSphere task completed successfully.
[2016-01-06 14:09:34,354] DEBUG esx.esx_utils vmdict: {'vm-49': 'vCenter', 'vm-58': 'cs-monitoring', 'vm-59': 'cs-update', 'vm-57': 'cs-sdn', 'vm-65': 'cs-mgmt1', 'vm-61': 'cs-mgmt', 'vm-60': 'cs-cloud'}
[2016-01-06 14:09:34,615] DEBUG esx.esx_utils Creating vSphere memory reconfig request; self.mem_mb is: 16384
[2016-01-06 14:09:34,615] DEBUG esx.esx_utils Sending reconfig memory request to vCenter.
[2016-01-06 14:09:36,720] DEBUG esx.esx_utils vSphere task completed successfully.
[2016-01-06 14:09:36,720] INFO csstart.hypervisor_actions Appliance (cs-mgmt1) successfully reconfigured
[2016-01-06 14:09:36,723] DEBUG csstart.hypervisor_actions About to hammer on nics for VM named: cs-mgmt1
[2016-01-06 14:09:36,723] INFO esx.nics Dryrun is False
[2016-01-06 14:09:36,726] INFO requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): vcenter.bitekict.local
[2016-01-06 14:09:36,736] DEBUG requests.packages.urllib3.connectionpool "GET //sdk/vimServiceVersions.xml HTTP/1.1" 200 430
[2016-01-06 14:09:36,923] ERROR esx.nics 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
[2016-01-06 14:09:36,927] ERROR esx.nics Got an error, re-raising
[2016-01-06 14:09:36,937] ERROR start 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

 

 I want support about this error.

Thank You

 

Loadrunner and ZK framework

$
0
0

Hello guys.

I am quite new to loadrunner scripting and am currently working on a scenario using the web-http/html protocol. The application under test has been developed using the ZK framework. Could someone tell me if ZK framework applications can be tested using web-http/html protocol in loadrunner?

I am trying to capture the relevant data, but I am unable to do so. All the data being passed in the web requests look very random, with no relation to the objects I am selecting and the flow of the scenario. Some particular values are changing with every recording, but they are not being returned in the previous requests, so I do not know how to capture them. For instance, in the second request of the script, 3-4 values are being passed which are changing with every recording. (I've recorded the same scenario 2-3 times for comparison). But they are not being returned in the first request. Only a jsessionid is being returned in the first request, which I am capturing and using in subsequent requests. The first request has a very small response, so there is no way I missed those dynamic values. 

Load Runner 11.52 VUGEN Errors While Replay

$
0
0

Hello


I am getting these errors in the script. Its in the middle of the script that while replaying it , I am getting these errors in the 3rd transaction itself. 

And then the vuser_end is called and is getting terminated..


Please help as I got a fixed timeline to create this script asap by my client.


Its a bit urgent.

protocol is HTTP and version is 11.52

TruClient Not Caching Static Content

$
0
0

Hi I have recently been involved in a project which is using the Truclient protocol. 

The scripts are working fine as requested however they do not seem to be caching any of the static content whcih is downloaded from the Application under test.

When I replay the scripts in VU Gen and in the coltroller then the scripts are redownloading all .js .png etc files each iteration for each user.

I have checked with Fiddler and the apache logs and found that caching is working fine when the application is accessed manually through the browswer. Both IE and FF. 

I have also checked the temporary internet files location both for IE and FF when replaying the scripts and can see that none of the content is being saved here when the scripts are executed. 

So coulple of questions

1.) Does Truclient use the same browser cache location as normal IE and FF would do. If not then does anyone know where that it stored these files

2.) Does anyone know wh the data is not cached by truclient but is being cached by the browser. ?

 

Thanks

Loadrunner 12.0 SAPGUI and SAPWeb recording issues

$
0
0

Hi,

I am using Loadrunner 12.0. I need to record/script a busienss process that starts with SAPGUI and subsequently using transaction code (tcode) invokes sapweb and perform some transactions.

Problem: I am able to record the SAP GUI events but not the SAPWEB events

I have used single protocol "SAP Click and script" and SAP WEB but not able to record events. Also i tried the muitple protocol SAP GUI and SAP WEB but only SAP GUI events are getting recorded but not sap web.

Scripting is enabled in SAP Server aplication and SAPGUI.

Any advise will be appreciated.

Thanks

Diff B/w Scheduled by Scenario and Group in COntroller?

$
0
0

Diff B/w Scheduled by Scenario and Group in COntroller?


Average Response time does not match Total Transactions divided by scenario execution time

$
0
0

Capture.JPG

As we can see that the scenario ran for 19 seconds. 

For 2nd Transaction : 

Pass = 3500 

Average Response time : 0.107

Time taken now comes to : 3500 * 0.107 = 374.5 seconds

Which is not possible . Can any one explain the test result above ?

Not able to convert Binary body of Web custome Request into XML using Data Format Extension

$
0
0

Hi,

In my web script so many web custome requests are getting recorded  with binary body.

I tried to convert the body binary into XML using Data Format Extension (LR 12.01) , but Loadrunner is not converting them.I tried all the DFE available in the loadrunner.Please help me. to resolve the issue.

I cannot share the exact webcustome request.

web_custom_request("AppletServiceServlet_21",
  "URL=https://{URL}/AppletServiceServlet",
  "Method=POST",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=application/octet-stream",
  "Referer=",
  "Snapshot=t35.inf",
  "Mode=HTML",
  "EncType=UTF-8",
  "BodyBinary=\\xAC\\xED\\x00\\x05sr\\x00"
  LAST);

 

SAP mobile apps types supported by SMP protocol?

$
0
0

Hello,

Which of the following types of SAP mobile apps are suported by SAP Mobile Platform (SMP) protocol? :

  1. Kapsel Hybrid (via Cordova container with 'Kapsel' plugins)
  2. Native (via native OData frameworks)
  3. Agentry (metadata driven native mobile apps for SAP ECC integration)
  4. Fiori  (SAP's new UX option with pre-built and customizable templates for SAP ECC & non-SAP integrations)

Thank you.

WebService Scripts getting Expected SOAP result, received SOAP fault

$
0
0

I'm getting the following error in a WebService script, any help would be appreciated!  Thanks in advance.

Action.c(12): Error Exceptions:
Action.c(12): System.Exception: Soap error:
Message:Exception of type 'System.Web.Services.Protocols.SoapException' was thrown.
at Mercury.LR.LrWsNetClient.ProxyCreator.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
Action.c(12): Error:<CENTER><STRONG><FONT COLOR=#FF0031>Expected SOAP result, received SOAP fault</FONT></STRONG></CENTER>
Action.c(12): Error:<CENTER><STRONG><FONT COLOR=#FF0031>Failed to retrieve output arguments/checkpoints - SOAP fault occurred</FONT></STRONG></CENTER>
Action.c(12): Notify: Saving Parameter "ProcessPolicyWorkflowActivity_102_Response = ".
Action.c(12): Notify: Saving Parameter "response = <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body><s:Fault><s:Code><s:Value>s:Receiver</s:Value><s:Subcode><s:Value xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</s:Value></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en-US">Object reference not set to an instance of an object.</s:Text></s:Reason><s:Detail><ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><HelpLink i:nil="true"/><InnerException i:nil="true"/><Message>Object reference not set to an instance of an object.</Message><StackTrace> at Logger.NLog20Logger.AddCustomContext(Dictionary`2 additionalFields, LogEventInfo logEvent)&#xD;\n at Logger.NLog20Logger.WriteInternal(LogLevel logLevel, Object message, Exception exception)&#xD;\n at Common.Logging.Factory.AbstractLogger.Error(Object message, Exception exception)&#xD;\n at Guardian.PreSale.Core.Services.PolicyActivityService.ProcessPolicyWorkflowActivity(WorkflowActivityMessage message)&#xD;\n at SyncInvokeProcessPolicyWorkflowActivity(Object , Object[] , Object[] )&#xD;\n at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs)&#xD;\n at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&amp; rpc)&#xD;\n at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</StackTrace><Type>System.NullReferenceException</Type></ExceptionDetail></s:Detail></s:Fault></s:Body></s:Envelope>".
Action.c(12): Error:Web service call "ProcessPolicyWorkflowActivity_102" execution failed

Loadrunner Handling optional webpage not Dialog box

$
0
0

Hi Friends,

I am using LR 12.

Problem: I have a webpage that appears after login that may come or may not come. The webpage displays, if there are any exitiing sessions open and click continue. It is not a Window or dialog box but a webpage. I have recorded/scripted my business scenario with the session webpage that comes after login. 

Scenario 
Login to website -> session webpage -> Homepage
Login to website -> Homepage

I have used web_reg_find to verify, if the session web page is found or not found. If not found, i put a "if condition" to skip the urls for session webpage. The correlation values that are just before session webpage dont work, if i put a conditional if statement.

Kindly advise any suggestions or workaround.

Thanks

 

 

 

 

 

 

 

TruClient failing to replicate actions after several steps

$
0
0

Good morning/Afternoon I'm a LoadRunner script dev for my company and I've hit a frustrating issue that looks to be a defect within the current release model and I'd like to know if anyone has found a workaround.

ISSUE: LoadRunner's TruClient will not perform recorded actions

Steps to Replicate:

  1. Make a Loadrunner TruClient for a large scale webapp with over 300 Steps.
  2. Run test of Loadrunner.
  3. After many steps (Around 100 or so) it will simply stop performing certain actions. In particular it seems to avoid pushing buttons or hitting enter, even though it's set in javascript to correctly identify the element.

Notes: 

The issue seems to be intrinsic to the LoadRunner program. It will occasionally fail to find a portion of the test where it types a "Quote number" (to use the webapp's terminology) into a text field and then does not press enter to search.  Or it fails to press the "New Item" button within the webapp. However the button will react as if something pressed it (changes color) but fails to execute. If the rules are run again the button will successfully execute. This failure to launch is also unable to be replicated in repeating the process without Loadrunner, which strongly suggests this is a LR issue. 

Has anyone encountered this issue and if so, how were you able to get around it? I have already tried the obvious in switching from automatic to JS, to X Path, as ID methods, and it does nothing unfortunately. So I am here to try and seek an answer. Thank you in advance for your time and help.

-Matthew

LoadRunner Generators

$
0
0

Is there a limit to how many load generators can be used on LR 12.50. Also is there a means to bulk load the number of generators onto a scenario.


Unable to record web http/html application transaction

$
0
0

hi support,

i recently insatll latest loadrunner 12..50 since then i am not able to record anything. i was able to access and run through the web application but nothing get recorded, would you please shed some light what i do wrong?

Thanks Very Much

 

we downloaded 12.50 LR version. how to do parameterization in Truclient protocal?

$
0
0

Can you please send good videous/links? we familer only Html/Http protocal only.

Solution to "TCS has stopped working" in LR 12.50

$
0
0

I just re-installed Loadrunner 12.50 on Windows 7 Enterprise (64 bit, HP Laptop) and was trying to record a script with Internet Explorer 11.0.9600.18124, Update Version 11.0.26 (all add-ons disabled) with VUGen. However, upon starting the recording, I get a popup with the error message "TCS has stopped working".

 

Is there an authorative solution to this problem? I do not want to try the dozen of possible solutions floating around in order to get this laptop destroyed again. I want THE single solution to this problem. If this is even possible...

 

Thanks in advance ...

 

Addendum: There see to be a lot of links pointing to this page to turn off IE ESC:

https://blogs.technet.microsoft.com/chenley/2011/03/10/how-to-turn-off-internet-explorer-enhanced-security-configuration/

but I am not able to follow the instructions. Where can I find the "Server Manager Tool"? The windows search box does not find this tool. And how can I be sure that turning off IE ESC does not trigger a million other issues? Maybe this was the reason the laptop crashed in the first place!

How to handle this HP Authentification window during installation of LR 12.50?

$
0
0

I just installed Loadrunner 12.50 on a Windows 8.1 machine, and came upon the following window which is not described at all in the installation instructions:

Capture.PNG

It is in German, although I not have selected any language so far. It looks like I am asked to provide a CA auth key. But I have no idea what to do here!!

I continued the installation by deselecting the first checkbox...

But do I have to do something now? Do I have to provide a CA key or some other kind of authentication in order to make Loadrunner work? What do I need to do?

The window is definitively related to the Ladrunner installation as I saw this window every time I installed Loadrunner, in the most common way possible (no extra configuration, no special setup, ..)

Any help is appreciated!

How to check if login window is present with TruClient?

$
0
0

I am about to develop a VUGen script with TruClient (LoadRunner 12.50; Windows 8.1), and I want to be able to check if a login window is present, which is used to log in to some webpage (firefox 43.0.4). The login window looks like this:

 

Capture3.PNG

 

and what I need is to fill something useful in the "if block" step:

Capture2.PNG

 

What is there to put in besides "true" and "false"? How can I check if the login window is still there? Maybe I can define a function which returns "true" or "false" depending on some check? Can I define a TruClient function that returns a value? And how to use that value in the TruClient script then ... ?

 

 

Viewing all 3978 articles
Browse latest View live




Latest Images