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

failed - end event error due to network timeout [MsgId: MERR-203252] [MsgId: MERR-203252]

$
0
0

Hi,

 

We are facing above error after running the script in BSM.

We have recorded the script in LR 11.52  using Ajax True Client - Firefox and uploaded the script in BSM 9.23

After running the script for an hour we have checked the report and saw that error like 'failed - end event error due to network timeout [MsgId: MERR-203252] [MsgId: MERR-203252]  '.  i have set the wait time and done the changes in replay setting also but facing the issue same. So please help us to resolve the issue.

 

Regards,

Praveen.


Re: XML Response parsing in VUGen

$
0
0

Hi ,

 

2nd option you suggested looks good. But when I tried, getting into some issues.

 

NumOfValues = lr_xml_get_values("Xml={response}", "Query=//edgNum",
           "SelectAll=yes", 
           "ValueParam=Result", 
           "NotFound=continue",
           LAST);

 

lr_output_message("Value is  {NumOfValues}");

 

 

When I tried above thing, I am getting below output.

Action.c(33): "lr_xml_get_values" succeeded, 3 matches processed

"Action.c(39): Value is  {NumOfValues}"

 

How to get NumOfValues =3 above.

 

Thanks in advance.

File Upload error

$
0
0

Hi,

 

I am facing an issue during replay for a script which is developed to upload an XML file.

Below is uploading request:

 

web_submit_data("upload", 
        "Action=XXX/upload/", 
        "Method=POST", 
        "EncType=multipart/form-data", 
        "TargetFrame=", 
        "RecContentType=application/xml", 
        "Referer=", 
        "Snapshot=t4.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=AA SERP XML Full Mailing.xml", "Value=serp706198098854379739.xml.gz", "File=Yes", ENDITEM, 
        LAST);

 

Error:

Error -26488: Could not obtain information about submitted file "C:\Users\username\Desktop\scriptname\serp706198098854379840.xml.gz"    : _stat32 rc=-1, errno=2 [No such file or directory]. Using an empty file

 

Please help, why script path is recorded as "serp706198098854379739.xml.gz" and solution for this.

 

 

 

 

Re: File Upload error

$
0
0

Try hardcording the file patch into the recorded area (backup script prior to doing this) and use double slashes. i.e.

 

web_submit_data("upload",
"Action=XXX/upload/",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=application/xml",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=AA SERP XML Full Mailing.xml","Value=C:\\Users\username\\Desktop\\scriptname\\serp70619809​8854379840.xml.gz","File=Yes",ENDITEM,
LAST);

 

 

C:\\Users\\username\\Desktop\\scriptname\\serp70619809​8854379840.xml.gz

Re: Load Testing Java Application

$
0
0

Anytime I record something and the script does not generate properly (or at all) it is usually due to incorrect protocol(s). I feel that is the case here. Java over HTTP would be the one I expect to work for this ... if it is in fact recording actions but not producing them, is this over HTTPS?

Re: SSL protocol error when attempting to connect with host "XXX.YYY.com:ZZZZ" - HTTP Prot

$
0
0

Thank you Nagaraju !

 

This fixed my issue.

Re: Security validation error

$
0
0

If you are running it with one user, and keep logging in as that user I am going to assume it utilizes the same session key at the point in time (less you clear cache inbetween) which could potentially cause a timeout. Do you have you user logging out at the end of each script, and have LR set to treat each iteration as a new user etc?

Re: LoadRunner 12 Virtual Table Server - Making API calls

$
0
0

Hi,

 

You can take some network capturing in working and not working scenarios, then compare the request data to find the difference.


BPM script using SSO/ADFS for authentica​tion

$
0
0

Hello,

 

In our company, we have more and more applications using SSO/ADFS for authentication.

Unfortunately, with our monitoring service provider, we can't use web-http/html as protocol in VUGen because we didn't find the correct correlation to handle the SSO/ADFS authentication.

 

So, we use TruClient Firefox as protocol but :

- A script written with TruClient Firefox fails from time to time (we have developped a scenario for the same application in TruClient Firefox and web-http-html and the second scenario never fails.)

- The response time is more relevant in web-http-html protocol rather than TruClient protol.

 

So, it's should be nice to improve the TruClient protocol and to understand why a scenario written with this protocol fails randomly from time to time. And it's should also be nice to find a way to use web-http/html with applications using SSO/ADFS as authentication.

 

We have try with LR12.00 and BPM 9.24 and 9.24.1 and also with LR12.02 and BPM 9.25 : same problems.

 

Thanks in advance for your answer,

Regards,

Christophe

Re: LoadRunner 12 Virtual Table Server - Making API calls

$
0
0

Don't I feel stupid. Yes, of course, I should have done that to begin with. Thanks for the suggestion!

 

