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

Loadrunner 12.53 - How to fix these Statements?

$
0
0

Hello,

I have created a TruClient Script(Web-IE), that run without any problem.

Now I run this script in Controller Scenario. It runs without any error and all transactions are successfully completed. But in log file I saw these Statements

( ->  t=00004185ms: Internal Problem-205177: In DataPointsAdapter::HandleDataPoints(), failed parsing JSON datapoints array.

-> t=00005266ms: Internal Probelm-205177: In BreakdownsAdapter::HandleBreakdowns(), failed parsing JSON breakdowns array.)

How can I fix this?

log.JPG

Thanks


Navigate to url failed - end event error due to network timeout

$
0
0

Hello,

We have created Load Runner script for our Application ( to validate reports) using True Client Ajax - IE protcol. When i run using VuGen it is working great and reports within our application is running without any issue. But when i run the same script using controller for multiple Usesr it is failing in first place with error:- t=00036931ms: Error -205177: ** 1: Navigate to "http://dgphxngfap531.ph..._HTML/AppsLogin" ** failed - end event error due to network timeout Snapshot Info [MSH 1 0] [MsgId: MERR-205177]

Can some one help us here?

PC Version: 12.01
OS: Windows

Winsock Correlation

$
0
0

Hi 

I have a string (user / pwd) and need to pass it in ebcdic format in the send buffer.  I have correlated the user in the send buffer.

(Connecting to Iseries. )

if i pass the string the script fails. If i pass the value in ebcdic (define my parameter value in ebcdic) it works. 

send  buf13 41
    "\x00"
    "'"
    "\x12"
    " "
    "\x00\x00\x04\x00\x00\x03"
    "\a=ñ"
    "\x11\x06"
    "{User}"
    "\x11"
    "\a5×ÁââæÖÙÄ@@ÿï"

Please help

 

Thanks

not enough memory while uploading big files

$
0
0

Hi,

I am using Load Runner 12.53. I have  a web script which uploads 10 big files of 100 MB each in the same request.

While using vugen I was able to run about 5 files of 100MB but failed to load 10 files of 100MB.

While using the controller wasn't able to run more than 1 user which uploads 5 files of 100MB.

The error imessage in both vugen and controller was:

"fatal error 26000. not enough memory for submission data buffer".

Please advise,

Thanks in advance.

Gadi

 

 

 

 

HP Diagnostics Support with AJAX TRUECLIENT

$
0
0

Hi,

Do anyone worked with AJAX TRUECLIENT with HP Diagnostics enabled. Will trueclient firefox support hp diagnostics?

 

Thanks,

Remo

Where to find Loadrunner-Scenario logfiles?

$
0
0

I am running Loadrunner 12.50 Scenario on an automatic schedule on a windows server 2008 server. Most of the times, the Loadrunner-Scenario program works fine, but sometimes (ca. 20%) it does not start or run.

Where can I find log-files from Loadrunner-Scenario to look for the reason the program did not run? Where is the exact location of these log-files?

Loadrunner 12.53 download - missing Linux install.sh file

$
0
0

I just downloaded the Community Edition (free) version of LoadRunner 12.53. I can't seem to find the Linux "install.sh" file that is referenced in the install documentation. I need it to install VUGenerators on a few RHEL 7 boxes that I have.

any help would be greatly appreciated!

415 (Unsupported Media Type)

$
0
0

I'm running into a 415 error that doesn't quite make sense to me because the content type is defined. I've also run in Fiddler and the content type is the same. What is this request missing? 

LoadRunner code:

