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

Java Standalone Application Recording

$
0
0

Hi Team,

I am trying to record Java Standalone application.

I tried to record with Java over http protocop(Events not generated when the main java page launched).

I tried with Java record and replay, after submitting the login credentials (gettting message Error, But no detailed message about the error).

I tried with winsock protocol, able to record, but it is running very slow to complete 1 iteration. Is winsock recommend for executing java application. Please suggest.

Thanks


LR not able to capture storefront citrix traffic

$
0
0

Hi ,

We are trying to record an application from citrix store front portal in LR with multiprotocol (Citrix+Web).we able to record the web part but we are unable to capture the Citrix traffic.

We tried disabling DEP and DesktopTool bar,Windowsize=No preference.  and compatability versions of LR and citrix client (LR 12,Citrix client=14.1)

Please suggest if we missed any settings .

Quick response is appreciated.

Controller froze during long term test

$
0
0

Hi

After 14 hours that test was running in the logn term, the controller froze one I tried to open the errors window.

I can see that the test is running, but controller continue froze for more than 1 hour.

Im using Load Runner 12.51 which is running on server with Windows Server 2012 R2 64-bit.

See print screen.

Please advise what can be done to release it without loosing the test.

 

Thanks

Connection reset by peer. Error code : 10054

$
0
0

Hi,

I am recording the application using winsocket protocol, I am getting the following error

Connection reset by peer. Error code : 10054.

What might be the reason? How can i fix this?

Thanks,

Rajesh.

LoadRunner 12.53-Webservices Protocol- WS-Addressing Version set to 'WSA 1.0' not updated in Config

$
0
0

Hi All,

I am evaluating LoadRunner 12.53.  I am using the WebServices Protocol with WCF-Custom Binding and TCP transport.  While setting the 'WS-Addressing' version to 'WSA 1.0', the config is not getting updated whereas the option 'WSA 04/08' does update it.  Among the three options available for WS-Addressing version, both 'None' and 'WSA 1.0' are assumed to be 'None'.  While running the script, I am getting an error that WS addressing None not supported even if my selection is WSA 1.0.  I tried to supply the method call to exclude WS headers with no change in the error.  The workaround is to set the 'addressingVersion' explicitly to get the web request to be submitted without errors.

Can this be fixed? Though I found the workaround, It will be good to get this automatically set as it reduces the effort needed to set the attribute explicitly for all the test scenarios.

Error:

LR_WSAddressing2.png

Workaround followed :

Explicitly set the 'addressingVersion' as this :

<binaryMessageEncoding addressingVersion="WSAddressing10"/>

Settings :

LR_WSAddressing.png

Protocol element in Config file when choosing 'WSA 1.0'

<protocols scenario="customBinding" uiType="customBinding" xmlns="http://hp/ServiceTest/config">
<mode>Private</mode>
<customization>
<binaryMessageEncoding />
<tcpTransport />
</customization>
<identities>
<server />
<client />
</identities>
</protocols>

 

Protocol element in Config file when choosing 'WSA 04/08'

<protocols scenario="customBinding" uiType="customBinding" xmlns="http://hp/ServiceTest/config">
<mode>Private</mode>
<customization>
<binaryMessageEncoding addressingVersion="WSAddressingAugust2004" />
<tcpTransport />
</customization>
<identities>
<server />
<client />
</identities>
</protocols>

 

 Thanks,

Priya

VuGen 12.53 - Truclient IE script recording throws misleading error

$
0
0

I have installed VuGen 12.53 ona  windows 7 (32-bit) machine. This machine has IE 11 installed.

 Launched VuGen and started creating a new script using Truclient IE.

As soon as i hit the develop script button i get "The Truclient IE browser could not be launched. Veri fy that Internet Explorer 9.10.11 is installed on your machine".

 

See attached screen shot for more details.

TrueClient - parametrisation of the logons with certificates

$
0
0

Hello,

I have a question concerning parametrisation in the TrueClient, I think an easy one.

The goal is to logon to the system using the test users, say TEST1 to TEST500 when I have the certificates of those in a hand. With the http protocol it was quite easy: parametrising the UserID, pointing in the script to the corresponding certificate, logging on.