OK, I figured it out. I’m now able to make external API calls from my JAVA client. I discovered 2 discrepancies from the API documentation from HP.

 

1 – The Content-Type header setting in the documentation states you should use application/json, but this is incorrect. Turns out the body request must first be URL encoded. This header should be set to this:

    Content-Type=application/x-www-form-urlencoded

 

2 – The documentation also states that the body of the request is surrounded with just two curly brackets : { }. This is also incorrect. The body must start with the string ‘request=’

    request={ <body> }

 

Once I made these corrections my JAVA client started working and returning expected responses from the VTS.

 

PC 12.01 - Ajax TruClient IE Script Stalling in Controller

$
0
0

Hi,
 
I have created a TC IE script in Vugen 12.01. The script plays back fine in Vugen and the Development Mode. However, once I run a test with only this script and 1 vuser, the script halts after completing the second transaction. The user does not fail, abort, etc, it simply stalls. I developed the script on the same LG used in the test, so I know the script works on that machine. I don't get any error messages so it's hard to troubleshoot what the problem is.
 
Any idea what is going on here?
 
Thanks in advance.

Re: PC 12.01 - Ajax TruClient IE Script Stalling in Controller

Issue with recording in URL Transactions

$
0
0

HI Experts,

 

I try to record only Urls like "http://www.abc.xx", but it records only transaction start and end only. I am not able to record the URLs.

 

the entire script i should record only urls.

 

I tried in both protocol like Web/HTML.

 

 

Please suggest me how to resolve this issue.

 

Regards,

Srinivas

Issues with RDP Protocol - Network Level Authentication

$
0
0

Hi,

 

LoadRunner Version 12.02

 

Vugen is not able to RDP a server with "Network Level Authentication" remote setting, the problem is we cannot modify those setting since that configuration is a security policy. so I was wondering someone in the past has faced this issues and has a workaround where Vugen is able to deal with this configuration? any guideline will be appreciate.

 

Thanks

Cesar Resendiz

Re: File Upload error

$
0
0

Thanks Nicholas for your help, It worked for me.

I was missing double slashes.


Re: LR support for .Net application using IBM Informix as DB server

$
0
0

Hi Ajay,

 

Thanks for your inputs.

 

As suggested the customer has tried using ODBC protocol and they were able to launch the application through it while recording. But it failed to record any user actions.


Could you please suggest if any specific prior settings are required for ODBC protocol?


Also customer wants to know if LR is compatible with both 32 as well as 64 bit .Net Application or is there any limitation?

 

Customer did not provide any information about the application architecture.

 

They are still trying to collect the information from the developers and they will soon get back to us on the Architecture of the application.

 

Thanks & Regards

Praveena

Re: TruClient IE Evaluate JavaScript code failed to get web page object after 7 iterations

$
0
0

hi,Guy

 

 It's OK after I replace the fix files.

 

Could you help to explain the Nanny or Nanny parameters usage?

 

Thanks a lot.

-Darren 

 

vugen 11.52 "run-time viewer" not working during replay (on my machine)

$
0
0

Vugen 11.52 "run-time viewer" not working during replay (on my machine)

 

I switch on it via "Tools->Options->Scripting->Replay->show run-time viewer but it still not showing anything. Even a tab is not started. 

 

On the other PC this script replaying without any problems with run time viewer tab (we checked all General/Editor/Scripting/ settings, they are equal on both PC)

 

I tried to reinstall the vugen and analysis, but the result is the same.

 

i suppose, i should register some dlls manually, or smth. like this.

 

Truclient script failing for Second iteration in PC11.52

$
0
0

Hi

 

I am faing issue while running truclient script in PC11.52. 

 

In performance center script runs successfully for single iteration and for second itration it fails.

 

Tried to run the script in VUGEN and it runs sucessfully for multiple iteration.

 

For second itration,it  is showing "Timed out " error for Home page load tranaction.It takes less than 15 sec to load the home page.

 

Please suggest what shoud be the possible reason of this behaviour during exeuction of script.

Any leads to solve the same is appreciated.

 

Thanks

Mayur

 

 

 

 

Vugen/BPM Script to Simulate SharePoint End User Experience

$
0
0

Hi,

 

we have recently been working on a Vugen/BPM script to simulate end users using our SharePoint based Intranet site.

 

We have tried different combinations of the Web - HTTP/HTML protocol, but the results do not always correlate with what end users are reporting.

 

We also have a requirement to test the performance of the Intranet site accross different browsers. Again when we use browser emulation in the script we are not seeing the same results as real life users. For example the Intranet site runs quicker in Chrome compared to IE9 but this does not show up in the results from the BPMs. The results show very little differnce between browsers.

 

Just wondering if anyone had any advice/experience or any tips/tricks on the above.

 

Thanks in advance,

 

Mathew

Viewing all 12134 articles
Browse latest View live




Latest Images