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

Decrypting-correlating-encrypting PGP messages

$
0
0

Hi there,

 

One of the applications that we stumbled up on is a ThickClient Desktop application with WCF Webservices at the backend. We are able to record the communication using LR VuGen 11.52/12.02 which is in the form SOAP Requests.

 

We are facing a big challenge wherein the ThickClient sends out communication via PGP Encryption.

 

-----BEGIN PGP MESSAGE-----
Version: BCPG v1.46

KBRJxQLWTz6CiuqI9pV8pkuA41zdH8czrTOdsa2ChiXvhSjhSFcFNLZ742cZ9rE/
tZ9Fg/4UGaNbC68oZi5OnTzcvP6JxIoUW9mA+xVcmnnbBUq2e7uTbySU2+eAZw9j
1OGYj1ubLVYEq4kNYcauvKpF+XfkoCQxDVfn/5hIzPNUrdIhoNgPlrcosU6ZyMSE
1wG9r3/P1ddnuhdQxn+rdEfxsk7BicJCbeCqaFpovKXbo4M/piquFMN96/Jfnoak
RDc6VweQQMlbovz3v6jVEhXWJnAonVTWY5R2Z3Dz/HRgWkU40OdPb2PQIjvaOsIy
qvQHMdwsn/+m6Pz8QRI9+RsGvvmhwHkE1t82tuqVZbUJL5g5+EZHAeHrbgnIyvgT
DO6A4AO0gzkDwG1ey80skC3Zc77rD6FhzQrnS7Nc2GeQLVRe3PIs10OCMhqDI+n9
fAFaTg93lcU=
=lX0X
-----END PGP MESSAGE-----

Is there a method or process by which we can decrypt such messages and correlate/parameterize required data and then repost the same to server?


Link for Downloading LoadRunner .NET IDE Add In component

$
0
0

Hi,

 

Could you please provide the link for Downloading the "LoadRunner .NET IDE Add In component."

I want to create the script from Visual Studio 2012.

 

Also, Please let me know if there is any knowledge base to create the LR performance test cases From Visual Studio IDE.

 

Thanks

Sam

TruClient for IE cannot find internet explorer 11 on windows 2012 R2 (64 bit)

$
0
0

I have installed LoadRunner 12.0.2 on a Windows 2012 R2 Standard Server (64Bit), which has Internet Explorer 11 installed (by default). I am not able to record a VuGen script with TruClient for IE.

I got an error message that states as the following 

"In order to edit an Ajax TruClient IE script you must have Internet Explorer 9 or 10, and 11  installed on your machine."

Error while uploading SAZ (fiddler session) file into Load Runner (version 11.52)

$
0
0

Hello Load Runner experts,

 

I am facing a small issue while uploading a SAZ file into Load Runner (11.52).  I have a requirement where I need to upload the requests which is captured by fiddler and should work on LoadRunner. Kind of interesting.

 

So,

--> I opened fiddler and captured traffic of my application

--> Saved my fiddler's session to SAZ file

--> Opened Loadrunner and imported the SAZ file

--> Getting "An error has occured" message.

 

I believe there is some proxy issue as load runner might be ignoring the localally registered system proxy. I made attempts to resolve but I was unsuccessfull.

 

Looking for help in regards this.

 

Thanks in advance,

Kantu

Correlation Rule Right Boundary not consistent

$
0
0
Using Loadrunner 11.00 I am trying to create a correlation rule for the dynamic value windowId found when writing a script to an ESS Portal. The issue I am encounterning is the right boundary in the response body is not consistent. One entry ends in " while another ends in ':. How do I handle the changing right boundary when creating the correlation rule?

TrueClient is failing when the load testing is performed by an LG external

$
0
0

is there any reason for Ajax Tru Client IE script goes to failed status during the load test when an external LG is being used? I mean script never run.

Some notes:

-Using local host everything works fine.

-Any Ajax Tru Client IE script is failing even with simple bp (google navigation)

-Other scripts protocol works fine pointing to the same external LG

-LG SA 12.01 is installed, DEP, UAC, Firewall is off and IE is 11 same version script was created.

LR 12.01

 

http://h30499.www3.hp.com/t5/News/Support-Customer-Forums-now-available/m-p/5610181/message-uid/5610181#U5610181

 