In the TrueClient I have difficulties with this. E.g. in the FF, I can upload several certificates into the TrueClient browser, but I would not know how to force the scenario to use them distincively when runnig 500 users in parallel (Unique, Once).

I tried to ask HP support for that (case 5308889305), but got negative respone that parametrization of the certificates in the TrueClient is not possible. I got pointed to the KM1313445 document, however for my taste it describes other issue.  Therefore I would like to verify this on this forum.

Could you help?

 

Kind Regards,

Kamil Damuc

Community version 12.53 License Security Violation?

$
0
0

Have suddenly started getting this error when I try to  open a 1 user scenario in controller for Community 12.53.

It was working ok yesterday . I have recently started using  remote desktop to hit the box with community on it. Anyone know what to do?

Uninstall / reboot/ reinstall did not help

 

License security violation. Please restore proper system time. 

To renew your licenses(s) contact HP Software 's Customer Support .

 

( I contacted support but they sent me here) 

Thanks

 


Failed to get transaction identifier in Loadrunner 12.53

$
0
0

Hello,

I have developed a script in version 12.02 Truclient-IE. But to use the same script in Truclient Web-IE version 12.53, have to convert it. I converted the script and then I replay the script.

But found one error: "Failed to get transaction identifiers for 'Tr_communication' from NV transaction manager. Reason: 'Invalid input. Request cannot be null'.

What this error means? And how to fix it?

Thanks

Skumar

 

 

In Virtual User generator run time settings not properly visible

$
0
0

Hi all,

I have recently installed load runner and i am facing an issue with virtual user generator .I am not able to see the run time settings properly in virtual user generator.

Please find the attached screenshot for  the same.

thank you in advance.

Regards,

chakri.

Time-Out with decimal precision

$
0
0

Its possible to set the timeout with decimal precision e.g 2.5s ?

When i Tried to make timeouts in my script

web_set_timeout("STEP","2.5");
web_set_timeout("CONNECT","2.5");
web_set_timeout("RECEIVE","2.5"); 

I have error:

Action.c(6): web_set_timeout started   [MsgId: MMSG-26355]
Action.c(6): Error -27288: The "2.5" argument (number 2) does not specify a valid number   [MsgId: MERR-27288]
Action.c(6): web_set_timeout highest severity level was "ERROR"   [MsgId: MMSG-26391]

What graphs should I use in the Controller to monitor Microsoft-HTTPAPI/2.0 server resources?

Snapshot view showing incorrect snapshot when requests are in a web_concurrent group

$
0
0

Not sure if there is a setting or limitation I am missing, but we are noticing that when we have multiple requests between a web_concurrentStart and web_concurrentEnd, the snapshot viewer appears to show request/response information for the last call in the group rather than the one we actually select. For example, we have request 1 and request 2 in the same concurrent group, I select request 1 and view the replay snapshot, and it incorrectly shows me the content for request 2.

If we disable the concurrent group and just make these requests sequentially, we get the correct request/response information for both in the snapshot viewer.

Is there any way to get the correct snapshot to load when calls are in a concurrent group?

Additional info:

  • This occurs in VuGen 12.53, but we've also seen it in older versions such as 12.5.
  • HTTP/HTML protocol, scripting language = javascript.

Thanks,

Chris

Abnormal termination, caused by mdrv process termination.

$
0
0

Hi,

I am trying to run a load test on 12.02 version of controller and have 4 LG's connected to distribute the load across evenly.

The issue I am facing is that when I start the test, after few transactions(say login to website) users start failing with below error:

"Abnormal termination, caused by mdrv process termination."

"Error: The remote host's status is 'Failed'. Check the remote host machine [and verify that it has not crashed]. [MsgId: MERR-29722]"

This doesn't happen at same point for each run. I checked if for some reason LG connection was lost, but I don't see any issue there. Checked CPU/Memory on LG as well and no issue there as well.

 

Same load from other set of scripts works fine.

Anyone faced this issue?

Correlation is not working

$
0
0

Hi,

I have installed Loadrunner 11.5 and IE8. I recorded the webtours script when i finished recoring the script is not showing any correlation values in both the script and in design studio for automatic correlation.

Note: the installed LR version is not having license

The script is as follows:

