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

AJAX True Client issue with Load generator and BPM

$
0
0

Hi every one,
when i try to run Ajax True Client scrit from controller with Load Generator other than local machine,
it is failing with an error "cannot find usr file".

Root Cause:
this is because it is missing "webiendp.txt" file while copying the script to Load Generator machine. by placing this file manually in that location, its working fine.
But in case of BPM we cannot do like that. BPM always make a copy of the script and after execution it clean up the entire folder.
is there any settings to copy the entire folder to BPM/LG location, with out missing "webiendp.txt"?

thanks in advance.


Not Recording .Net in HP Loadrunner V.12

$
0
0

Hi all !


I was recording with .Net 4.5 code VuGen (web applications), but after recording codes in white Vugen default is 1 page (no record is returned from the backend APIs) ex recording site http: // abc.com what I get is the default code, please guide me bad record is all in .Net web application

 

thanks

LR Citrix Agent

$
0
0

Hi when installing LR Citrix Agent on the Citrix Server do I need to disable DEP if this is enabled for programs and services.

 

SOS: Cannot create thead in lr script with .Net

$
0
0

need your help:  is lr  support to create thead in .net script?

 

backgroup:

just want to create a thread to do something wiht C# in lr script, but created thread cannot been called,

detail as following:

public int Action()
    {
        lr.output_message("Action thread start...");
        Thread t = new Thread(new ThreadStart(ThreadProc));
        t.Start();
        while (true)
        {
            Thread.Sleep(1000);
            lr.output_message("action thread is running...");
        }
        return 0;

    }
    public void ThreadProc()
    {
        lr.oupt_message("thread proc is ready ...");
        while (true)
        {
            lr.out_message("proc is running");
            Thread.Sleep(1000);
        }
    }

 

ouput:

Action thread start...
action thread is running...
action thread is running...
action thread is running...

 

 

Why am I getting a double web_submit_data

$
0
0

I recorded a script using the Web HTTP/HTML protocol.  The Async Scan on code generation is unchecked.  I see the second one has the EXTRARES values. However, when I tried setting up to do the resources in a separate concurrent group, still ended up with 2 web_submit_data statements.

 

web_submit_data("Login",
"Action=https://homeurl.com/home/Login",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=userid0", ENDITEM,
"Name=password", "Value=password", ENDITEM,
"Name=login", "Value=Log In", ENDITEM,
LAST);

 

web_submit_data("Login_2",
"Action=https://homeurl.com/home/Login",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=userid0", ENDITEM,
"Name=password", "Value=password", ENDITEM,
"Name=login", "Value=Log In", ENDITEM,
EXTRARES,
"Url=Resources/c19c5da16c296c371870312590d97f18/sprites.png", "Referer=https://homeurl.com/home/RoleMenu/TkMainMenu", ENDITEM,
"Url=Resources/0da8a8554984acb9dbc34b5f44283252/my-logo.png", "Referer=https://homeurl.com/home/RoleMenu/TkMainMenu", ENDITEM,
LAST);

waiting for complete response before parsing data does not seem to work

$
0
0

I have been trying a bunch of the protocols and have been running into problems detecting the data from the contents returned on the page.  In the question below, I am using the Web HTTP/HTML protocol.  The Ajax Click and Script and the TrueClient IE do not seem to operate at all with the application.

 

Unless I set the runtime settings -> think time to use recorded think time, the web_reg_save_param_regexp() operations do not always detect the information that would be returned by the server. In other words, it looks like loadrunner is not waiting to check the data after the response body is completely present.

 

Unfortunately, sometimes the response is not there by time the recorded think time is up.  I thought the think time only applied after the header, header response, response header and response were complete. Is that not true?

 

I do not want the replays hanging around for some artifically long think time just in case things are delayed. How do I address this problem?

 

Thanks

 

Parameterization - use of unique value from the parameter file in the same iteration

$
0
0

Protocol used - WebHttp/Html

Is it possible to get the next row value from the parameter file and use it with in the same iteration?

 

Eg: in my script I am reading the parameter file to get the count of entries.I want to do a for loop (as many times as the number of entries) and for each increment of for loop I want the next row value from the parameter file.

 

Is it possible?

Ajax TruClient: End Event not getting triggered

$
0
0

Hi,

I have recorded a script using Ajax TruClient IE (VUGEn 11.52) with following steps.

