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

lr_get_transaction_status () not working

$
0
0

Hi Experts,

 

I am trying to use the lr_get_transaction_status () on a LR12 script but for some reason I am not able to use it as the help example describes.. This is the example:

 

 

if (lr_get_transaction_status() == LR_FAIL) {

     /* web_url has failed the transaction. No point in continuing, 
      * because future calls will probably fail too */
     lr_end_transaction("Flight", LR_FAIL);
     return;
}

 

 

 

So I am trying the same syntaxes but the VuGen says: insufficient number of arguments to "lr_get_transaction_status" however if I type the name of an open transaction it works. For example:

 

 

 

if (lr_get_transaction_status(“Transaction1”) == LR_FAIL) {

     /* web_url has failed the transaction. No point in continuing, 
      * because future calls will probably fail too */
     lr_end_transaction("Flight", LR_FAIL);
     return;
}

 

 

Does anyone know if it is possible to get the lr_get_transaction_status () working without specifying the open transaction name manually?

 

I’ll appreciate your help and comments.


I am finding Difficult to record the Business flow with Vgen

$
0
0

Hi Experts,

 

I am finding it difficult to record a Business flow.

Everytime it is popping up the"Could not create the java virthual machine".

The url is accessble manually from the same machine.

 

Any thoughts or has this been experienced and resolved by anyone in this forum.

 

Regards

Ashok

lr_set_transaction () not working on LoadRunner 12

$
0
0

Hi Friends,

 

I am working on a script where I need to manually set a transaction with a transaction time (ping response), but I see that the function lr_set_transaction is not working on CVuser protocol in LoadRunner 12. Please let me know if the function is supported for LoadRunner 12?

 

the syntax I am using is as below:

 

lr_set_transaction("new",12.13,LR.PASS);

 

any help is greatly appreciated.

Does Loadrunner 11.50 support 64 bit JDK?

$
0
0

Hi,

 

I am running a Java Vuser script in a 64 bit JDK Load generator, but I'm getting errors.

 

Error Message: "Error: Failed to compile the Actions.java file."

 

So I would like to know whether LR 11.50  support 64 bit JDK.

 

Thanks,

Sivakumar S

Load Gen Install on W2K8 Srvr Datactr SP2 - problem with install failure

$
0
0

Hello...

 

I am a relative noobie to LR and recently was assigned the project to move our V11.00.00 LR system consisting of 4 servers - 2 Controllers and 2 Load Generators from hardware to virtual in a private cloud.

 

The installation of the Controllers was straight forward with no issues. I have patched them and they appear to be working as advertised.  However, when I attempted to install LR Load Generator on the remaining two servers, I was presented with an error during the prerequisite program installation phase.  Though the server has >30GB of free space, I am presented with a dialog box (Setup Error) that states: "Not enough storage is available to process this command." 

 

I reviewed the application event logs and found that  the Microsoft Installer app version the installer is attempting to install is V3.1 which conflicts with the server OS version of msiexec which is 5.x.   Has anyone determined a workaround for this or is someone available who could help me get past this part of the install?

 

I realize that I am not at the latest version of LR (nor can I be due to budget constraints) so what I am looking for is a way to complete the Load Generator install on the two servers within those boundaries.

 

Thank you ahead of time!

How to define which resources(gifs,images,js) should be listed in EXTRARES

$
0
0
  1. When I record a script by running a page, some URLs in EXTRARES are displayed in web_url.
  2. Compared the URLs in EXTRARES with the the gifs, images and javascripts in “Resources” tab in Chrome Devtools, we can found that lots of URLs were shown in “Resources” tab but not in EXTRARES.
  3. I think lack of those resources will cause less load generated to Web server.

Could you please let me know why those resources were not captured by LR ?

monitor websphere with loadrunner 11.52

$
0
0

I want to monitor the websphere 7 using loadrunner11.52.
When I open controller, no websphere monitor in available graphs, only MS IIS and Weblogic monitor can be selected.
But it works fine in LR9.5
the question is, does loadrunner V11.5 support websphere application server monitor? If can, how to make it?

 

Thanks

pageant keys include in RTE protocol conflicting for different scripts

$
0
0

Hi,

I am using RTE protocol and there is PPK key used to login on unix putty,  for different servers I am inserting different ppk keys in repository called pageant, now from RTE I am running script, this script is running fine but when I add new ppk key in repository (pageant) it is conflicting with other scripts

 

So is there any provision that key will get disposed off once used in script and I do not want to mantain pageant repository all the time on server


Loadrunner Analysis - adding external transaction results

$
0
0

Hi,

 

is there a way that I can add external transaction results into LR Analysis?

 

 