TruClient 12.00 - script editing toolbar disabled after stopping execution

$
0
0

I have a TruClient IE script that I developed a couple months back. The application has changed a bit, so I'm going back to edit the script. As soon as the script execution reaches a breakpoint, the editing toolbar essentially becomes disabled. I can't replay from the current step, I can't record new steps, I can't insert transactions, I can't move the slider bar, I can't save the script. All I can do is close the script and then re-open it. Anyone have any ideas what might be going on here?

Testing .NET WebAPI from Visual Studio 2012 iDE and LoadRunner

$
0
0

Hi,

 

I want to Test the .Net Web API from Visual Stusio 2012 (C#)  and LoadRunner.

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

For Example - Using WebServices Protocol I have create the below mentioned webservice and it is working fine also..

 

web_service_call( "StepName=ConversionRate_101",

        "SOAPMethod=CurrencyConvertor|CurrencyConvertorSoap|ConversionRate",
        "ResponseParam=response",
        "Service=CurrencyConvertor",
        "ExpectedResponse=SoapResult",
        "Snapshot=t1435782622.inf",
        BEGIN_ARGUMENTS,
        "FromCurrency=ARS",
        "ToCurrency=DZD",
        END_ARGUMENTS,
        BEGIN_RESULT,
        "ConversionRateResult=Param_ConversionRateResult",
        END_RESULT,
        LAST);

    lr_output_message(lr_eval_string("{Param_ConversionRateResult}"));

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

 

Now the Question is --> HOW can I,  Create the same logic in Visual Studio 2012 IDE using C# language and after creating that script, use it in LoadRunner 12.0

 

Thanks,

Sam


Unable to Generate VuGen Code for Java Over HTTP Protocol for IBM Pelican OFAC app on IE browser

$
0
0
Unable to Generate VuGen Code for Java Over HTTP Protocol for IBM(ACE) Pelican OFAC application using a browser thin-client using Java Applet/AWT . The protocol was pointed out by Protocol Advisor. I have added all the application jar files to the classpath in the Recording Options. Selected the option Prpend CLASSPATH to -Xboothclasspath parameter Additional VM PArameters: -DdumpServerRequests=true -DdumpServerResponses=true -DvalidateServerResponse=false I am just getting the following code generated: Any solutions or help to resolve the issue will be much appreciated. Recording log attached. import com.thoughtworks.xstream.*; import java.io.*; import javaHttpJ.*; import javaHttpJ.parsers.*; import javaHttpJ.replay.*; import lrapi.*; public class Actions { public int init(){ return 0; } public int end(){return 0;} public int action() throws Throwable{ String ENDFORM = "ENDFORM"; String LAST = "LAST"; String ENDITEM = "ENDITEM"; String ITEMDATA = "ITEMDATA"; String STARTHIDDENS = "STARTHIDDENS"; String ENDHIDDENS = "ENDHIDDENS"; String CONNECT = "CONNECT"; String RECEIVE = "RECEIVE"; String RESOLVE = "RESOLVE"; String REQUEST = "REQUEST"; String RESPONSE = "RESPONSE"; String EXTRARES = "EXTRARES"; int _webresult; try{ lr.think_time(0); _webresult = lrapi.web.reg_find("Text=Pelican OFAC\r\n ", new String[]{ LAST}); _webresult = lrapi.web.url("PelicanOfac.html", "URL=https://49.9.134.80:/ace/PelicanOfac.html?ABCD", new String[]{ "Resource=0", "RecContentType=text/html", "Referer=", "Snapshot=t4.inf", "Mode=HTML", EXTRARES, "Url=../favicon.ico", "Referer=", ENDITEM, LAST}) // couldn't decode request from body, couldn't decode response from body ; }catch(Exception e){ e.printStackTrace(); return -1; } return 0; } }

Question about caching.

$
0
0

If I make two recordings back-to-back using IE, will LoadRunner automatically clear the cache before the next recording?

 

I have seen calls for images to be downloaded in the EXTRARES portions of the script, on the 2nd recording, those calls are no longer present.

 

Is there a setting I can tick to make sure that the cache is being cleared each time I record a script?

LoadGenerator use of Multi Core CPU's on Windows Platform

$
0
0

Hi all, just wanted to see if anyone can clarify if LoadGenerators on Windows Platform will be able to use multi core hardware? I know that hyperthreading must be disabled and am trying to understand if Windows OS versus Linux OS will be better use of hardware. Thank you in advance.

How to get web page diagnostic reports for Ajax truclient protocol, LR 11.52 version

$
0
0

Hi All,

 

Is there any way to get web page diagnostic, component report for ajax truclient protocol using Loadrunner 11.52 version?

If yes, please tell me. Otherwise will it support for Loadrunner 12.02 version?

Issue with LR license import after machine's re-imaging

$
0
0

Hi,

 

We have 2 Windows  server 2003 machine that had permanent LR license. One machine had LR 9.5 and the other one had 11.0. Since the machines were on quite an old OS, we were asked by org's IT team to get it re-imaged. We exported LR license (Registry - License 2) before sending it for reimaging.  Windows server 2008 was installed on both these machines. 

We have 2 issues now. 

 

1.  We installed the latest LR , i.e. 12.02 on one machine, but the old licenseisnt being recognised even after importing of the registry key.

2. We assumed that the above problem is due to 12.02 not identifying old licenses. So, we installed LR 9.5 on the second machine and imported the license on it. Even on this machine, license is not recognised. We were in an impression that license is mapped to MAC id of the machine. After re-imaging, MAC id of the machines remains the same.

 

Kindly suggest what should be done.

 

Thanks & Regards

Nairiti 

How to add two Web_reg_param_save value and insert that value to new field

$
0
0

This is how my replay Looks like

 

Generate_Order_Images.c(121): Notify: Saving Parameter "pNamePlate_1 = Buick".
Generate_Order_Images.c(121): Notify: Saving Parameter "pBrandName_1 = Regal".
Generate_Order_Images.c(121): Notify: Saving Parameter "pNamePlate_2 = Cadillac".
Generate_Order_Images.c(121): Notify: SavingParameter "pBrandName_2 = XTS.".

 

 

 I want to  enter the  Buick/Regal to new field .

 

Kindly suggest what should be done.

 

Regards

Bigal prasai 

 

 

 

 

 

 

Issue with recording in private mode browser...need urgently help pls

$
0
0

I am having trouble with recording the following route (privateapp)-(public app)-(Privateapp) using VUGEN. The issue is that the Private App is only acccessible when we connect to the VPN, and so the respective proxies have been automatically added to my browser. Now when I start my VUGEN recording it always opens up the browser like Chrome in incognito mode...i wonder why does it do that ? Can anyone help me to let me know the settings which would help me open the browser in a normal mode and not a private browsing mode.


LR Support Tip: The Citrix Registry patch failed to installed. Reason:Access is denied.

$
0
0

While replaying a Citrix script, the replay fails due to the error

"Error: The Citrix Registry patch failed to installed. Reason:Access is denied.
You need to install the following registry patch manually:<Loadrunner installation folder>\dat\Enable_Citrix_API.reg. Double click the file to install the registry patch."

 

 

The issue is due to no entry was made for VirtualChannels and AllowSimulationAPI in Wow6432Node\citrix Node of registry.

 By default, registry entries for 32 bit clients on 64-bit OS will be done in Wow6432Node.

 

 

 

Follow the steps to fix the issue:

1. Right click on the Enable_Citrix_API.reg located under <LR Install Dir>/dat folder and select Edit.

2. Modify the Entries HKEY_LOCAL_MACHINE\SOFTWARE\Citrix to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix which forces the entries for 32 bit clients on 64-bit OS.

 Example:

Before Modifitication:

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC]

"VirtualChannels"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\CCM]
"AllowSimulationAPI"=dword:00000001

After Modifitcation:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix \ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC]

"VirtualChannels"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\CCM]
"AllowSimulationAPI"=dword:00000001