1. xyz xyz

2. Click on "Review Complete" button

3. Click on "OK" from confirmation popup.

 

Problem:

While replying execution cursor comes at step 2 above, it clicks on "Review Complete" button, but cursor never goes to step 3 above, execution remains stucked at step 2 forever.

 

I have tried setting all end event option for Review complete button but no luck.


Not launching Active X Control during recording. Vugen 11.52 IE 11 Windows 7

$
0
0

Hello,

I am trying to record an application using IE 11 /Windows 7 and Vugen 11.52. This application has an Active X addon that launches and collects user login information.

 

When manually navigating through this it works fine. However during the recording process this ActiveX add on portion of the app does not launch and I am unable to enter the required information.

 

I have tried various protocols including ajax click and script, web (http/html), web (click and script), and Ajax TruClient for IE.

 

With all of the above, the Active X add on never launches in the record process. There are no error or security messages observed either.

 

Any advice?

Script in VuGen Works but that fails in Controller.

$
0
0

Script in VuGen Works but that fails in Controller, I am trying to run  for 2 Vuser in controller  , As I am not getting any error but 1st  user do not complete the transaction and second user completed , Please help me

 

I have attached image of transaction result

TruClient 'wait for' fails, but transaction is PASS?

$
0
0

Trying to understand the following bit of a TruClient log (11.52):

 

Notify: Transaction "10_MWB_SubmitTask_14_ClickSubmit" started.
t=00541602ms: ** 13.7.56: Click on Submit javascript_link ** successfully completed
t=00541606ms: ** 13.7.57: Wait for View Deliverable gridcell ** started
t=00842153ms: Error -203256: ** 13.7.57: Wait for View Deliverable gridcell ** failed - target object was not found.       Snapshot Info [MSH 1 1]
Notify: Transaction "10_MWB_SubmitTask_14_ClickSubmit" ended with "Pass" status (Duration: 356.5467 Think Time: 0.0030).
t=00842637ms: ** 13.7: For (var delNum = 0; delNum < counts.maxDeliverables; delNum++) ** was aborted due to an error in a child step
t=00843073ms: ** 13: For (var loop = 0; loop < counts.maxProjects; loop++) ** was aborted due to an error in a child step
Ending action Action.    [MsgId: MMSG-205051]
Ending iteration 1.    [MsgId: MMSG-15965]

 

A transaction starts, does a few operations, then does 'wait for' to wait for a specific bit of text (which in this case never happens). The wait-for step fails, but the transaction is marked as PASS so the transaction time (full timout) becomes part of the performance statistics (which is wrong).

 

The end event of wait-for is "Automatic: Action completed" which makes sense, and from the timestamps I can see that it does wait for the full 300 second timeout configured for that step. But why does the transaction not FAIL?

HP Loadrunner 11.52 VUGEN issue

$
0
0

 

I recently installed LR Vugen 11.5 and then applied service pack to upgrade it to LR Vugen 11.52 and I was able to record and replay scripts without any issue.Later, I tried to open a fiddler file using Vugen and it did not work.That is fine.

 

Now,issue is everytime, when I try to open an exisiting script , it says "could not load script". and when creating a new script or solution, I get following error.

Exception was thrown from type HP.Utt.ProjectSystem.Persistence.UttPersistenceToken in method get_Storage with message:
No storage was registered for load data D:\Fiddler\02_Click.saz.

 

02_Click.saz. is the file fiddler file I previously tried to open and it is non existant in my computer now.But having same error again and again.

 I uninstalled LR and reinstalled and also cleared c:\\temp folder.But,issue prevails.

 

I have attached a screenshot of the error as well as details shown in stack trace and additional information tabs of error message.

 

Any help to fix this issue is highly appreciated.

 

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

$
0
0

I have installed Load runner 12.02 trial version, when i click record - application does not open. Browser shows that its  opening and but it never opens up. I have specified following the URLS in the "Start recording" window  but none of them work..(Note: HP webtour was started)

http://localhost:1080/WebTours

http://127.0.0.1:1080/WebTours/

https://google.com

www.mail.google.com

 

Can some one suggest me what is wrong?

 

Thank you

Ajax True Client Issue during Load test with Remote LG

$
0
0

Hi,

facing some issue during load test of Ajax True client application.

when i am using other machine as Load generator, among the 5 users 3 are in Ready and 2 are in Int state. not moving from that position to RUN. CPU utilization is normal in both LG and Controller machines.

