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

Same rendzvous name in different scripts

$
0
0

Hi, 

When we have the same rendezvous name in different scripts and these scripts are use in HP LoadRunner Controller, there is currently no way to disable the rendezvous specific to a script. 

Essentially, I wish to know how rendezvous behave if we have scripts that have the same rendezvous name in the test scenario.

Unfortunately, I could not find any answers and hence have to post it here to get some clarification.

Thanks!
Jason


TruClient: Accessing the Library files from Performance Center

$
0
0

Hello

I am using a exception handler in my script and the library files are located in the shared folder. In my script library file the i have a link to the shared folder, when i try to run the script from Performance center i am getting error as it is not able to locate the library which is inside the script folder.

Description:

1) Inside script folder a Link to gloabal library file is located. Name of that is Link_GlobalHandler. This has a link to the global file which is in shared location and that location is accessible from load generator.

2) I uploaded this script with all files option and when it is executed from performance center it throws an error "Call Function GlobalHandler.Lock ** failed - library named 'GlobalHandler' could not be located". This file is available in the script but it is not able to locate it.

If anyone faced this issue and found a solution please share it to me.

~ Manicmut

Vugen was not able to record the traffic to the URL with SSl connection after LR12.53 upgrade

$
0
0

Vugen was not able to record the traffic to the URL with SSl connection after LR12.53 upgrade.

I had this issue after LR12.53 upgrade. It was recording fine on 12.02 version with WinInet capture.

But since then upgrded to 12.53, Vugen was not able to record any traffic to the server, it invokes the browser but not lunching the application with increasing events so fast on recording bar.

On the other hand, the previous recorded script on 12.02 threw " Bad Certificate/ SSL handshake failure"  while replaying, i tried adding "SSl_Version" "MAX_CONNECTIONS_PER_HOST" , when I tested SSL connection(recording options -> PortMapping) with the same certificate, successfully negotiate the connection to the server.

Any help would appreciate in this scenario. Thanks in Advance!

JSON data in Web_custom_request- Vugen and getting Error -26631: HTTP Status-Code=400 (Bad Request)

$
0
0

Hi,

I have prepared script but when i am trying to replay the script giving error message as

Action.c(125): Error -26631: HTTP Status-Code=400 (Bad Request) for “http://XXXXXXXXX.net/MicroStrategyV10/servlet/taskProc?taskId=XXXX......

And my script is

web_custom_request(“taskproc”,
“URL=http://XXXXXXXXX.net/MicroStrategyV10/servlet/taskProc?taskId=XXXX....... ”,
"0.00000011a5...................................................................",
"New*_York.pxs*_1*..............................................................",
“Method=POST”,
"TargetFrame=",
“Resource=0”,
“RecContentType=application/json”,
"Referer=http://XXXXXXXXX.net/MicroStrategyV10/servlet/XXXXXX...................",
"Snapshot=t4.inf",
“Mode=HTTP”,
"EncType=",
EXTRARES,
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
*/
LAST);

 

Plys help me....

Text tab not working for certain scenario..

$
0
0

Hi,

Im using, HP Virtual User Generator 12.53 version. My script recorderd the logins. After login passes, there is a text box and a combo box in the next screen. Once I enter a value in the text box, based on the value corresponding set of values populate in the combo box. Here I need to say OK and and move on to next screen.

But, the issue is for some logins, after the tab out in the text box, the combo values get populated and for some logins the tabout not happening and no value gets populated in the combo. Hence throwing an error.

The same scenario, with the logins which is not working, working good in Automation/manual way. Using VuGen, I habe this issue with certain ids. (Note: The ids which are working are developer ids.)

Need help on capture JSON response from server

$
0
0

Hi all,

I am now writting script for Worklight server test and have some trouble.

Here is webservice's response

/*-secure-
{"challenges":{"wl_antiXSRFRealm":{"WL-Instance-Id":"kfi30hpd23m5r397ll0qulvsok"}}}*/

And I need extracly value of WL-INstance-ID .

Here are my code when I submit to webserver

web_add_header("x-wl-app-version","1.0");
web_add_header("x-wl-platform-version","7.1.0.0");

web_submit_data("init", 

        "Action=http://XXX/PruFastUAT/apps/services/api/PruFast/desktopbrowser/init", 
        "Method=POST", 
        "RecContentType=application/json", 
        "Referer=http://XXX/PruFastUAT/apps/services/www/PruFast/desktopbrowser/default/browser.html", 
        "Snapshot=t33.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=isAjaxRequest", "Value=true", ENDITEM, 
        "Name=x", "Value=0.8243676177830881", ENDITEM, 
        LAST);

