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

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=' 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


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

$
0
0

What are the protocols used in the script?

Refer to below notes from the guide

Note:

  • This report is only available for Web HTTP/HTML, TruClient Web, Flex, Mobile HTTP, SAP Web and Siebel Web protocols and where the NV Analytics report has been installed on the VuGen machine. The report is not supported when replaying in TruClient Chromium, but is available for TruClient Firefox and TruClient Internet Explorer.
  • The report cannot be created if several instances of VuGen are running at the same time.
  • The Network Virtualization report only supports IPv4 network traffic-not IPv6.

 

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

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

$
0
0

I'm using single protocol Web HTTP/HTML.

It used to work in the past, and now, after trying to change some options, I got it worse: Failed to generate NV Analytics Report though the script passed.

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

Re: Validate MS Excel data in VuGen 12.02

Re: Citrix Recording Issue - Unsupported Function

$
0
0

Check that no anti virus block Citrix from running . Check your Bop execution List .

 

Thanks

 

Mohammed Hamed


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

$
0
0

Try to use function web_set_ user in the script .

 

Thanks

Mohammed Hamed

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.

Re: LoadRunner recording SAP Business Objects 4 with Web Intelligence

$
0
0
Did u get a solution to the problem u mentioned...please let me know as I am also facing the same issue while replaying a script developed for business object reports..

Re: End event error due to network timeout

$
0
0

Hi Guys,

 

I am facing same issue and tried all available End Event options but no luck yet. TC recoomends "Step Network Completed " option option. The issue is sometime it gets timeout while pdf is generating, for example pdf takes 3 miutes but step get timeout in 1 or 2 minutes.

 

Also when I download a tiny pdf that completes in 3-4 seconds, the step runs for 10-20 seonds and then complete.

 

I tried "Step synchronous Network Completed" option but keeps running even after pdf download is complete. I had to kill aborth the script to kill the step.

 

Similar issue I noticed while clicking on button that loads data in grid. If there are too many records (15000+) and loading take around 2 minutes, the step timeout before data get loaded.

 

Please suggest how to deal with this.

Note: I'm using True Client for IE and LoadRunner versionn is 12.x

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

$
0
0

Hi Randy,

 

Please email me the script and I will try to recover it for you.

If you know how to reproduce the script getting corrupted please share the steps.

 

Thanks,

Shlomi

 

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

$
0
0

Hello QuanqT, Can you please paste a screen shot of what you are seeing?

Also, can you please upload the following log files (from C:\Program Files (x86)\HP\NV\logs):

Vcat.log

Shunra.com.log

analyzer.log

Thanks, Lior


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

$
0
0

Hello Rodolfo,

A few more details first, if I may:

  • What is the transaction manager you are trying to invoke from the LR scripts?
  • Are you using PC or LR?
  • are you running this test via a CI / CD interface? (like jenkins)
  • When you say "Shunra Analytics" - do you mean the LR analysis feature to distinguish between different locations per each graph, or the NV Analytics (introduced in LR 12.50)
  • Which version of LR / PC are you using?
  • Which protocol script are you running?
  • are you trying an integration with an external tool? if so - which one?
  • is there a way for you to share examples from the script with and without the external calls you added?

Thank you,

Lior

Re: End event error due to network timeout

$
0
0

Hi,

I suggest using "Action Completed" or "Document Loaded" alongside with adding "Wait for Object" step afterwards with longer timeout than the usual.

The "Wait for Object" step should wait for a regular UI object that appears after the document has been downloaded and not the PDF content. You can also try "Verify PDF" step is you are using 12.02

Good luck
Shlomi

Loadrunner SAP Netweaver Login Error 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

Re: What protocol is used for Oracle Forms

$
0
0
Re: Vugen Recording Protocol for SharePoint App. and Oracle Primavera P6 Client.

Hi ,

 

For this kind of questions HP created the Protocol Advisor in Loadrunner VuGen.

 

You can find the protocol advisor in VuGen (Virtual User Generator).

Start VuGen and in the menu bar click Record and the first option in the drop down menu is Protocol Advisor.

Select the Analyze Application... option in the sub-menu.

 

If it is a web application select a browser (IE or Chrome) enter the URL to your application and press Start Analying.

The webbrowser starts and your applicatoin will appear.

Now perform some actions in  the application.

Press Finish Analyzing and the Protocol Advisor gives you advise about the protocols used.

 

It is also possible to analyze a Windows Application.

Fill out the Protocol Advisor with the needed information and repeat the above procedure.

 

Good luck.

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

$
0
0

Hi Shlomi -

 

I decided to just start over with a brand new script. It took almost 10 hours to get back to where I was, but life is good once again. I hope in the future that I am able to find the source of this type of file corruption, because rebuilding such long scripts becomes quite tedious.

 

Thanks for the offer for help...

 

Randy Stevenson

 

P.S. Is there a way to save a TruClient IE script as a Chromium script? Or, alternatively, is there a way to copy/export steps from an IE script to be pasted/imported into a Chromium script?

Viewing all 12134 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>