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

Script Failing in Controller

$
0
0

Hi All,

Script Details:

In my web service script, there are two transactions :

1. A Run Query (similar to database): takes an ID as input and gives a record in output.

2. A web custom request (Request XML).

From the run query (based on an ID which is parameterized), some values are being captured (including timestamps) and are being passed to the web service request.

Problem:

When we run the script in VUGen, it passes for 'n' iterations but in Controller it fails (error: 500 Internal Server)

What might be the possible reasons?


JAVA 8 compatibility with HP loadrunner 12.01

$
0
0

Hi,

I am facing issues while compiling scripts of JAVA 8 compatible application with Loadrunner 12.01.

Can you please confirm if HP loadrunner 12.01 is compatible with JAVA 8.

Thanks

 

 

How to set HTTPS status code 400 to 200 in Loadrunner

$
0
0

Hi All,

I would like to set my https status code as 400 to 200 and I need make pass my request in the script.

Is there any possiblity to change status codes in LR during script execution?

 

Thanks & Regards,

NarsimhaReddy.T

SAML 2.0

$
0
0

Hi,

I have recorded a script where in an SAML request and response is generated.

The script is running in VuGen but is failing when ran through ALM. The script is only passing is run locally.

A correlation value is not getting captured while running it in the ALM. But if i copy the script in the Load Generator and run it there in VuGen, the script is passing.

I need to know whether VuGen supports SAML 2.0 and what can be done if it does not support.

Unable to establish connection to remote Linux server

$
0
0

HI 

I am trying to setup the monitors for a remote Linux Server on Sitescope using Key Based Authentication.

I followed the Sitescope Using Sitescope- manual to set this up.However I get the error message Unknown Error (-1)

Sitescope version - 11.30

Below is the text from RunMonitor.log file

"" SSH internalConnectV2: A Connection error occurred: Key exchange failed: Failed to connect to server: Connection timed out: no further information (uc) dI <Failed to connect to server: Connection timed out: no further information> dI.notify false <null> wFKC.waited false true wFKC.done <false> connecting to host ""

I used RSA (ssh2) key

Please let me know what is the prob;lem here.

Thanks

Jagan Mohan.

Item data is not displayed after recorded the script in Vugen

$
0
0

Hi All,

I'm unable to do parameterization because when I recorded the script in vugen with web protocol ,after generating the script in the Vugen ITEMDATA is missing in the web_submit_data. So its not showing the "name" and "value" fields in that ITEMDATA , how can i do parameterizaton for this script ?

Thanks

Zafrullah

Controller : Text check failures are seen once ramp up is done and then it automatically stops

$
0
0

I am performance testing an application, after ramp up is done, In controller I start to see text check failures for different transactions (e.g. text=xxxxxxx not found for web_reg_find) continously for two to three minutes and then it automatically stops and transactions relevant to the same text checks start to pass.

I am sure that from server side there isn't any error, since it is not getting captured in my monitoring tool, please advise on what could be the possible reason for it.

Copy Steps from one Action to Another in TruCLient

$
0
0

Hi, 

I am using TruClient Protocol and I want to copy steps from one action to another action within the same script. I see the Cut, Copy options when i select the steps, but when i go to the other action, I don't see Paste option. Is it possible to copy paste steps within same script in TruClient? I don't want to use fucntion library for doing this, as I run the load test across various LGs and it forces to make sure the library is copied all across those LGs. 

Thanks, 


SAP amodal

$
0
0

I'm trying to record a SAP GUI script for a business process that works fine by hand.

Everything is working until I come to one particular screen where I have to select a cash desk from a popup then hit OK. When I touch it during record it complains about an amodal control and fails to record then crashes.

Suggestions ? Cunning plans?

 

LoadRunner scripts in StormRunner?

$
0
0

Can I use LoadRunner scripts in StormRunner or should develop new scripts?
I studied available information on HPE site and failed to find this info. 

While Replay Java Vuser Script following Warning is showing up

$
0
0
Warning! Web support not loaded: check Java-Interpreter -> UtilityExt property in mdrv.dat file Script is not failing but actual action is not working. Please help me to fix the issue. Thanks, Srinivas

GUI Bundle for JAVA based application

$
0
0

Dear Team,

I am working on a JAVA RMI based application performance test. I can not use JAVA Vuser protocol of Loadrunner since the source code/classes for this application is not available.

Also, JAVA record /replay protocol is not supporting this application and script is not getting recorded.

Could you suggest if the UFT scripts for this JAVA application can be reused using GUI bundle of performance center.

Scripting with help of UFT is possible for this application. And the only option left is to reuse the scripts of UFT with help of GUI bundle.

Could you suggest.

Thanks

Priyanka

 

VuGen 12.53 Patch 4 slowness issue

$
0
0

Hi All,

We recently installed the Vugen 12.53 patch 4 on my machine. The issue is when we stop the script (Http/Html + Flex protocol) in the midway, the script is not getting stopped and all the options are getting disabled. In Background the Hp.utt.Standalone.debugger is still running, until we kill this process then only the run option enables and can re-run the script.

Details:

Vugen Version: 12.53 Patch 4

Vugen .Net Framework version: v4.0

Script: Http/Html & Flex

Operating System: Windows 7 SP1

Windows .Net Framework Version: v4.5.2

Java Version: 1.6

Internet Explorer Version: v11

Hp.LR.VuGen.log file in Temp folder is getting the below error message:

ERROR - The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
System.ServiceModel.CommunicationException: The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.