And Please refer to response from HTTPRequester. 

Thanks for your help

illegal character `\0240' in function - web_reg_save_param_json

$
0
0

Hi Folks,

I am getting following error while compilling the script -

illegal character `\0240'

web_reg_save_param_json(        "ParamName=rego",        "QueryString=$.[?(@.id==\"Screen:LicensePlate\")].value",        SEARCH_FILTERS,        "Scope=Body",        LAST);

 

Any idea what may be causing this? I guess its something to do with escaping the query string.

Cheers,

LR Version 12.53, windows 7

Not able to install LR on my machine window 7

$
0
0

I have downloaded latest community edition but while installing it is giving attached error.I am using window 7 64 bit.

But component it is popping out KB299226(when try to installed this component it is saying it is not suported) is not supported for window 7. So is there any alternative to install LR on my machine.

Thanks is advance


I think this is a bug.

$
0
0

Its frustrating. 'Show Arguments' from the context menu for web_reg_save_param_json function doesn't work. :(

Show argumentShow argument

LR 12.53 (no patch) Windows 7

failed - end event error due to network timeout

$
0
0

Hi Shlomi,

 

Sorry for direct approach. if you remember then We spoke few times few months back.

 

I am working on a project for a client and planning to impliment a POC using loadrunner 12.53 web true client protocol and if POC is successfull then only we can initiate to procure licenses for our load/stress testing.

 

our application is working fine when accessing it manually  via IE also I can record application business process sucessfully evertime but I am facing problem when replaying this web trueclient script and getting 90 out 100 time following error

 

 

  1. A) ** failed - end event error due to network timeout. Open requests: https://XXXXXXX:8443/c/portal/login?redirect=%2F&p_l_id=20184/proxy;

 

Also some time getting following error

 

  1. B) ** failed - end event error due to network timeout. Open requests: https://XXXXXXX:8443/c/portal/login?redirect=%2F&p_l_id=20184/proxy;https://XXXXXXX:8443/c/portal/saml/auth_redirect?redirect=%2F

 

If 10 out 100 times if this step is passed then its start failing to complete a mouse over action

 

My business process is as follows

 

1) Access URL https://XXXXXXX:8443

 

2) Windows dialog window popup

Enter username, password, domain etc and enter OK button on windows dialouge popup window

 

3) Getting error A) and B) in this step : Expecting application home page displayed

 