I see that I can add an external monitor, but they do not provide me with percentile values.... is this possible with external monitors.

 

I am using LR11.

 

 

Thanks

DFES JasonXml doesnot handle 2-byte characters

$
0
0

While using web_reg_save_param_xpath with JsonXml DFES; the 2-byte characters the the response are not handles properly e.g.

 

Response JOSN

"TranslatedTemplateName": "名前 名前 名前 名前",

 

Converted to 

<pair type="str" name="TranslatedTemplateName">Ã¥&#144;&#141;Ã¥â\x80°&#141; Ã¥&#144;&#141;Ã¥â\x80°&#141; Ã¥&#144;&#141;Ã¥â\x80°&#141; Ã¥&#144;&#141;Ã¥â\x80°&#141;</pair>

 

Is there a setting to handle this?

 

ATTENTION: LoadRunner Online Expert Day on July 29, 2014!

$
0
0

Hello Everyone,

 

 

LoadRunner is hosting an Online Expert Day on July 29, 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 July 29th when HP product Experts will be online for 12 hours to answer any questions regarding the following topic:

 

 

LoadRunner v12.00 New Features

 

 

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 July 29th 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 July 29th 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,

 

Michelle

HP Software Online Support Services

Correlation of a ID Session

$
0
0

Hi,

Im trying to correlate an id session like this:

jhihbt45bt54bt54jh6%fgnkdjgndfjg5464t%kdsmfndkfg

% symbol its getting problems creating regular expression in a web_reg_save_param_ex. How can I set this regular Ex?

Could you please help me, it's very important and I'm a begginer.

Thanks a lot.

Help !!! Vugen MAPI Protocol with BPM

$
0
0

Hello all,

 

I am trying to monitor the response time using BPM for 

1.Launching Outlook

2. Sending Email

3. opening calender

 

Qn.1) I wrote a sample script using MAPI protocol for launching and sending mail. How can I add a new transaction to Open an outlook calender?

 

Qn 2) The script has an outlook profile configured. How can i run the script from BPM with  user's outlook profile?

Currently when I run from BPM, it is throwing error saying it is not able to connect to the outlook profile. Do we need to install Outlook on BPM machine?

 

Thanks for reading my post. Appreciate your help

 

Thanks,

Sreeja

 

 

how we change the controller server's

$
0
0

We have valid loadrunner licence running on the server.


We are in the process of changing the server s where the load runner controller are installed on it.

 

is there any way to do it,

 

 

we dont have the support from HP

Help Me to work on HP LoadRunner

$
0
0

Hi,

 

I am New to HP LoadRunner (Performance Testing). Just now i started HP LR 12.0

 

I am facing a problem. I had created a Login / Logout script for website in HP Vuser Generator,

after this when i am running this script in HP LoadRunner Controller then it taking very much time to complete as compare to HP Vuser Gerator.

 

 

HP Vugerator taking: 1 Minute 20 sec.(Single User)
HP LoadRunner Controller taking: 5+ Min (Single User)

 

Could you guys help me what and where i am doing wrong.

 

 

Regards,
Sanjay Bansal

sa.bansal09@gmail.com


replay is success only for the recorded user and not for other users.

$
0
0

I recorded the script as follows: 

1. Login

2. Edit record and Save the changes

3. Logout

correlation is done. Parameterized userid and other details (input from file). 

Replay was success with the user that i used while recording, but, if i use another user, it is failed. 

Login transaction - passed

Edit transaction - passed

Save transaction - failed.

 

Analysed the log file. while saving the record, the redirection request is missing and it is failed. any help / idea what could be done to resolve this issue?

 

Success Log file says:

AuditEngagement.c(507): Notify: Transaction "AuditEngagement_SaveRecord" started.
AuditEngagement.c(509): web_reg_find started [MsgId: MMSG-26355]
AuditEngagement.c(509): Registering web_reg_find was successful [MsgId: MMSG-26390]
AuditEngagement.c(515): web_reg_save_param_ex started [MsgId: MMSG-26355]
AuditEngagement.c(515): Registering web_reg_save_param_ex was successful [MsgId: MMSG-26390]
AuditEngagement.c(525): web_submit_data("Record.aspx_3") started [MsgId: MMSG-26355]
AuditEngagement.c(525): Redirecting "http://10.5.153.77/RSAarcher/GenericContent/Record.aspx?id=236686&moduleId=271&levelSelection=19&RecordSet=True&pr=7b757b80a99f4d43aa5f21b9cdd831e0" (redirection depth is 0) [MsgId: MMSG-26694]
AuditEngagement.c(525): To location "http://10.5.153.77/RSAarcher/SearchContent/Search.aspx?View=All&moduleId=271&reportId=6193&formatType=Column&isNavMenuReport=true&isNavMenuFirstLevelRestricted=False&pr=d76b34202dce4737a51f213a45bde175&frameWidthHeight=1382%2c586&rr=7b757b80a99f4d43aa5f21b9cdd831e0" [MsgId: MMSG-26693]
AuditEngagement.c(525): Resource "http://10.5.153.77/RSAarcher/StyleResourceHandler.axd?p=QXVkaXR2NXx-L1NlYXJjaENvbnRlbnQvU2VhcmNoLmFzcHg1&t=1269572395565600000&ArcherVersion=5.5.10000.1084" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]

 

 