web_custom_request("sign", 
        "URL=http://caribou.dssinc.com/CaribouCLCSuiteAPI/api/facility/assessment/29/section/sign", 
        "Method=PUT", 
        "Resource=0", 
        "RecContentType=application/json;charset=utf-8",    
        "Referer=http://caribou.dssinc.com/CaribouCLCSuite/menu/history/resident//32/assessment/32/29//assessment/section/S", 
        "Snapshot=t162.inf", 
        "Mode=HTML", 
        "Body={\"SignatureItem\":\"SVA0800A\",\"DateItem\":\"SVA0800B\",\"DateValue\":\"2016-06-08T04:00:00.000Z\",\"Password\":\"Dss.1234\",\"Data\":{\"SectionS\":{\"SVA0100\":\"\",\"SVA0101\":\"\",\"SVA0102\":\"\",\"SVA0200\":\"\",\"SVA0201\":\"\",\"SVA0300\":\"\",\"SVA0400\":\"\",\"SVA0500\":\"\",\"SVA0600\":\"\",\"SVA0601\":\"\",\"SVA0700\":\"\",\"SVA0701\":\"\",\"SVA0702\":\"\",\"SVA0800A\":\"\",\"SVA0800B\":\"\",\"SVA0801A\":\"\",\"SVA0801B\":\"\",\"SVA0802A\":\"\",\"SVA0802B\":\"\",\"SVA0803A\":\"\""
        ",\"SVA0803B\":\"\"}}}", 
        EXTRARES, 
        "Url=Z", "Referer=http://caribou.dssinc.com/CaribouCLCSuite/menu/history/resident//32/assessment/32/29//assessment/section/S", ENDITEM, 
        LAST);

Fiddler Created Code:

    web_custom_request("sign", 
        "URL=http://caribou.dssinc.com/CaribouCLCSuiteAPI/api/facility/assessment/55/section/sign", 
        "Method=PUT", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://caribou.dssinc.com/CaribouCLCSuite/menu/history/resident//32/assessment/32/55//assessment/section/S", 
        "Snapshot=t1.inf", 
        "Mode=HTML", 
        "Body={\"SignatureItem\":\"SVA0800A\",\"DateItem\":\"SVA0800B\",\"DateValue\":\"2016-06-09T04:00:00.000Z\",\"Password\":\"Dss.1234\",\"Data\":{\"SectionS\":{\"SVA0100\":\"\",\"SVA0101\":\"\",\"SVA0102\":\"\",\"SVA0200\":\"\",\"SVA0201\":\"\",\"SVA0300\":\"\",\"SVA0400\":\"\",\"SVA0500\":\"\",\"SVA0600\":\"\",\"SVA0601\":\"\",\"SVA0700\":\"\",\"SVA0701\":\"\",\"SVA0702\":\"\",\"SVA0800A\":\"\",\"SVA0800B\":\"\",\"SVA0801A\":\"\",\"SVA0801B\":\"\",\"SVA0802A\":\"\",\"SVA0802B\":\"\",\"SVA0803A\":\"\""
        ",\"SVA0803B\":\"\"}}}", 
        LAST);

 

Fiddler RAW Output:

