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

Scripting a Java applet having Arcot login

$
0
0

I have an application that has Arcot based login and then its a JAVA applet. I have noticed only truclient protocol supports the initial login process which is through Arcot. But after that it opens JAVA applet and nothing works. Can you please help me with the right protocol that i can use. Is these a Java plug or add in that can be enabled for Truclient protocol ?

 

Also i tried recodingthe application using JAVA over http but as soon as i replay it does not run giving me the compilation error but i dont see the error anywhere so don really know where the prpoblem might be. Please suggest the best way to script such application.Thanks 


How to show “transaction response time” graph in LoadRunner Controller?

$
0
0

 

Does anyone know how to solve this problem?

 

Btw, it's quite hard to type using this editor, please see http://sqa.stackexchange.com/q/13299/11978 for the question details. 

 

(If possible you might want to respond there too, else here would be fine.)

How to Parameterize Google Search using different keywords?

$
0
0

I have recorded script for simple google search using single word.

Now I want to parameterize the search process using different keywords.

So, Please tell me how to do it?

Thank you

Analysis - Insufficient disk space to generate complete analysis data

$
0
0

Hi,

 

I'm using loadruner 12.02. Whilst trying to analyse a set of results I get the following error message 

 

"There is insufficient disk space to generate complete analysis data. Free up disk space in your temp directory, and generate the complete data manually" Screenshot attached

 

Clicking ok leaves me with an empty summary sheet but a populated running vusers graph and that's all.

 

Some Controller Specs

15GB Ram

 

The controller has 3 drvies;

c drive - 7gb free space (default temp folder has been cleared)

Y drive - 3.4gb free space

Z drive - 8.6 gb free space

 

 

I've configured Analysis to not use the default windows temp drive but use a folder created on each of the other drives with no success.

 

Has anyone come across this error before? Any help would be much appreciate :)

How to load VBscript into vugen for BPM usage

$
0
0

Hi i have a relatively simple task - i need to check port avaialability to certain URL. I have VBscript that is using port query for that and it works fine. My challenge is how to integrate it into vugen. I have vugen 12 and am not sure which protocol to use and how to adjust it to vugen syntax. My VB script is:
 --------------------------------

' Script to check if port is listening
' returns 0 if port is listening
' returns 1 if port is not listening
' returns 2 if port is listening or filtered

Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("e:\PortQryUI.exe -n vault.bankleumi.co.il -p tcp -e 443 -q", 1, true)
WScript.Echo Return

If Return = 0 Then
WScript.Echo "Port is Listening"
Else
WScript.Echo "Port is not Listening"
End If


------------------------------------- 

 

Thanks!

Ajax TruClient Reuest getting timedout

$
0
0

My Ajax TruClient IE script is working firn in VUGEN however on PC ii is getting timedout on the very first request, i am running it with the single user only since thn also it is getting timedout.

 

Kindly help me in this. 

It is impossible to use LoadRunner using a web server SNI (Server Name Indication)

$
0
0

Hello

 

Obviously LoadRunner is not able to manage the SNI protocol.
When recording the script error message :

 

« Reason: The client software did not provide a hostname using Server Name Indication (SNI), which is required to access this server. »

 

Do you have a solution or workaround ?

 

Thank you .
Pierre

TruClient Error

$
0
0

Hi All,

 

Any idea why I get this error when trying to record on play with TruClient?

Faulting application name: TcWebIELauncher.exe, version: 12.0.6540.0, time stamp: 0x5475d1b4
Faulting module name: mshtml.dll, version: 10.0.9200.17357, time stamp: 0x55365ce2
Exception code: 0xc0000005
Fault offset: 0x000f0687
Faulting process id: 0xba4
Faulting application start time: 0x01d0a48c5102e806
Faulting application path: D:\HP\LoadRunner\Bin\TcWebIELauncher.exe
Faulting module path: C:\Windows\SysWOW64\mshtml.dll

This is a Windows Server 2008 R2 box, it has IE10 installed.

 

Thanks,
Cody-


Citrix ICA - BPC Excel

$
0
0

Hi, 

 

I am currently trying to record load runner test scripts for Citrix ICA Protocol. My scenario is to Launch  citrix ICA , which opens SAP BPC excel, and perform the business process.  I have got some questions for recording this :

 

1) Do i need to select single protocol or Multi (if multi - which options to select)

2) Does the bitmap synchronisation happens automatically or do i need to click sync bitmap every time?

3) Citrix ICA - is asking user credentials while launching, is this is ok and do paramaterization or do i need to embed user credentials in ICA file?

 

Please need your expert advice

Regarding Correlation Rule

$
0
0

Hi Everyone,

 

                         I am writing correlation rule for my application.Is it possible to write correlation rule for values whcih i used ordinals during correlation.If possible please let me know how to do it.