Configuration:

Controller & LG : windows server 2008 R2

Load Runner  : 12.01

 

its appreciable if can share your thoughts on the same.

 

thanks in advance

Error Unable to Deserialize node Loadrunner WebServices Script

$
0
0

Hello,

 

I am trying to write a Web Services script that will pass multiple documents within the same request. I am able to send the single requests fine and the tool works as I expect, however when I try to add more documents within the xml I get an unable to deserialize node error.

 

Here is a sample of the xml that works correctly.

 

    BEGIN_ARGUMENTS,
        "xml:DELVRY05="
            "<DELVRY05>"
            "<DOC>"
                    "<HEADER>"
                        "<FOO>R100</FOO>" 
                    "</HEADER>"

              "<BODY>"
                 "<DATA>blaah</DATA>"
            "</BODY>"

       "</DOC>"

 "</DELVRY05>"

 

I need to add mutiple Docs within the single XML call which is where I am getting the error. For example

 

 BEGIN_ARGUMENTS,
"xml:DELVRY05="
"<DELVRY05>"
"<DOC>"
"<HEADER>"
"<FOO>R100</FOO>"
"</HEADER>"

"<BODY>"
"<DATA>blaah</DATA>"
"</BODY>"

"</DOC>"

 

"<DOC>"
"<HEADER>"
"<FOO>R100</FOO>"
"</HEADER>"

"<BODY>"
"<DATA>blaah</DATA>"
"</BODY>"

"</DOC>"

 

"</DELVRY05>"

 

Any thoughts ?


WRONG_NCA_VERSION_USED_WHILE_CONFIGURATOR_CALL_PERFORMED

$
0
0

On replay i am encountering the below error message in replay log:-

 

Action.c(272): Notify: Saving Parameter "nca_cfg_URL = WRONG_NCA_VERSION_USED_WHILE_CONFIGURATOR_CALL_PERFORMED".

 

Also upon viewing snapshots of replay run i can say that my script fails to launch configurator.

 

Please help!

Issue while running QTP scritp in Load runner controller

$
0
0

Hi,

 

Need your support for fixing this issue related to LoadRunner QTP integration.
I have done the scripting of Thick client application in QTP and its working fine in QTP without any issue while reply.
Please refer to attached screenshot. We do not see this error even when two instances of thick client are opened in two terminal server sessions at the same time manually.
But when we run the same script from LoadRunner controller (GUI VUser) it fails to invoke the application. Getting below error in LG machine.


Any quick help is highly appreciated.

 

Load Runner controller/LG  Version : V12.02

UFT Version                                                : V12.02

OS Deatils on both Controller/ LG machine : Windows server 2008 R2 64 bit

 

 

 

 

 

 

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

$
0
0

Hi

 

When recording a script through IE,  it invokes the browser. After this, no events are recorded or displayed on the "Action" method.

How to get webpage confirmation dialogue box recorded in truclient IE loadrunner

$
0
0

i am using LR version 11.5 ,truclient IE. In my application there is a step to click "Update" button and soon after that a confirmation dialogue box appears in which I have to perform "OK" operation. 

 

Issue is that while replaying after "Update" button is clicked the dialogue box opens and the control never comes back to script. I have tried all the options- setting up step end event to "Dialog Opened" and other end events but nothing seems to be working.Apreciate if anyone can provide me with teh solution. Thanks

Loadrunner 12.02 ajax trueclient Issue - Tableau Dashboards doesn´t show values

$
0
0

Hi Community

I was assigned to write performance scripts using LoadRunner 12.02.
Currently i am using ajax trueclient protocol, which is easy to use, but facing an issue with an embedded Tableau Dashboard inside a Html portal.

 

When selecting any item from the Dashboard menu it returns the following error "TypeError: ev.currentTarget.closest is not a function"

 

If i open the same Dashboard within the remote Tableau Server the menu appear normal and it is possible to select the menu values.

 

The issue seems to be between Html Portal and Tableau Server connection which the trueclient browser is not able to handle?

 

Is there any configuration which i am missing ?

Find attached two prints, one with the error inside the Html Portal, the other within the correct menu inside Tableau Server.

Any help or waypointer will be much appreciated.

Thanks & Regards
Frederico

Viewing all 3978 articles
Browse latest View live




Latest Images