Failed log file says:

AuditEngagement.c(507): Notify: Transaction "AuditEngagement_SaveRecord" started.
AuditEngagement.c(509): web_reg_find started [MsgId: MMSG-26355]
AuditEngagement.c(509): Registering web_reg_find was successful [MsgId: MMSG-26390]
AuditEngagement.c(515): web_reg_save_param_ex started [MsgId: MMSG-26355]
AuditEngagement.c(515): Registering web_reg_save_param_ex was successful [MsgId: MMSG-26390]
AuditEngagement.c(525): web_submit_data("Record.aspx_3") started [MsgId: MMSG-26355]
AuditEngagement.c(525): Resource "http://10.5.153.77/RSAarcher/StyleResourceHandler.axd?p=QXVkaXR2NXx-L0dlbmVyaWNDb250ZW50L1JlY29yZC5hc3B40&t=1269572395565600000&ArcherVersion=5.5.10000.1084" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
...

...

...

AuditEngagement.c(525): Error -26366: "Text=
Audit Engagement: Search Results
" not found for web_reg_find [MsgId: MERR-26366]
AuditEngagement.c(525): web_submit_data("Record.aspx_3") highest severity level was "ERROR", 342150 body bytes, 577 header bytes [MsgId: MMSG-26388]
AuditEngagement.c(525): Notify: Transaction "AuditEngagement_SaveRecord" ended with "Fail" status (Duration: 2.6627 Wasted Time: 0.0225).

Firefox does not show TruClient editor, just empty FireFox window

$
0
0

I have created several scripts with Ajax Truclient 11.52 with FireFox. I have saved them in ALM 11.52, loaded them back into VUGen, modified them serveral times, etc.

 

For 2 of these scripts I can no longer edit them. They load into VUGen, I can run them there, but when I click on the "Develop Script" button in VUGen an empty FireFox window opens - no TruClient sidebar, nothing but a blank FireFox window. I have no idea why these particular 2 scripts are failing to load into FireFox.

 

I have updated my VUGen to the latest using the Help -> Product Update function, and (based on some web research) I tried deleting my ...\AppData\Roaming\Hewlett-Packard\LoadRunner\Web2 folder. Makes no difference, still get an empty FireFox window.

 

Note this is specific to two of my scripts... the other open and edit in FireFox with no problem, so there is something about these particular scripts. I have many hours of development in these scripts and they are now useless.... please help!

 

-Mark

not able to record the java windows application

$
0
0

Hi All,

 

Iam trying to record the windows Java based application using LR11.52.

 

I tried to analyse the application using protocol adviser, but getting the error "Failed to create the java virtual machine" and some times "unable to find application path" error also coming.

 

Please help if any one come accross this issue.

GWT DEF error in LR VU gen

$
0
0

hi,

Greetings every one. iam facing the issue when i try to run the GWT based scritp. it is configured properly with .war file but getting the error while replay.

"Action.c(67): Error -27040: Data Format Extension: Extension: GWT - GWT DFE ERROR: The following class is missing in the GWT DFE configuration: javax/servlet/ServletInputStream.
Make sure the used GWT DFE chains are configured correctly, including all .JAR, .CLASS and .GWT.RPC files used by the GWT application.
See the LoadRunner documentation for details.
[MsgId: MERR-27040]"

 

please help me 

Issue with webservice script

$
0
0

 We are working on Load runner version11.00 .We have some issues with web service script.

Here the steps what we are doing

1. Import Soap(successful request xml)
2. Target url
3. Action


I am attaching complete project zip file with all log levels enabled.

 

Here the error message we are seeing while executing the script from reply log

Action.c(4): Notify: Saving Parameter "ResponseAttachmentsCount = 0".
Action.c(4): Notify: Saving Parameter "response = <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault><faultcode>soapenv:VersionMismatch</faultcode><faultstring>Transport level information does not match with SOAP Message namespace URI</faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>".
Action.c(4): The "SOAP Request" SOAP request response content is not XML
Action.c(4): There was a warning during SOAP request "SOAP Request"
 

Viewing all 3978 articles
Browse latest View live


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