PUT http://caribou.dssinc.com/CaribouCLCSuiteAPI/api/facility/assessment/55/section/sign HTTP/1.0
Content-Type: application/json;charset=utf-8
Accept: application/json, text/plain, */*
Authorization: Bearer nRNE4fGrYUc_d4bjHdzD2EYfF7roqmi8uT8aW_npOk9kAh9ABTnfaPQsPPH0IlehyjLHdt14bbJq0vanbaLZCSdVLNsQlJPxmXO5uDTPYW8_Zm1wg_UNvzt-dS01KmZuAU1G2_RSHHpI3_-zrBqDf9YKYqk6BHR_5_Et2boTYXcI0vK39zdSle68VpCJ6vkNKLwgbX5c1B9pxIrPKI1dggG9wjF6JGDlYGuKUdlp8ovzm-crXEYW8g2TD56XGE2t
AccessToken: BeNGtJtYJqXHiYQxnlF5Csgo45n9qfXN145OV/VjfypnNbLOov4F7FJvy2ExAgEpypKmbesR3vz5Y+bg+/mMc6gfXLDsFf/EKebPk60HfZ1hS69rxSyuQXgX4b73qU98isEFXgqqrgFFtroSFBl1sn2qxfdHOG22QgzFARCPYfFNNQR9VYfYi7NEkvd31yedRiyEWbqmrq+9l6Qq1EI0d4SdjpVIuoyjQbwUy2Cc3VWJ4eYn9Sz3rlXCJkRMGpBcJyDwlALG6HYmKkRFIokk3RxE/ktgquDahKoDPrNiHrYWG893Q2AXqLJ4AqlMZlQVv0dVOOt1i7cekV/OHZkHMtV3NYqY71yJOZUNllAMAjuFijaKC2UxlISN9gQqZk/sb4qDdJ32QGqu5HcK7vHtvKBn512e+crkaBRJBfxgexiXPf+PlRqPHmia/56wfT9M125lNduFFyJJA4FNWtiTF5Oen/V9RbAwHIpqz5HDZG+CC6gc+Repv8++uhp5aDr+5x/+UT/iV0hkG+2YYC8UwIJ0PFsxtNXj2N7m4aUl4fw=
Referer: http://caribou.dssinc.com/CaribouCLCSuite/menu/history/resident//32/assessment/32/55//assessment/section/S
Accept-Language: en-US
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Pragma: no-cache
Content-Length: 414
DNT: 1
Host: caribou.dssinc.com

{"SignatureItem":"SVA0800A","DateItem":"SVA0800B","DateValue":"2016-06-09T04:00:00.000Z","Password":"Dss.1234","Data":{"SectionS":{"SVA0100":"","SVA0101":"","SVA0102":"","SVA0200":"","SVA0201":"","SVA0300":"","SVA0400":"","SVA0500":"","SVA0600":"","SVA0601":"","SVA0700":"","SVA0701":"","SVA0702":"","SVA0800A":"","SVA0800B":"","SVA0801A":"","SVA0801B":"","SVA0802A":"","SVA0802B":"","SVA0803A":"","SVA0803B":""}}}

 

Any help is appreciated


unique id generated during each request for security purpose due to which script got failed

$
0
0

Hi All,

I am working on Web Application.I have recorded script and done parametrization,correlation in script.Script is working fine for 1 iteration but after that its got failed.As discussed with technical team unique id generated for each request for security purpose.I have correlated all those ids but after completion of first iteration when started with 2nd iteration tool is unable to find correlation for those unique id in that particular business process as new unique id generated in last request of business process when started of 2nd Iteration.Kindly suggest how to handle this in script.

E.g.Unique id is as follows:

/*Correlation comment: Automatic rules - Do not change!  
Original value='Z4RaFQsMnMY8olVF46cF' 
Name ='__csrftranscationid_40' 
Type ='Rule' 
AppName ='ASPNET' 
RuleName ='AutoGeneratedRuleTransId'*/
    web_reg_save_param_ex(
        "ParamName=__csrftranscationid_40",
        "LB/IC=var  csrf='",
        "RB/IC=';\r\n\t//alert(",
        SEARCH_FILTERS,
        "Scope=Body",
        "RequestUrl=*/OtherDetailsForm.do*",
        LAST);
 

Thanks in advance

 

managing certificates in True Client 12.50

$
0
0

Hi all,

I facing a problem of untrusted connexion, when I replay a script in true client 12.50.

I already read on this forum that you can manage this issue using the cert file into theprofiles\interactive\cert_override.txt by adding the private keys after the record.

This works for mostly of my applications. 

But in this particular Web https app, the certificate is broken by our reverse proxy, wich gives me a private key every 30 min. 

So the key recording in my script isn't valide any more...

How can we access to the option of TC Firefox in order to add the certificat in my script.

I know that the Chrome folder contains the profile of my firefox script. I manage to change it but it isn't persists. 

After I re-run my script firefox is re-initialzed and I lost my certificat ?

Please help.

Best Regards.

Romain

