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

Re: Load runner controller request channel timeout

$
0
0

Hi,

 

I see 324 views on this issue and no replies at all. I am running into the same issue on PC 11.52.

 

Is there additoonal information on this issue? Also, how could I contact the orogonal poster and check

to see if he evr resolved the issue?

 

Thanks,

Patrick Mayhew


Re: Could not record citrix application from Vugen 11.0

$
0
0

Problem  

While recording an application published in the Citrix Web Interface -- when the application icon is clicked, the application may either not launch, or the IE browser may "silently disappear" and no application will be presented.

VuGen may or may not exit.

The application can be recorded using an ICA file as a single-protocol ICA script, and the Web-based portion of the business process prior to the Citrix application icon being clicked can be recorded as well without issue using a Web http/html or Web http/html + Citrix ICA script.

It has been determined already that the standard checks have been already done -- for example, that Microsoft Data Execution Prevention (DEP) is disabled, and hyperthreading (if enabled) is disabled, and that security software is disabled as much as possible, as well that the Citrix server and Citrix Client and Citrix versions and client and Citrix server platform/OS releases are supported by LoadRunner.

In this situation, it may not be possible to completely disable the security software ; with no exception dialog seen, nor windows event logs showing any hints as to why IE and/or the AUT and/or VuGen has disappeared, there is little evidence to prove what is at fault.

Cause  

This is most likely caused by anti-malware or anti-virus software, for example, Cisco Personal Firewall, or McAffee.

When recording a Web http/html script, VuGen used "injection" hooking techniques to instrument the application under test (AUT).  These mechanisims may lead the anti-virus/anti-malware software to believe the browser and/or VuGen or the AUT has been compromised, and the security software may "silently close" the AUT, the IE browser trying to launch the AUT, and/or VuGen itself.

Oppositely, recording a single-protocol Citrix ICA protocol uses a completely different technique -- implementing the Citrix APIs ; in this case, the hooking technique is not needed.

 

Fix  

The workaround involves creating two recordings/scripts:

- A Web HTTP/HTML single-protocol script to record the Web portion of the business process and to dynamically capture the ICA file which comes back from the server in a response to a request.

- A Citrix ICA Single-protocol script to record the ICA portion of the business process, implementing the dynamically-captured ICA file.

The recorded scripts are joined together and the code is modified, to dynamically capture the ICA file and to then use it to connect to the AUT and to exercise the Business Process.

This workaround avoids the recording issue in the Web portion, and allows an ICA file to be downloaded dynamically from the server to the client each time it runs, as would be the case if this issue did not exist.

NOTE: For purposes of this demo, this solution demonstrates all of the code being recorded into the Action() block.  You may want to arrange your code differently.

1. Create a Web http/html script, and record the business process including the click on the icon of the published Citrix application.  Since this script does not include ICA, the Citrix AUT will not launch.

2. Stop the recording, and add these two variable declarations at the top of the Action() block:

Action()
{
    int fp;
    char * icafile;

3. In the recorded script, near the end, you should find a statement similar to this which is the result of your click on the application icon (note this script used URL-mode, yours may be different):

 web_url("launcher.aspx",
  "URL=http://myCitrixServer.com/Citrix/AccessPlatform/site/launcher.aspx?NFuse_Application=Citrix.MPS.App.PCFARM.Calc_Virtpc1&LaunchId=1259608978284",
  "TargetFrame=",
  "Resource=1",
  "RecContentType=application/x-ica",
  "Referer=http://myCitrixServer.com/Citrix/AccessPlatform/site/applist.aspx",
  "Snapshot=t6.inf", 

  LAST);

4. Add this code above the web_url in step 3 above, to capture the ICA file resulting from the request:

  web_reg_save_param("icadata", "LB=WFClient", "RB=", LAST);

5.Add this code below the web_url() to save the ICA file to a local disk:

  icafile = (char *)malloc(strlen(lr_eval_string(" {icadata}")) + 100);
  sprintf(icafile,"[WFClient%s",lr_eval_string("{icadata}"));
 
fp = fopen("C:\\\icafile.ica", "w");
 
fprintf(fp, icafile);
 
fclose(fp);

6.  The completed code should look like this:

Action()
{
    int fp;
    char * icafile;

// ...
// ... Other recorded code removed to improve clarity of this KB
// ...


 web_reg_save_param("icadata", "LB=WFClient", "RB=", LAST); // Added: will save the returned ICA file data in a parameter

 web_url("launcher.aspx",  // As-recorded ; this results from clicking the application icon
  "URL=http://myCitrixServer.com/Citrix/AccessPlatform/site/launcher.aspx?NFuse_Application=Citrix.MPS.App.FARM.Calc&LaunchId=1259608978284",
  "TargetFrame=",
  "Resource=1",
  "RecContentType=application/x-ica",
  "Referer=http://myCitrixServer.com/Citrix/AccessPlatform/site/applist.aspx",
  "Snapshot=t6.inf",
  LAST);

// code below saves the parameter data onto the local C:\ drive, as an ICA file.

 icafile = (char *)malloc(strlen(lr_eval_string(" {icadata}")) + 100); 
 sprintf(icafile,"[WFClient%s",lr_eval_string("{icadata}")); 
 fp = fopen("C:\\\icafile.ica", "w"); 
 fprintf(fp, icafile); 
 fclose(fp);
 
 return 0;

}

7.  Replay  the modified script, which will save the ICA file to the local disk. 

NOTE: You will next use this ICA file to record the Citrix ICA portion of your script. Ensure any errors are resolved before moving on.

8. Edit the saved ICA file with a text editor, removing the line "RemoveICAFile=yes" from the ICA file, if it is present.  Save the ICA file, exit the editor. 

9. Ensure you can use this ICA file to launch your Citrix AUT (outside of VuGen).  If your Citrix Program Neighborhood ICA client is installed properly, you should be able to double-click on this ICA file with Windows Explorer to launch this Citrix application.

10. Next, create a new, single-protocol Citrix ICA script.   In the recording options, use this ICA file saved earlier, and record the complete Citrix portion of your Business Process.

11. After recording the Citrix ICA portion, stop recording and examine the script.  In the Action() block, you will see reference to the ICA file in the ctrx_set_connect_opt() call:

 ctrx_set_connect_opt(ICAFILE,"C:\\\icafile.ica"); // this is the ICA file you captured to disk.
 
ctrx_wait_for_event("LOGON", CTRX_LAST);
 
lr_think_time(5);

//The code below is just a simple example, an AUT being launched and exited. 
//Your Citrix Business Process recording may produce more code.

 ctrx_sync_on_window("Calculator", ACTIVATE, 88, 88, 261, 253, "snapshot1", CTRX_LAST);
 ctrx_obj_mouse_click("<class=SciCalc >", 249, 8, LEFT_BUTTON, 0, "Calculator=snapshot2", CTRX_LAST);
 ctrx_disconnect_server("”ô\x12", CTRX_LAST);
 
return 0;
}