4) mouseover to word "Welcome" (this gives a menu and I need to select by clicking on menu item "Admin" but it's always failing in reply)

 

 

 

Note: I have tried adding URL https://XXXXXXX:8443/c/portal/login?redirect=%2F&p_l_id=20184/proxy;https://XXXXXXX:8443/c/portal/saml/auth_redirect?redirect=%2F in  Run-Time settings in Vugen, select Downlaod filters section, add URLs to Exclude only addresses in list but it didn't worked.

 

Also I have tried adding wait command to fix mouse over issue but it didn't worked too.

 

 

Is it possible for some one to support me on this case so that I can complete POC and plan accordingly to use Loadrunner for further work ?

 

Please accept my appology if you are no longer working in trueclient R&D but in that case I woruld appriciate if you can direct me to the correct person.

 

 

Looking forward for your quick reply.

 

Kapil

No code suggestions or no mention in Steps Toolbox (web_convert_param)

$
0
0

Why is ' web_convert_param' discriminated? it is pretty handy function.

ctrl + space (code completion/suggestion) doesnt work. Also this function is nowhere to be found in steps toolbox. Another LR bug may be? Any HP guys on this?

LR12.53 (no patch), win7, http protocol

Advanced LR coding

$
0
0

Hi Guys,

Is it possible to hook into any LR action function like web_submit_data or web_custom_request and do event based coding? Like exception handling in Java programming.

Pseudo code:

read responses from ALL action functions
if (a pattern found in response)
    do something
else
    do something else

The point is not repeating a piece of code after each function.

Cheers.

TrueClient Single Sign On Query

$
0
0

My application is accessible only via IE browser and when we launch the browser then it uses windows credintial and application home page displayed so in short we are not entering username and password.

 

Is it possible via Loadrunner Trueclient protocol to simulate user concurrency using difference username (i.e., perfuser1, perfuser2,......perfuser500 etc) ? 

 

Regards

KAPIL

Trueclient Thinktime configuration

$
0
0

Hi,

 

I have developed a script using Loadrunner web trueclient and when running it then it executed very fast and want to put some delay for each action. Can some one tell me how to put think time in web trueclient protocol ? I actually want to slowdown the execution on vugen and on controller ?

 

Regards

KAPIL

Uanble to analyze traffic from .SAZ File in mobile http protocol

$
0
0

Hi all,

I have created a .SAZ file in fiddler for an online web site and trying to analyse it in mobile http protocol. But it is unable to generate script and the analysing window just stays for hours together.

sazlr.jpg

 

 


HP Performance Analysis - load test error code descriptions

$
0
0

You know what would be really handy, is if HPE could make available a list of error code descriptions.

For training new guys on Load Runner and Analysis having an error like:

Error -27778 [GENERAL_MSG_CAT_SSL_ERROR] read to host "blah.com" failed. Connection reset by peer.

for example, can be a touch cryptic; to explain that it looks like the app server went down is often met with 'Really?'

I know, probably most folk on this forum have created their own lexicon for the error codes and I really should take some time to do it. Just would be handy if there was a resource somewhere with examples.

TypeError: responseObj has no properties

$
0
0

Hi All ; 

When i try create record for integragtion taking this error any idea about this error 

 

TypeError: responseObj has no properties
Error deserializing response: TypeError: childFunc is not a constructor


Element: [C++ object XML] - <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http:/
/www.w3.org/2001/XMLSchema-instance"><soap:Body><BugInsertResponse xmlns="http://tempuri.org/"><BugInsertResult><results xmlns=""><result>OK</result><ALMID>123<
/ALMID><ErrorDesc/></results></BugInsertResult></BugInsertResponse></soap:Body></soap:Envelope>
Result: [C++ object XML] - <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"><soap:Body><BugInsertResponse xmlns="http://tempuri.org/"><BugInsertResult><results xmlns=""><result>OK</result><ALMID>123</
ALMID><ErrorDesc/></results></BugInsertResult></BugInsertResponse></soap:Body></soap:Envelope>
soapOp.SOAPAction http://tempuri.org/BugInsert
Req: <soap:Envelope xmlns:ns0="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:xsd="http://www.w3.org/2001/XMLSch
ema" xmlns:ns3="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns4="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns5="http://microsoft.com/wsdl/mime/textMat
ching/" xmlns:ns6="http://tempuri.org/" xmlns:ns7="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://ww
w.w3.org/2001/XMLSchema-instance"><soap:Body><ns6:BugInsert xmlns:ns6="http://tempuri.org/"></ns6:BugInsert></soap:Body></soap:Envelope>

Error --memory violation :Exception ACCESS_VIOLATION received

$
0
0

I am blocked and would appreciate if somebody help.I have a vsuer_init.c along with action and end script which runs fine with manual test on same load but with Loadrunner automation in our frameowkr it throws error like this

vuser_init.c(3): Error: C interpreter run time error: vuser_init.c (3):  Error -- memory violation : Exception ACCESS_VIOLATION received.

The script is like this

vuser_init()
{
lr_save_string(lr_get_attrib_string ("host1"), "host1");
return 0;
}

host1 is argument name under additional attributes which contains ip address

LR 12.53 version unable to record multiple URL's in the Citrix environment

$
0
0

Hello All,

I have Citrix environment and need to capture the application. 

After login remote desktop, opening Citrix URL in Firefox browser. It displays login screen. entering login and password and click on login. (LR is installed in remote machine).

Once login, there is a few Icons are displayed and If I click my application related icon, my application is opening in new Firefox browser. But the Citrix URL and application URL is different and I unable to capture.

Kindly let us know how to resolve this issue for recording two different URL's recording in VuGen tool and which protocol and which recording mode settings to be done.

Note: This application is not related to Web services

 

Regards, 

Anand

 

 

 

 

Add parameter value to web_url link

$
0
0

Hi

 

I have a vugen multi script. First part is SOAP request that generates ticket ID
TicketID is the name of the parameter

Second part is http_web. I have a constant url "https://myURL/ticket=

I want to add the parameter value from step 1 into that URL

 

thank you for the help!

Viewing all 3978 articles
Browse latest View live




Latest Images