Server stack trace:
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at HP.Utt.DebuggerDomain.Interface.IUttDebuggerDomain.StopDebugging()
   at HP.Utt.DebuggerDomain.Client.UttDebuggerDomainClient.<StopDebugging>b__32() in e:\LT\UTT\win32_release\12.53.185.0\src\Infra\app\UttDebuggerDomainClient\UttDebuggerDomainClient.cs:line 358
   at HP.Utt.DebuggerDomain.Client.UttDebuggerDomainClient.NoFaultExceptionCall(Action action) in e:\LT\UTT\win32_release\12.53.185.0\src\Infra\app\UttDebuggerDomainClient\UttDebuggerDomainClient.cs:line 365
2017-02-28 14:48:22,889 DBG           [ 36] ERROR - CloseAllClients error
System.ServiceModel.ProtocolException: The channel received an unexpected input message with Action 'http://tempuri.org/IUttDebuggerDomain/BreakpointHit' while closing. You should only close your channel when you are not expecting any more input messages.

Server stack trace:
   at System.ServiceModel.Channels.TransportDuplexSessionChannel.EnsureInputClosed(TimeSpan timeout)
   at System.ServiceModel.Channels.TransportDuplexSessionChannel.OnClose(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnClose(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
   at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
   at System.ServiceModel.ClientBase`1.Close()
   at HP.Utt.DebuggerDomain.Client.UttDebuggerDomainClientFactory.CloseAllClients() in e:\LT\UTT\win32_release\12.53.185.0\src\Infra\app\UttDebuggerDomainClient\UttDebuggerDomainClientFactory.cs:line 166

Please suggest me some solution to resolve this slowness issue.

Thanks in Advance,

Srikanth

 

Unable to send mail with attachment using smtp_send_mail

$
0
0

Hi,

We have a requirement to trigger emails with PDF document as attachment.

I am using SMTP functions (smtp_send_mail) with the below code, but the mail is sent without the attachment:

If someone has used this function, please let me know what I am doing wrong in my case.

 

// ---------------SMTP Send Mail------------

    smtp_send_mail( "SendMail",

         "To=xx@xxx.com",

        "From=xx@xxx.com",

        "Subject={Subject}",

        "ContentType=text/plain;",

        "charset=\"iso–8859–4\"",

        MAILOPTIONS,

            "X–Priority: 3",

            "X–MSMail–Priority: Normal",

            "X–Mailer: Microsoft Outlook Express 10.31.88.237",

            "X–MieOLE: Produced By Microsoft MimeOLE V5.00.2919.6700",

        MAILDATA,

            "MessageText=This is a case mail\r\n",

            "File=Closure.PDF",

        LAST );

 

what is negative correlation with connections in Analysis

$
0
0

Hi All,

After completiong of Web Services execution in Controller i have opened Analysis summary report and Click on "Analyze Transaction Mechanism" - click on Generate Report.

It has generated the report but not able to understand what is "negative correlation with connections"

Please find screenshot for more details and provide answers for this and any one provide in pdf document i will find this type of Errors.

 


Negative Testing HTTP Status-Code=500 (Internal Server Error) is expected Error in vugen scriptiong

$
0
0

Hi Team,

 

We have the requirement of negative testing as HTTP Status-Code=500 is expected response but currently script get failed for 500 response.

We are using http/html protocol .Let us know is there any way to do same in vugen scripting to expect the 500 response.

 

Regards

Prashant

Content Download Size

$
0
0

Hello All,

I am trying to record scripts od Webtop 6.7 with loadrunner 12.0.

I have applied web_get_int_property( HTTP_INFO_DOWNLOAD_SIZE ); function to get the size of exported document.

I have kept the function above a request which triggers the download of file.

The file size is 13 Kb, but when I replay the web_get_int_property( HTTP_INFO_DOWNLOAD_SIZE ) fucnction is returning around 14 Kb.

I want to know, if the above function provides the exact size of file or any value more than the file size.

 

Thanks in Advance.

Bhanu 

How to get DB connection string from the file .s3db in Vugen

$
0
0

Hi guys

I have a question is how to get DB connection string from the file .s3db in Vugen?

I use the webservice protocols

 

 

GENERAL_MSG_CAT_SSL_ERROR] while running script in performance center for load test

$
0
0

I am getting below error while execution of webservices script on performance center.

The script os not giving any issue and executes successfully on VUgen however, it failes during load test execution on performance center.

Following function is added in the script still same error is observed

web_set_sockets_option("SSL_VERSION","TLS");

 

GENERAL_MSG_CAT_SSL_ERROR]read to host  failed: [10054] Connection reset by peer

Closed connection [0] to after completing 0 requests                  [MsgId: MMSG-26000]

Server  has shut down the connection [0] prematurely (empty response, no HTTP headers received). No retry attempted                 [MsgId: MMSG-26000]

JavaScript syntax help

$
0
0

Hello JavaScript gurus,

Our team has upgraded to 12.53 patch 4.  In this new version we can record in JavaScript in stead of C.  I am not a programmer.  My current issue is, after I created my JavaScript, I want to add a Main action transaction and call all my steps from the Main Action.  Sample below is how it looked.  I have not found what the JavaScript syntax should look like.  I have looked on the web for examples but I didn't see any.  I also tried the conversion tool HP provided and it didn't work.  Your assustance is greatly appreciated.

Main()
{
lr_start_transaction("Login");
Login();
lr_end_transaction("Login", LR_AUTO);
lr_think_time(5);
lr_start_transaction("LookupAccountInfo");
LookupAccountInfo();
lr_end_transaction("LookupAccountInfo", LR_AUTO);
lr_think_time(5);
lr_start_transaction("UpdateAccount");
UpdateAccount();
lr_end_transaction("UpdateAccount", LR_AUTO);
lr_think_time(5);
lr_start_transaction("SaveAccount");
SaveAccount();
lr_end_transaction("SaveAccount", LR_AUTO);
lr_think_time(5);
Logoff(); 

 return 0;
}

 

Viewing all 3978 articles
Browse latest View live




Latest Images