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

Mobile Proxy Recording using LR

$
0
0

Hi , I try proxy recording using android which the server is Setting server to 16.28.135.43 and port 8080. The issue was my load runner are not detected any steps had beeen make by my native application . Do you guys have any suggestion ?


Re: Question on how to create user concurrent user sessions in Loadrunner

$
0
0

I might have found the option combination for the parameter that can achieve what I want. Is there a better way on controlling how the parameter file is parsed when the vusers are getting generated? I am thinking of something like a c program? Do you know of any documentation to do so?

 

Basically I am looking for a way to control which line is read when a vuser is generated.

 

Thanks

Jonathan.

 

Re: Loadrunner invoke IE Exploerer without recording events on the "Action" section

$
0
0

Run LR as administrator and try to record.

Re: Script in VuGen Works but that fails in Controller.

Re: Question on how to create user concurrent user sessions in Loadrunner

$
0
0

Hi, all

 

Anyone has any input?

 

Thanks

Jonathan.

 

Re: Failed to end Transaction - calling EndTransaction failed

$
0
0

News newsworthy: HP provided me with an hotfix and it sovled my problem!

 

It is now okay in VuGen and the numbers of passed / failed transactions in Controller are fine as well.

 

They recommended me to not post the solution on this forum:

 

"unfortunately the information that I provided you is an internal fix, it’s better to open a new case every time that a customer is facing this issue, this in order to analyze  what is happening with the new issue and also to prevent affect any environment."

 

Thus, I suggest you open a new case and refer to my case # 4651058296 if you think you're having the same issue.

Re: I can't get the application open for recording in load runner 12.02

$
0
0

It worked with mozilla firefox. Thank you

Re: How to write parameter in the Actions.java while using Java over Http?

$
0
0

Hi Jack,

 

I am stuck in the parametrisation.I am using java code in Loadrunner 11.52 to connect to a database at jdbc level.

Now using parmaterisation(LR value.dat file) the java code throws error suring compilation.

 

I made a connection.dat file with several connection variables like conn1,conn2 and so on.

Now I need to use these variables in the jdbc code.

 

lr.log_message({Connection});

String values1= lr.eval_string({Connection});

 

I am facing the MERR:22986 error during compilation. I see you resolved this issue.

Please advise.

 


Re: How to write parameter in the Actions.java while using Java over Http?

$
0
0

Please share the source and the error you received.

Re: How to write parameter in the Actions.java while using Java over Http?

$
0
0

The parameterisation works fine for now.

I changed the parameter delimiters as java compiler was confusing it with the java code.

 

I need your help in verifying my approach.

 

We are trying to achieve database performance testing,

I am using Java Record/Replay protocol and establishing connection using JDBC code to the Oracle Database.

My approach is to creeate connection -->Perform database transactions--> Commit--> Close connection and result Set.

 

Is this a good approach to test a database's performance.

Do we have any other method for the same. Please advise

Re: How to write parameter in the Actions.java while using Java over Http?

$
0
0

Writing database calls in Java protocol may be complex depding on your familiarity with Java programming. You can use lr_db* functions and manually write the queries. Those functions are available in all web based protocol starting 12.x version.

If it is oracle database, you may use Oracle 2T protocol.

Re: Using Load Runner proxy, mobile traffic is not getting recorded.

$
0
0

 

 

I already have Internet access on the VuGen machine that I trying to record from and I already proxy mode while recording  ?

 

Can you help me solve this issue ?

 

 

Re: Mobile Proxy Recording using LR

$
0
0

Hi,

 

After started recording, do you see any events recorded (on the recording tab)? Did the webpage load on your device?

 

As well, please make sure that you first start recording in VuGen (via proxy recording), and just then navigate from your device, after it is connected to the same network, and configured with VuGen IP and port.

 

Thanks,

Yoav

Re: WRONG_NCA_VERSION_USED_WHILE_CONFIGURATOR_CALL_PERFORMED

$
0
0

Hello

 

The mentioned error happens due to fact LR replay process (that executes a script) could not connect NCA’s server, but execution continues because special setting (ignore errors) was made.

It is obvious from log lines

Action.c(153): Warning: failed to receive data from the server

Action.c(153): Error: nca_connect_server: cannot communicate with host fa010.han.telia.se on port 8051

Action.c(153): Continuing after error in Vuser script.

 

It looks like script was not correlated well to make it able successfully connect NCA’s server.

This misconfiguration should be fixed before the stage where configurator is used.

 

Thanks, Dmitry

Re: WRONG_NCA_VERSION_USED_WHILE_CONFIGURATOR_CALL_PERFORMED

$
0
0

thanks a ton for you time dmitry 

 

i corrected the script but now it does not proceed after the step 

 

"substituting parameter jservsession id"

 

Request you to have a look at the new logs attached in my modified problem.

 


Re: Loadrunner Analysis

$
0
0

"Total" column in "Worst URLs by avg response time" table is unanswered.

See attachment. This can not be sum of all counted values. This is not average as well.

Is it a bug if no rational behind this value of "Total".

 

See attachment, and plz try and answer.

Re: WRONG_NCA_VERSION_USED_WHILE_CONFIGURATOR_CALL_PERFORMED

$
0
0

The single log file is not enough to figure out solution for your issue, anyway it looks like you have missed some correlation or did it wrong.

Re: How to Record Oracle Hyperion App (with Truclient?)?

$
0
0

I apologize for the late reply. 

 

Here is a possible workaround.

 

  1. Don't install the  remote extension in your profile
  2. Add Evaluate JavaScript step at the beginning  of your script
  3. Paste the following code to it. Replace google.com with your URL

 Components.utils.import("resource://gre/modules/Services.jsm");

Services.perms.add(Services.io.newURI("http://www.google.com", null, null), "allowXULXBL", 1);

 

  1. Run the script

Evaluate javascript is failing

$
0
0

Hi Team,

 

I am facing issue in AJAX TRUCLIENT IE, I am using LR 12.02 and IE 11 for developing my vugen script in my application I have a dropdown list where I need to parametrise the values in the list, I have been using 

 

window.pDivison=LR.TC.getParam("pDivision") in my javascript but when i replay my script, this Javascript fails and shows the ERROR as API_UNEXPECTED_ERROR parameter or attribute not defined. 

 

If I replay in the replay layout MERR 205177 is shown.

 

also when i try to record login action in INIT and rest of the actions in ACTION block and replay it ,INIT is executed succesfully and ACTION block asks for user to login again(Flow is not maintained).

 

Sometimes when I replay my script the cordinates are missed. Any help on this issue is much appreciated.

 

 

Thanks,

Madhu

Re: Exiting a script using TruClient

$
0
0

Actually, you kinda CAN do it through a combination of Javascript and an IF block.

 

Create a variable in your Javascript to output your result.

Next step, add an IF block and drag the exit to the if block. Your conditional for the if block will be based on your variable.

 

example:

 

I have a Javascript that looks within the Document for a specific folder ID and assignes "true" or "false" to variable "Found" depending on if it finds it.

 

In the IF block I set    If (Found=="true")

 

then put the action I want if it's true

add an "else"

drag the Exit into the Else.

 

That's the easiest way to do it.  I created a string variable instead of boolean as I could never get the IF block to work with a boolean.

 

I have tried other ways but found the IF block only accepts one arguement for the IF statement.

Viewing all 12134 articles
Browse latest View live


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