"Can't create script object" error with Java Protocol

$
0
0

Hi,

 

In a Java Over HTTP script, when I try to use a List object, I get this error:

Error: 	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at DummyClassLoader.loadClass(DummyClassLoader.java:15)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at ScriptFactory.getScriptObject(ScriptFactory.java:51)
Error: Can't create script object.
Error: Exception was raised when calling abort-cleanup function in extension java_int.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Warning: Extension trans.dll reports error -1 on call to function ExtAbortCleanup
Notify: Found jdk version: 1.7.0.
Notify: classpath=C:\Users\ng35320\Documents\SharpDevelop Projects\JavaHTTP2\;c:\program files (x86)\hp\virtual user generator\classes\srv;c:\program files (x86)\hp\virtual user generator\classes;;;;c:\program files (x86)\hp\virtual user generator\lib\xstream-1.3.jar;c:\program files (x86)\hp\virtual user generator\lib\xpp3-1.1.4c.jar
Notify: Path=Z:\REPOSITORY\TeamBAC_Tools\Java\jdk1.7.0_79\jre\bin\client;Z:\REPOSITORY\TeamBAC_Tools\Java\jdk1.7.0_79\bin;C:\Program Files (x86)\HP\Virtual User Generator\Bin;C:\Program Files (x86)\HP\Virtual User Generator\Bin\tulip\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft Application Virtualization Client;C:\strawberry\c\bin;C:\strawberry\perl\bin;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Java\jre1.6.0_24\bin;C:\Program Files (x86)\HP\Virtual User Generator\strawberry-perl\perl\bin;C:\Program Files\Oracle\product\10.2.0\client10g\bin;C:\progra~2\oracle\product\10.2.0\client_1\bin
Notify: VM Params: .
Notify: Picked up _JAVA_OPTIONS: -Xmx512M