Invoke Recording Via Script

$
0
0

Hi Guys,

I am doing a PoC where I need to invoke VuGen in recording mode via a script.

From what I understand, when we invoke VuGen and click recording button, a browser instance is created and all the traffic that happens in that instance of the browser is recorded (unlike Jmeter where all the traffic at HTTP port gets recorded) and later processed. The goal is to know if we could have some options to invoke VuGen through a script (command line arguments or other low-level scripts) in recording mode and pass the browser process ID and make it capture all the traffic happening there, while we automate screen navigation in that browser (instead of a real person navigating through the pages). The whole idea is to automate the recording process.

Let me know your thoughts.

Appreciate yout time... Cheers

Why can I get the value from the response page?

$
0
0

Here is the related code:

web_reg_save_param(
                    "ParamName=responsePG",
                       "LB=",
                       "RB=",
                       "Search=Body",
                       LAST);
     
    web_url("event-stream",
        
        "Url=http://perftoolss/meiwi/api/event-stream?channels=autoupdate&t={eTime1}&lastEventId=&r={eventr1}",
        LAST);

 

 

Here is the response of the request:

vuser_init.c(181): web_url("event-stream") started [MsgId: MMSG-26355]
vuser_init.c(181): Notify: Parameter Substitution: parameter "eTime1" = "1465581374407"
vuser_init.c(181): Notify: Parameter Substitution: parameter "eventr1" = "6226330001163687"
vuser_init.c(181): t=33935ms: Already connected [0] to perftoolss:80 [MsgId: MMSG-26000]
vuser_init.c(181): t=33935ms: 649-byte request headers for "http://perftoolss/meiwi/api/event-stream?channels=autoupdate&t=1465581374407&lastEventId=&r=6226330001163687" (RelFrameId=1, Internal ID=113)
vuser_init.c(181): GET /meiwi/api/event-stream?channels=autoupdate&t=1465581374407&lastEventId=&r=62263300011
vuser_init.c(181): 63687 HTTP/1.1\r\n
vuser_init.c(181): Referer: http://perftoolss/meiwi/app/login/login.html\r\n
vuser_init.c(181): DNT: 1\r\n
vuser_init.c(181): UA-CPU: AMD64\r\n
vuser_init.c(181): X-XSRF-TOKEN: AWBQyZTyzyv9kBfalyFnAxAB0;AWBQyZTyzyv9kBfalyFnAxAAAAAA0\r\n
vuser_init.c(181): User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .N
vuser_init.c(181): ET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)\r\n
vuser_init.c(181): Accept-Encoding: gzip, deflate\r\n
vuser_init.c(181): Accept-Language: en-US\r\n
vuser_init.c(181): Accept: */*\r\n
vuser_init.c(181): Connection: Keep-Alive\r\n
vuser_init.c(181): Host: perftoolss\r\n
vuser_init.c(181): Cookie: cvwUN=admin; ss-id=sQrjjUU1t7LGryq77n49; ss-pid=YCBMDwWfFxiHGTdnrnEV; autoLogoutTi
vuser_init.c(181): meout=1200000\r\n
vuser_init.c(181): \r\n
vuser_init.c(181): t=33943ms: 296-byte response headers for "http://perftoolss/meiwi/api/event-stream?channels=autoupdate&t=1465581374407&lastEventId=&r=6226330001163687" (RelFrameId=1, Internal ID=113)
vuser_init.c(181): HTTP/1.1 200 OK\r\n
vuser_init.c(181): Cache-Control: no-cache\r\n
vuser_init.c(181): Transfer-Encoding: chunked\r\n
vuser_init.c(181): Content-Type: text/event-stream\r\n
vuser_init.c(181): Vary: Accept\r\n
vuser_init.c(181): Access-Control-Allow-Origin: *\r\n
vuser_init.c(181): Access-Control-Allow-Methods: GET\r\n
vuser_init.c(181): Access-Control-Allow-Headers: Content-Type\r\n
vuser_init.c(181): X-Frame-Options: SAMEORIGIN\r\n
vuser_init.c(181): Date: Fri, 10 Jun 2016 17:56:26 GMT\r\n
vuser_init.c(181): \r\n
vuser_init.c(181): t=33947ms: 5-byte chunked response overhead for "http://perftoolss/meiwi/api/event-stream?channels=autoupdate&t=1465581374407&lastEventId=&r=6226330001163687" (RelFrameId=1, Internal ID=113)
vuser_init.c(181): 223\r\n
vuser_init.c(181): t=33947ms: 2-byte chunked response overhead for "http://perftoolss/meiwi/api/event-stream?channels=autoupdate&t=1465581374407&lastEventId=&r=6226330001163687" (RelFrameId=1, Internal ID=113)
vuser_init.c(181): \r\n
vuser_init.c(181): t=33948ms: 547-byte chunked response body for "http://perftoolss/meiwi/api/event-stream?channels=autoupdate&t=1465581374407&lastEventId=&r=6226330001163687" (RelFrameId=1, Internal ID=113)
vuser_init.c(181): id: 1\n
vuser_init.c(181): data: cmd.onConnect {"userId":"2","displayName":"ElisaZ","channels":"autoupdate","profileU
vuser_init.c(181): rl":"https://raw.githubusercontent.com/ServiceStack/Assets/master/img/apps/no-profile64.pn
vuser_init.c(181): g","id":"Do2krnfpfaiOuSi0BD5C","unRegisterUrl":"http://perftoolss:80/meiwi/api/event-unreg
vuser_init.c(181): ister?id=Do2krnfpfaiOuSi0BD5C","heartbeatUrl":"http://perftoolss:80/meiwi/api/event-heartb
vuser_init.c(181): eat?id=Do2krnfpfaiOuSi0BD5C","updateSubscriberUrl":"http://perftoolss/meiwi.services/event
vuser_init.c(181): -subscribers/Do2krnfpfaiOuSi0BD5C","heartbeatIntervalMs":"10000","idleTimeoutMs":"30000"}\n
vuser_init.c(181): \n
vuser_init.c(181): t=120651ms: Inactive socket [1] was closed by www.bing.com:80, probably due to Keep-Alive timeout [MsgId: MMSG-26000]
vuser_init.c(181): t=120651ms: Closed connection [1] to www.bing.com:80 after completing 1 request [MsgId: MMSG-26000]
vuser_init.c(181): Error -27780: Timeout (120 seconds) exceeded while waiting to receive data for URL "http://perftoolss/meiwi/api/event-stream?channels=autoupdate&t=1465581374407&lastEventId=&r=6226330001163687" [MsgId: MERR-27780]
vuser_init.c(181): Aborting download of URL "http://perftoolss/meiwi/api/event-stream?channels=autoupdate&t=1465581374407&lastEventId=&r=6226330001163687" (RelFrameId=1, Internal ID=113) (e.g., due to the target document or object being deleted) [MsgId: MMSG-26507]
vuser_init.c(181): Error -26377: No match found for the requested parameter "ParamName=responsePG". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 28000 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]

Vugen script reply Error - Failed to connect to server "xxxxx.com:443": [10060] Connection timed out

$
0
0

 

I am able to access the application manually and able to record a Web(HTTP/HTML) script using Vugen11.52 but while replying a script, getting “Connection timed out” error.
Environment: Vugen 11.52, IE11, RTS: Proxy-Obtain the proxy settings from the default browser

Tried below options but no luck.

  • Increased HTTP Request and Keep Alive Timeouts
  • Added web_set_sockets_option("SSL_VERSION", "TLS");
  • Replied script with “Winnet reply instead of Sockets”, error: "HttpSendRequest" failed, Windows error code=12029 (cannot connect) and retry limit (0) exceeded for URL=”

 Any suggestion would be highly appreciated.

Citrix XenDeskTop v7.6 scripting with LR v12.02?

$
0
0
Dear All, We are trying to develop some Citrix XenDeskTop v7.6 scripts using LR v12.02. We talk to Citrix support they confirmed Citrix_ICA file is no longer supported. So we trying to find out how to create scripts for new Citrix XenDeskTop v7.6? Any help will be greatly appreciated. Thanks.

Using Javascript in LoadRunner scripts

$
0
0

Hi All,

I am using js file in one of my script to encrypt password and a few other parameters. Below is snippet from the code which shows how the request is handled.

Sessionid, token are captured using correlation & password is parameterised.

char *pwd;

char *sessionID;

char *token;

sessionID=lr_eval_string("{correlated_sessionID_param}");

token=lr_eval_string("{correlated_token_param}");

web_js_run(

"code=function('pwd','sessionID','token')",

"ResultParam=param",

SOURCES,

"File=File.js", ENDITEM,

LAST);

 

The issue is that, instead of the pwd, sessionID, token values, string "pwd", "sessionID", "token" are being passed to the javascript file. 

Please help how I can send the values to js file.

 

Thanks in advance.

 

Regards,

Umesh

 


Handling Windows Security pop up in Load Runner using HTML/HTTP protocol

$
0
0

Hi Team

I am working on creating automated script using Loadrunner and i am facing a Windows security pop up while login in , was not able to capture it using the record function so not able to proceed further as im facing issue with login process

so can somebody provide a solution for this

i have used Http/HTML single protocol and its a https site

 

 

Loadrunner 12.50 for SAP GUI application testing

$
0
0

Hi,

I am trying to test SAP GUI application with LoadRunner 12.50 and 500Vuser for it.

One LG machine with 24 GB RAM and 8 CPUs 500 GB HDD.

SAP GUI Client v 7.20. 

Facing issues at several points in script while running it in Controller-LG. The script runs in VuGen with success.

I followed the steps given in the help document of LR 12.50.

But still not able to complete the scenario successfully in controller with different settings and tries.

Please share your experience on all the settings and things to be considered to carry out this test successfully.

 

Regards,

Milind Jadhav

 

Error 29722. The remote host's status is "Failed"

$
0
0

Coulld somebody healp me? I've got this error when I try to run the script in a remote generator, but when I run it in "Localhost" generator, the scenario doesn't trhow this errror.

Thanks in advance.

Loadrunner 12.50 & Sitescope 11.30 - SIS monitor failing to connect to SIS server

$
0
0

In Load Controller 12.50, I'v configured Sitescope 11.30 (SIS) to supply metrics from some servers during load testing. All worked fine until I changed the requested metrics. I now get this error : "Monitor name :SiteScope. Parsing error. Details: host localhost, port 8888, line: 11. Reason: End tag 'HEAD' does not match the start tag 'META'.", I dont get prompted for the Sitescope account/password login, no metrics are displayed, in short, the Monitor for Sitescope now fails to connect to SIS instance.

No matter what I try, and I'v tried completely removing Sitescope Monitor from the affected scenario and reinstating it, rebooting the Sitescope server and then reinstating the monitor in the scenario, changing the SSM file (I created to hold required metric names), even creating a scenario from scratch and attempting to add a Sitescope monitor I cant seem to get Sitescope monitor to work at all. 

Thing is, I have had this working since December 2015 till May 2016.

Both LR Controller and SIS sit on a VM hosting Windows Server 2012 R2, 4 cores with 8gb memory. SSH is in place on all target servers and as I said, it all worked swimmingly well until I  modified  the selected metrics in Monitor Pane in scenario file in controller.

VuGen 12.53 -- the Data Wizard is gone??

$
0
0

A while ago, I used to use the Data Wizard to dynamically create values for input parameters.  In 12.53, there no longer a Data Wizard - is there a replacement?

Viewing all 3978 articles
Browse latest View live




Latest Images