Execute Junit Test in Loadrunner using eclipse java program

$
0
0

Hi all,

**We wanted to run Junit Test in Loadrunner and below is the code written in eclipse:**
When i run the code in eclipse i get NoClassDefFoundError Exception. From Loadrunner Vugen Folder I zipped the **"lr.class"** file and imported it in the eclipse Jar libraries.

    import classes.lrapi.lr;
    import org.junit.Test;
   
    public class Jtst {

 
 @Test

 

    public void tst() {
     System.out.println("Tst method");
      try{   
  
 lr.start_transaction("T11");
 //lr.start_transaction("T1");
 System.out.print("Executing...");
 
 lr.end_transaction("T1",lr.PASS);
  }catch (Exception e){
   e.printStackTrace();
  }
    }
  
 public static void main(String args[]) throws ClassNotFoundException
 {
  System.out.println("Main");
  Jtst j1 = new Jtst(); 
  
  j1.tst();
  
 }
    }

**When i run the program I get the Exception NoClassDefFoundError Please find below the error message.**

    java.lang.NoClassDefFoundError: lrapi/lr
     at Jtst.tst(Jtst.java:16)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
     at org.junit.internal.runners.model.ReflectiveCallable.run

 

How to eliminate error message with Truclient

$
0
0

Hi,

 

I have a script in Truclient, where I have to test if the user is already logged or not. The text changes when the user is already logged, and there is a additional click to confirm to kill the previous session and to run the following actions.

 

I use a block 'if verify' to test a 'visible text', and then a "catch 'any' error on the previous text", to continue... And it works fine !

 

My problem, is that in case where the verify is false, an error message is sent. The script continue, but at the end, I have got a lot of errors which are not !

 

Is there a way to avoid to generate these message in the log ?

 

Thanks for your help

How to upload a file using json service (REST) script in loadrunner

$
0
0

Hi All,

 

How to upload a file using json service (REST) script in loadrunner. I'm able to create message the successfully and not able to send the attachment.

 

Please help me resolving this issue.

 

Thanks!

Shyam

 

 

Best way to call a random function in TruClient? ...

$
0
0

I'm tinkering with a couple ideas in a TCFF script here.

 

At the moment I have a single function library with 3 functions in it. I have three separate "Call Function" statements that call the functions in order and it works as expected.

 

But I would like to have a a single "Call Function" statement that randomly calls one of the three functions in the library. Is there a simple/elegant way to do that?

 

Thanks in advance,

Chris

 

 

Transaction Names in TruClient

$
0
0

Hello,

 

Does anyone know if it is possible to dynamically create transaction names in Truclient protocols. I want to use group name or machine name to indicate the location of the load generator.

 

If this can be done in Javascript, does anyone know how to do it?

 

Thanks


IE 9 Standard mode

$
0
0

I am trying to create a script for an application running on IE 10 which has some navigation links which do not appear unless I turn off "Force IE standard Mode". The first time I did that I was able to record the script, then when I tried to save it Vugen crashed, the script was lost, and now I am unable to record while "force IE Standard" is disabled. Is there some setting that have gotten trashed when it crashed?

Split Action in Laodrunner

$
0
0

I want to split my action
Please tell me how to do that?

 

HP LoadRunner Certification

$
0
0

Dear HP/Experts,

 

I want to complete HP LR certification so please guide me which exam is available for LR and link to check the exam for LR.

 

I am in Asia region.

 

urgent reply will highly be appreciated. 

 

Thanks

Ali

Recording Windows app in LR 12.1

$
0
0

I am recording a 64 bit windows app in Vugen.

I have to use multi protocol Winsoc and web/http-html because winsoc will not record a 32 bit application in single mode.

 

It launches the application but does not record further.

 

Did any one record the calculator application in vugen? Can you please give me the steps to record the calculator windows app in vugen?

 

Many Thanks

Rita

July 28-29th: LoadRunner Online Expert day !

$
0
0

Hello Everyone,

 

LoadRunner  is hosting an Online Expert Day on July 28-29th,  2015!  Mark this on your calendars!

 

 

If you are a customer with a support contract, then we would like to invite you to join us LoadRunner Support Customer Forum on July 28-29th, when HP product Experts will be online for 24 hours to answer any questions regarding:

 

Any topic on LoadRunner

 

Event start time: July 28th at 01:00 AM Pacific Daylight Time / 04:00 AM Eastern Daylight Time / 08:00 AM Greenwich Mean Time

Event end time:  July 29th  at 01:00 AM Pacific Daylight Time / 04:00 AM Eastern Daylight Time / 08: 00 AM Greenwich Mean Time.

 

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? 

 

HP Experts will be online for 24 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,

HP Support
Viewing all 3978 articles
Browse latest View live




Latest Images