Action()
{

    web_reg_find("Text=Web Tours", 
        LAST);

    //<input type=hidden name=userSession value=118960.27436209zVVQAVQpVVcfDzHVtpVVtzHf>
    
    web_reg_save_param("sessionid",
                       "LB=userSession value=",
                       "RB=>",
                       LAST);
    web_url("index.htm", 
        "URL=http://127.0.0.1:1080/WebTours/index.htm", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t9.inf", 
        "Mode=HTML", 
        EXTRARES, 
        "Url=http://www.bing.com/favicon.ico", "Referer=", ENDITEM, 
        LAST);

    lr_start_transaction("Login");

    web_reg_find("Text=Web Tours", 
        LAST);

    lr_think_time(13);
    
    lr_output_message("session id: %s",lr_eval_string( "{sessionid}" ));

    web_submit_form("login.pl", 
        "Snapshot=t10.inf", 
        ITEMDATA, 
        "Name=username", "Value=karthik", ENDITEM, 
        "Name=password", "Value=karthik", ENDITEM, 
        "Name=login.x", "Value=75", ENDITEM, 
        "Name=login.y", "Value=12", ENDITEM, 
        LAST);

    lr_end_transaction("Login",LR_AUTO);

    lr_start_transaction("Flights");

    web_reg_find("Text=Web Tours", 
        LAST);

    lr_think_time(13);

    web_image("Search Flights Button", 
        "Alt=Search Flights Button", 
        "Snapshot=t11.inf", 
        LAST);

    lr_end_transaction("Flights",LR_AUTO);

    lr_start_transaction("Logout");

    web_reg_find("Text=Web Tours", 
        LAST);

    lr_think_time(9);

    web_image("SignOff Button", 
        "Alt=SignOff Button", 
        "Snapshot=t12.inf", 
        LAST);

    lr_end_transaction("Logout",LR_AUTO);

    lr_start_transaction("Close");

    lr_end_transaction("Close",LR_AUTO);

    return 0;
}

 

But, I captured session id manually

Action.c(31): Notify: Parameter Substitution: parameter "sessionid" = "118960.488780883zVVQADApVtVzzzzHDzHVtpViAif"

the script is executing successfully in loadrunner and i checked it in test results also it showing the successful steps done.

Can I get solution for this issue and what is the reason behind this behaviour.

Thanks,

Karthik


View JSON response generated by GET method

$
0
0

how to view JSON response which is generated by GET method and while after executing the script.

Load runner version 12.5.

Protocol: Web HTTP/HTML.

Request: GET

Any help/guidence appreciated.

Thanks in advance

 

Load Generator Configuration

$
0
0

Hello,

I have been assigned to configure Load generator for the load test. Previous project where i worked before, we use to have tools team and they were responsbile for all tools installation and validation.

Some of the things (As stated in step1)i am currently following to configure the load generator and need help/advise from expert to suggest if i am missing any steps.

1)Since there is no load generator machines, i have requested our management team to provide 5 to 6 Laptops/Desktop with good configurations , so that we can install Load generator agents on the machine and use it as LG during our test. Is this correct way to do?

So my question is,

Just by installing the Load genertor agent on those machines would be enough or should we do anyother configurations further?

Do we have do any configurations to connect Conrtoller and LG?

Please advise and advice on detail steps on how to configure load genertor and Controller.

 

Thanks in Advance.

HP LoadRunner Community Edition

$
0
0

Hi Team,

 

I have downloaded “HP LoadRunner 12.53 Community Edition” for learning purpose. One of my client like to run a small load test with 30 users. I know with this edition we can run 50 users for free. My question is can we use community edition to run a small load test for client project or do we have any license clause around it ?

 

MangK

Failed to initialize:timeout error during RTE protocol script test execution in HP ALM 12.20

$
0
0

Hi,

We are getting error "Failed to initialize:reason timeout" during RTE protocol script test execution in HP ALM 12.20.This is happening after 20-25 users which are able to successfully execute per LG and then the next set of vusers are failing.We have to simulate around 200-300 user load in RTE scripts.

Do we need to do any configuration changes?what should be the workaround?

Is it possible to monitor/connect to servers under VPN with Loadrunner?

Viewing all 3978 articles
Browse latest View live




Latest Images