12. Ensure this Citrix portion of your business process replays properly before proceeding. 

13. Now, create a new Citrix ICA + Web http/html multi-protocol script.

14. Copy the Web HTTP/HTML script you replayed to capture the ICA file -- into the top of the Action block. 

15. Copy the Citrix ICA script code you recorded in the Citrix part, appending it to the end of the Action block (note : the full example not included here for simplicity).

16. Replay this script ensuring it replays successfully.  Each time the script runs, it should dynamically download the ICA file to disk.

NOTE:  If the merged Web+Citrix ICA script fails during replay with the following error immediatly:

Error: Failed to get window size, wrong format.
Citrix client replay version 11.0.0.5357 , record version
Warning: Extension CitrixClientImpl.dll reports error -1 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension CitrixClientImpl.dll.
Vuser Terminated.

For details on the above error, please see the following:  KM886125 - Error during Citrix + Web multi protocol script replay

 

 

 

 

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

 

Re: How to fix the specail charectors from lr_xml_extract output on Loadrunner 11.5 ?

$
0
0

I am also receiving similar error, please suggest how to resolve.

 

Here is the xml extract i am getting with trailing spl characters

<productInstance><componentHeader><productInstanceId>211574..........

</catalogItem></offerDefinition></productInstance>õÂNAK DC4a˜EOT

 

Please advise if I should attach entire reponse.


lynot wrote:

HP has supplied us a fix for this and a memory violation issue in the same module.  The fix is conatined in a new version of LrXml.dll dated 11-13-2013.

 

Hope this helps.


 

Re: How to fix the specail charectors from lr_xml_extract output on Loadrunner 11.5 ?

$
0
0

the spl characters were appended due to output format (by default it was locale) in lr_xml_extract()

I just entered optional parameter in the lr_xml_extract() and soap request went through.

 

    lr_xml_extract("XML={response_1}",
                   "Query=/Envelope/Body/getOrderDetailList/orderActionHeader",
                   "XMLFragmentParam=ParamXml_OrderActionHeader",
                   "OutputFormat=utf-8",
                   LAST);

Loadrunner functionality queries

$
0
0

Hi friends,

 

We have some queries about Loadrunner functionality, can you please provide us some information.

 

1.Facility to debug/validate the root cause for error in the test run at application development / source code level

 

2.Automated Roll-back / integration of a fail-over plan

 

3.Flexibility to define distribution or combination on type of users, test transactions and source of transactions etc.  

 

Thank you for your time

 

Duy

 

Re: Raw Data doesnot shows

$
0
0

Hi,

 

I couldnot fine the RawDataLimit  parameter in Generalsettings.txt

 

 

See the attached tx document.

 

Please advise!

 

 

 

Thanks,

Raj

 

Re: HP Sitescope for Loadrunner available monitors for performance testing

$
0
0

Hi Vesela,

 

The link you provided links to this thread.

If you have another link, I appreciate that.

 

Dennis

Re: HP Sitescope for Loadrunner available monitors for performance testing


Re: in RTE protocol exit is not happening giving timeout error

