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

SAP-HANA Protocol?

$
0
0

1. Which protocol will be used to record SAP-HANA?

2. Is that possible for anyone to share sample script of SAP-HANA?correlation rules?

3. Important observation from analysis?

4. Tuning tips?

 

 


Getting error while replaying silverlight calls in silverlight based script

$
0
0

Hi ,

 

I am working on a silverlight based application based using Silverlight protocol on LR12.5 and recorded the script succesfully. I can see the silverlight calls in the script like below,

 

Silverlight calls (request)

================================================
silverlight_service_call("StepName=GetAreas",
"SOAPMethod=FundoxService|BasicHttpBinding_IFundoxService|GetAreas",
"Service=FundoxService",
"Snapshot=t33.inf",
"ResponseParam=response",
BEGIN_ARGUMENTS,
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
========================

 

During replay of the script, i am getting the above request to be failed and getting the below response (fault string):

 

response:
============
<s:Envelope xmlns:s = "http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode xmlns:a = "http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode>
<faultstring xml:lang = "en-US" >The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring>
</s:Fault>
</s:Body>
</s:Envelope>
============================

 

As you can see, there is nothing in request on which i need to work on (e.g, correlations etc.) Any one has idea why this error has come and what could be the reasons?

 

 

Thanks,
Ajit

NV Analytics Report - HTTP Analysis sometimes does not include web service requests

$
0
0

Hi All,

I'm trying LoadRunner 12.5 and I love NV Analytics Report. I'm running into a trouble, please help me resolve it.
Sometimes HTTP Analysis section under NV Analytics Report/HTTP only lists out .html and static file (.js) requests. I'm not sure what I did change in settings but it used to log all requests including web services/API requests in the script.
How to make HTTP Analysis show all requests executed?

Thanks so much.

Set-Cookie Session Expired

$
0
0

Hi

 

i recorded the script for bus ticket booking when i replay it the page is redirecting and the getting the below errors

 

 

HTTP/1.1 302 Moved Temporarily Cache-Control: private Content-Length: 343 Content-Type: text/html; charset=utf-8 Expires: 608000 Location: /SeatsNotAvailableRedirect.htm?redirectUrl=http://www.my domain.in/Booking/SelectBus.aspx?fromCityId=124&fromCityName=Hyderabad&toCityId=122&toCityName=Bangalore&doj=17-Nov-2015&busType=Any Server: Microsoft-IIS/8.0

X-Powered-By: ARR/2.5

X-Powered-By: ASP.NET  

Access-Control-Allow-Headers: Content-Type

Access-Control-Allow-Methods: POST,GET,OPTIONS

Access-Control-Expose-Headers: AUTH_TOKEN

Date: Tue, 27 Oct 2015 15:01:18 GMT

Connection: keep-alive

Set-Cookie: ADRUM_BTa=R:80|g:9e7a57a0-e844-4e61-8174-dc1df36c06ed; expires=Tue, 27-Oct-2015 15:01:49 GMT; path=/; HttpOnly

Set-Cookie: ADRUM_BT1=R:80|i:58063|e:1284; expires=Tue, 27-Oct-2015 15:01:49 GMT; path=/; HttpOnly

 

<html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="%2fSeatsNotAvailableRedirect.htm%3fredirectUrl%3dhttp%3a%2f%2fwww.redbus.in%2fBooking%2fSelectBus.aspx%3ffromCityId%3d124%26fromCityName%3dHyderabad%26toCityId%3d122%26toCityName%3dBangalore%26doj%3d17-Nov-2015%26busType%3dAny">here</a>.</h2> </body></html>

 

 

Vugen Recording Protocol for SharePoint App. and Oracle Primavera P6 Client.

$
0
0

I want to record SharePoint application and Oracle Primavera p6. I don't know what protocol would be good.

Help me with it please. Share your experience.

Siebel - Issue while Network Simulation - Unable to determine full application's path

$
0
0

Hi Team,

 

Whenever we are limiting the network bandwidth (using Network Simulation setting) and running the scripts, getting below error.

 

"Unable to determine application's full path."

 

However the scripts are working fine if we are not giving any network bandwidth.

 

 

We are getting this error always at first occurrence of Auto-correlation function of Siebel. There after scripts fails.

 

web_reg_save_param("Siebel_Parse_Web_Page135", 
        "LB/IC=", 
        "RB/IC=", 
        "Ord=1", 
        "Search=Body", 
        "RelFrameId=1", 
        "AutoCorrelationFunction=flCorrelationCallbackParseWebPage", 
        "AutoCorrelationDll=LrwiSiebelCorrelationWrapper", 
        LAST);

 

Siebel Version - 8.1.10

LR version - 11.52

OS - Windows 7

 

Regards,

Deepak S. Negi

LoadRunner for mainframe

$
0
0

Hi All

 

Does any one know if Loadrunner can test mainfram application?

 

Thanks

Scripting TM1 cognos - DWR calls

$
0
0

Hi All,

 

Currenly we should record IBM Cognos TM1 application for one of our account. After logging in manually to the TM1 web application, we could see all excel grid cells with different menu buttions and excel tabs. Kindly suggest a protocol to record this application.

 

We tried with Web protocol and we got requests with .dwr extentions.

 

Secondly we tried with ajax tru client firefox  & IE protocol. We could able to record and replay the script successfully. But when trying to execute a shakedown in Performance Center 11.00, users are getting initiated and stucking there. Not moving to Run state. We ran in our local controller with localhost to make sure that the script is fine. Its working fine and all the transactions were successful in controller. Do we need to check the user licence availability for Ajax Tru client in Performance Center conrollers ?

 

Also for this kind of application, can anyone suggest any other feasable protocols other than Truclient, as truclient will be good when ran with limited users sicne it takes 15mb per user.

 

 

Thanks in Advance.

Regards,

Vamsi


Encoding in the correlation

$
0
0

Hi all,

 

While i try to correlate the a value, the value has special characters like / \ + = etc.

 

When i try to pass the value into the request the special characters are getting encoded like %2F and %2B etc. How am i supposed to remove th encoding and send it.

 

I also tried using HTML_TO_TEXT during correlation but it didnt work out.

 

Kindly suggest the best method.

Loadrunner not honoring date/time format

$
0
0

I am doing a SOAP request, and have set the format for the paramater to %Y-%m-%dT00:00:00, but when it submits that request, it is not honoring the defined parameter format.  It always changes it to %Y-%m-%dT00:00:00.000Z format.  I have tried to hard code it, and it does it as well.

 

Any idea why this is happeneing?

 

Thanks,

Cody

Performance Testing of the Rewrite Legacy Application

$
0
0

Hello!!

 

I need some help in understanding the below context.

 

One of our clients started migrating all of their Legacy Applications and Systems to modern technologies. We got to know that they are migrating through Micro Focus ( Visual Cobol).  Does loadrunner support Visual Cobol applications? Am seeing silk performer as Micro Focus tool and not sure at this point of time what tool shall I propose for performance testing. 

 

Can someone kindly help me if Loadrunner can be fit for testing Micro Focus applications?

 

Thanks in advance!!

 

Thanks,

Vemuri

Error while retrieving body -- can not parse output parameters

$
0
0

While performing a Soap request, I am receiving the following error which is causing the replay to fail:

 

Action.c(9): Error:InvokeMethod failed: org.xml.sax.SAXException: wrong number of arguments
java.lang.IllegalArgumentException: wrong number of arguments
Action.c(9): Error:InvokeMethod failure: AXIS engine threw an exception.
Action.c(9): Error:Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters
Action.c(9): Error:Web service call "GetAvailability_101" execution failed

 

The snapshot shows the request and response, and they are correct.  I do notice, however, that the response is not getting written to a parameter.

 

Any idea why it is erroring, even though the web service call is indeed succeeding?

 

Thanks,

Cody-

Shunra + HP NV + Performance Center / Transaction Manager has not been configured in this test

$
0
0

Hello,

 

We are trying to invoke the Transaction Manager APIs from our LR scripts to generate a Shunra file to be analyzed with Shunra Analytics. As part of our setup, we are using HP NV to simulate network conditions (for instance, 3G network).

 

- We have already enabled "Allow Packet Capture" in the Shunra NV Global Settings

- We have already enabled "Capture Packets" in the Location that we defined.

- We have already modified one of our scripts to invoke Transaction Manager APIs as per documentation.

 

Once we start our execution, we are getting a 500 error while trying to Connect to the Transaction Manager with the following message:

 

"Transaction Manager has not been configured in this test"

 

We are using endpointIdentifier=ID_CLIENT_FLOWS_1 as per documentation, which corresponds to the information contained in the NTXMetaData.xml generated.

 

<B2C_ENDPOINT ID="ID_CLIENT_FLOWS_1" NAME="Client flow 1" FLOW_ID="FLOWS_1">

 

If we dot not add the API calls in our script, the Shunra file is generated succesfully, but we are unable to analyze per transactions, which is our goal.

 

Could you please help us to understand why we are facing this 500 error and how can we fix it?

 

Thanks

SAP Fiori Recording - HTTP Status-Code=403 (Forbidden)

$
0
0

Dear experts,

 

I tried to record an SAP Fiori HTML5 transaction in both Firefox and Chrome. Result of the recording replay is both identical. It stops with the error

 

Error -26628: HTTP Status-Code=403 (Forbidden) for "http://xxxxxxxxx:8000/sap/opu/odata/UI2/INTEROP/$batch"  	[MsgId: MERR-26628]

I replaced the server name with xxxxxx.

 

 

I also generated a correlation:

 

/*Correlation comment - Do not change!  Original value='DXmy7K5Frbl3mvoujjeiBxSChjj5VqKDlbSNtNl7u3M&#x3d;' Name ='CorrelationParameter' Type ='RecordReplay'*/
	web_reg_save_param_regexp(
		"ParamName=CorrelationParameter",
		"RegExp=name=\"sap-login-XSRF\"\\ value=\"(.*?&\\#x3d;)\"",
		SEARCH_FILTERS,
		"Scope=Body",
		"RequestUrl=*/Fiorilaunchpad.html*",
		LAST);

And added a web_set_user("xxxxxx, "yyyyy", "");

 

 

Without web_set_user it throws error 401. Is it ok to have the web_reg_save_param_regexp at start of the recording?

The error I see from the details is: "CSRF Token validation failed"

 

I'm kind of lost what else I can do to get it fixed.

 

Kind regards,

Gunter

load runner scripting for Gis application that opens only in chrome

$
0
0
I have been assigned to prepare scripts in load runner v12 for a GIS application that opens only in chrome browser.
Protocol advisor stops working if I try using it throwing error. Can someone plz advise on which protocol to try for this map based application that opens only in chrome.
Also is there any setting in LR 12 that needs to be enabled or unchecked. Quick response would be highly appreciated

Help on Testing WebServices with multiple SubItem structure

$
0
0

Hi,

i am trying to find a way to test a web service that have a flexible structure.

The Web Service in the Request Xml has a structure like this:

 

<Item>

           <SubItem1></SubItem1>

           <SubItem2></SubItem2>

            ................................

           <SubItemN></SubItemN>

</Item>

 

The Subitem contains value that change like name, lastname , etc. 

The number of subitem varies from 20 to 100 for each item.

Let's suppose i have all the data, how would it be better to manage the scripting?

Is there a flexible structure to manage the item-subitem relationship and so i can use just 1 script in Vugen?

Thx for any Help

Tommaso

 

 

LoadRunner Ajax TruClient Script Failing on a Step That Does Not Exist

$
0
0

I am working on a LoadRunner 12.02 Ajax TruClient IE script that seems to work just fine --- except it doesn't. After the script plays back I get the message that the Script Failed  even though there were No replay errors detected. What is quite strange is that when I open the Test Results the error is showing up as the last item in the list, after the very last real step in the script, Step 128. The error says that the step that failed is Step 17, but it is not MY step 17. It is a step 17 that is not even in my script.

 

I can only guess that somewhere in my script directory system is a reference to a Step 17 from some other scripting effort. A "ghost" step.  I realize that it is Halloween season here in the US, but I was surprised to find that even LoadRunner can be haunted.

 

How can I track down this mystery step 17 and get rid of it so my script is successful? I do not want to have to start building the script from scratch because it has taken me two full days to get it to this point.

 

Thanks,

Randy Stevenson

Deere & Company

What protocol is used for Oracle Forms

$
0
0

Hi ,

 

I need a help here. We have requirement where we need to record loadrunner scripts for Oracle forms ( PO,GL etc). does anyone know we need to use Oracle NCA protocol or can i use Web Protocol?

 

Thanks,

Aravind

Soap over JMS for ActiveMQ with LR11 webservice protocol throwing error. Plz help

$
0
0

Script failing with name not found error for queue. Please help
HP LR 11 ActiveMQ
Protocol : webservice/jms
Script:
Action() {
jms_send_message_queue("Send", "HI", "com.nvn.telecom.pal.ManageSQ");
return 0;
}
Initial Context Factory = org.apache.activemq.jndi.ActiveMQInitialContextFactory
Connection Factory= ConnectionFactory
jms security principal= admin
jms security credential = admin
JVM = C:\Program Files (x86)\Java\jdk1.7.0_79
classpath = apache-activemq-5.11.0\activemq-all-5.11.0.jar
provider url = tcp://hostname:61716
Output Log : Virtual User Script started at : 2015-10-31 11:24:25 Starting action vuser_init. Web Services replay version 11.0.0 for Windows 7; Toolkit: "NotDefined"; build 9409 Run-Time Settings file: "C:\Lemini_PSVT\LRScripts\PAL_Fresh_MQ\\default.cfg" Vuser directory: "C:\Lemini_PSVT\LRScripts\PAL_Fresh_MQ" Vuser output directory: "C:\Lemini_PSVT\LRScripts\PAL_Fresh_MQ\" LOCAL start date/time: 2015-10-31 11:24:25 Ending action vuser_init. Running Vuser... Starting iteration 1. Starting action Action. Action.c(68): JMS call "Send" started Action.c(68): jms_print_general_property - JVM_Path = C:\Program Files (x86)\Java\jdk1.7.0_79\jre\ Action.c(68): jms_print_general_property - JMS_impl_classpath = \\nvnco.local\filestore\SYD-Users\binayaparhy\Desktop\apache-activemq-5.11.0\activemq-all-5.11.0.jar;\\nvnco.local\filestore\SYD-Users\binayaparhy\Desktop\apache-activemq-5.11.0\lib\optional\log4j-1.2.17.jar Action.c(68): jms_set_general_property called - JNDI_InitialContextFactory = org.apache.activemq.jndi.ActiveMQInitialContextFactory Action.c(68): jms_set_general_property called - JNDI_provider_URL = tcp://hostname:61716 Action.c(68): jms_set_general_property called - ConnectionFactory = ConnectionFactory Action.c(68): jms_set_general_property called - connections_per_process = 1 Action.c(68): jms_set_general_property called - msg_timeout = -1 Action.c(68): jms_set_general_property called - user_define_timeout = 120 Action.c(68): jms_set_general_property called - SecurityPrincipal = admin Action.c(68): jms_set_general_property called - SecurityCredentials = admin Action.c(68): jms_set_general_property called - SetCorbaOrb = Action.c(68): jms_set_general_property called - auto_generate_selector = 0 Action.c(68): jms_set_general_property called - EnableTibcoSslJndiLookup = Action.c(68): java.naming.provider.url = tcp://hostname:61716 Action.c(68): java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory Action.c(68): java.naming.security.principal=admin Action.c(68): java.naming.security.credentials=admin Action.c(68): Creating new JMS connection ActiveMQConnection {id=ID:DTDVD0001279PR-53172-1446251066551-1:1,clientId=null,started=false} Action.c(68): Error: Failed to send message HI to com.nvn.telecom.pal.ManageSQ due to the following exception : javax.naming.NameNotFoundException: com.nvn.telecom.pal.ManageSQ javax.naming.NameNotFoundException: com.nvn.telecom.pal.ManageSQ at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:235) at javax.naming.InitialContext.lookup(InitialContext.java:411) at com.mercury.ws.jms.SessionManagerImpl.getQueue(SessionManagerImpl.java:94) at com.mercury.ws.jms.JMSSupportImpl.sendMessageQueue(JMSSupportImpl.java:96) at com.mercury.ws.jms.JMSBridge.send_message_queue(JMSBridge.java:43) Action.c(68): Error: JMS call execution failed Ending action Action. Ending iteration 1. Ending Vuser... Starting action vuser_end. Ending action vuser_end. Vuser Terminated.

Loadrunner script for SAP Netweaver server login faile Error -26627: HTTP Status Code =404

$
0
0

Hi,

 

I am trying record VU script for a sap webdynpro application to intiate it's redirected to netweaver login . I am able to record script but while replaying getting HTTP Status 404 for web_submit_data response, this web request have one parameter names j_salt have dynamic value. but in replay response no where I am able to find this parameter reference to corelate.

Anyone face this kind of problem and have solution it would be appreciated.

 

Loadrunner version: 11.51

IE: 9

Protocol tried: SAP Web, WEB-HTTP/HTML

PFA image for vu script and error

Viewing all 3978 articles
Browse latest View live




Latest Images