Error: 	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at DummyClassLoader.loadClass(DummyClassLoader.java:15)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at ScriptFactory.getScriptObject(ScriptFactory.java:51)

Error: Can't create script object.
Error: Exception was raised when calling abort-cleanup function in extension java_int.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Warning: Extension trans.dll reports error -1 on call to function ExtAbortCleanup

I get this error with VuGen 12.02 and 11.52, but it's working fine with VuGen 11.04

I also tried with JDK 1.6.0_24 and 1.7.0_79, with no success.

 

The code is very simple:

import lrapi.lr;
import java.util.*;

public class Actions
{
		List<String> lst;

	public int init() throws Throwable {
		return 0;
	}//end of init


	public int action() throws Throwable {
		List<String> lst = new ArrayList<String>();
		return 0;
	}//end of action


	public int end() throws Throwable {
		return 0;
	}//end of end
}

 

Thanks in advance

 

Analysis summary report not showing the transactions table

$
0
0

I am able to successfully run the test from performance centre. After that I download the raw results and I double click the lrr file. In the report that gets generated I do not see the transactions table under summary report. Please let me know what could have gone wrong. Also, when I get this, is there any way to get the transactions table like getting the files from load generators, controller etc.

 

Ananlysis version - 11.52

Perf centre - 11

 

 

Any suggestion is appreciated.

 

 

 

 

Not able to monitor running script

$
0
0
I have created a script with LR 11.00 that logs into an ESS Portal, views the W2 Online hyperlink and then logs out. The script shows as succesful when replaying however when the BASIS team is monitoring the Portal they are unable to see the user on the script accessing the portal. Note from BASIS team on monitoring tool: We’re using SAP AS JAVA 7.31 platform with enterprise portal. All outbound request from the web browser (IE) goes through our web dispatcher ( SAP WEB Dispatcher version 7.42) who routes the request to the portal and the ECC system. I’m basically using the admin functions on the portal to see what user comes and in ECC who is logged in. I’m doing a simple comparison between a user logging where I can see the user on the portal and at the same time in ECC. When I look for the user utilizing the script that you created I do not see a session on the portal and in ECC. Is this a setting in the script that is preventing the BASIS team from seeing the script log in? Help is greatly appreciated.

Truclient failing in interactive mode but passing in load mode

$
0
0

I am seeing a strange behavior in the 12.02 where my Truclient FF script appears to be failing in interactive mode when it goes from INIT to ACTION. From the interactive browser, i see that its returning an empty page when it goes from INIT to ACTION section. However, when i run the same script in the load mode, it works fine. 

I thought it was related to cookies as in some postings, i see folks alluding to TRUclient private session somehow not saving the cookies between INT and ACTION. So i added the cookies and it still fails in the interactive mode but passes in the Load mode like before. The only time it works in the interactive mode is if i have everything in the ACTION portion and quit using INT and END. Any ideas?

Viewing all 3978 articles
Browse latest View live


Latest Images