$
0
0
this issue is resolved
int i=0,xStartPos=0,yStartPos=0,xEndPos=0,yEndPos=0,lineNo=0,xPos=0,yPos=0,row=1;
char gettext[200];
TE_type("cd path\<kReturn>");
TE_wait_text("patterntwait>", 90,1,yStartPos+1,80,200,&xStartPos,&yStartPos);
TE_wait_sync();
TE_type("g.ack<kReturn>");
TE_wait_text("patterntwait>", 90,1,yStartPos+1,80,200,&xEndPos,&yEndPos);
for(lineNo=yStartPos+1;lineNo<yEndPos;lineNo++)
{
TE_get_text_line(1,lineNo,-1,gettext);
lr_output_message("%s",gettext);
}

Re: HP Sitescope for Loadrunner available monitors for performance testing

$
0
0

Hi Vesela,

 

You are excused. :-) 

I am not sure if this answers my question.

 

In the documentation "SiteScopeMonitorReference.pdf" there is a complete list of monitors.

I would like to know if I can use all of these monitors?

Or are these monitors grouped into a solution template and therefor can not be used?

 

I think I have to install SiteScope for Loadrunner first and see if I can cope with the provided 'free' Monitors.

It looks likes nobody can answer this question.

:-(

 

Dennis

Json run time values could not get, is corelation works here in VuGen11.0 ?

$
0
0

In normal HTML viewsource I am unable to get values, these values are coming from Json function during run time and displayed on page

 

I am using VuGen 11.0, I googled about co-relation and parameterization, can I apply this concept in VuGen 11.0, right now I am unable to set params in VuGen11.0, so please advice correct version of VuGen

Re: IP wizard does not support DHCP - enabled networks

Re: Json run time values could not get, is corelation works here in VuGen11.0 ?

$
0
0

LoadRunner 11.0 has no problems with JSON. Have a look at the generation log and create the correlations from there.

Re: Exception thrown when calling Analysis.API on .NET

$
0
0
Open Excel, right click on Tab displayed at the excel footer. Select View code option. Select reference option in VBA code pane, Check "LR Analysis" check box option. That's it. Thanks

Virtual User Generator

$
0
0

Hi, 

 

Is someone aware what is the latest version of HP Business Process Manager which is compatible with Vugen 12 in load runner? I need the same as part of an upgrade we are carrying on right now. any help is appreciated.

 

Regards,

Santosh.


Re: Virtual User Generator

$
0
0

guys anyone who can point me to a start? I am stuck with this now.. :(


U401636 wrote:

Hi, 

 

Is someone aware what is the latest version of HP Business Process Manager which is compatible with Vugen 12 in load runner? I need the same as part of an upgrade we are carrying on right now. any help is appreciated.

 

Regards,

Santosh.


 

Re: Virtual User Generator

$
0
0

I would suggest to confirm this by posting it in the APM/BAC/BPM Forum.

Re: Recording Simcorp Dimesion (SCD) 64 bit app using Loadrunner

$
0
0

Hi,

 

As a customer you can try to post your question in the LoadRunner Support Customer forum at http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

 

When you are trying to find the protocol which needs to be used during recording it is very important to know the communication protocol which is used in the communication between the client and the server: is it http, tcp, etc.  Is the client part web-based or it is a desktop application? What technologies it is using, etc.

 

In your case as far as I see from the case it is 64 bits app which is using TCP/IP to communication to the application server and a normal oracle client to connect with the database.

 

So your options will be to use a protocol which

  1. supports 64 bit recording as per http://support.openview.hp.com/selfsolve/document/KM00429332
  2. and (TCP/IP) communication

 

As far as I see you have tried windows sockets and Oracle – 2 Tier which meet the requirements listed above i.e 64 bit application recording and (TCP/IP) communication.

 

In case you do not manage to record your application  with the standard VuGen protocols you can use as a workaround gui-based protocols such as RDP and Citrix. In this case you will be able to run comparatively small number of Vusers during the load test.

 

Kind regards,

Re: Documentum Application - Google Web tool Kit (GWT) 500 server Error

$
0
0

Hi,

 

Please open a case with support. The issue will require the script to be reviewed in more details.

 

Kind regards,

Re: Loadrunner functionality queries

$
0
0

Hi Duy,

 

  1. Functionality to debug/validate the root cause for error in the test run at the application source code level is provided by another HP product - Diagnostics which can be integrated with LoadRunner. You can find additional information in the following link http://www8.hp.com/us/en/software-solutions/software.html?compURI=1175730#.U0KkWXft7Sg 

2.  Can you please explain in more details question number 2?

 

3.  There is flexibility and it is also important what exactly you are trying to achieve.

For example you are able to simulate different users by parameterizing the log in credentials.

You can record different scripts for the different type of users. Then you can include and run them in one scenario in the Controller.

If there are common parts of the business processes, performed by the different user types you can give them the same transaction name. In this way you will gather aggregated information for this transactions in Analysis.

In Analysis you can use different filters depending on the graph you are using to extract the information you need. For example in Average Transaction Response time graph  you can use filter such as: script name, group name, vuser ID, etc.  

 

Additional information about LoadRunner functionality is available in the LoadRunner Tutorial and LoadRunner User guides for the version of LoadRunner you are using.

 

Kind regards,

Viewing all 12134 articles
Browse latest View live


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