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

String Concatenation

$
0
0

Hi

 

 

What is String Concatenation?

 

what is the use of strcat?


Error No match found for the requested parameter "Payment_Method"

$
0
0

Hi

 

i am getting this error when i am trying to pass the Seat Random value . if didnt pass the Seat random values i am not getting the error

 

 

Error -35049: No match found for the requested parameter "Payment_Method". Check whether the requested regular expression exists in the response data      [MsgId: MERR-35049]

 

 

 

Thanks in Advance

Error Correlation SAPWeb protocol: HTTP Status-Code=403 (Unauthorized Request)

$
0
0

Hi Guys

 

I need your help, I have a script with SAPWeb Protocolo in HPLR v12, when run in VUgen throwsthe following error:

 

Error -26628: HTTP Status-Code=403 (Unauthorized Request) for "http://XXXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/webcuif/uif_callback"   [MsgId: MERR-26628]

 

I correlate wcf-request-ticket.

The some  lines in the script with the error:

 

web_url("notify.htm_25",
"URL=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/webcuif/notify/polling/SAM::F700F0E805A8A942AAAF6FC8CBC68891F799C078::20151016184140.1111520/notify.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/mcmain_header.htm",
"Snapshot=t39.inf",
"Mode=HTML",
LAST);

 

web_submit_data("uif_callback_5",
"Action=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/webcuif/uif_callback",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do?sap-client=110&sap-domainrelax=min&sap-language=EN",
"Snapshot=t40.inf",
"Mode=HTML",
ITEMDATA,
"Name=crm_handler", "Value=CL_THTMLB_F4HELP", ENDITEM,
"Name=crm_svh_inputfieldValue", "Value=", ENDITEM,
"Name=crm_svh_inputfieldUiniqueId", "Value=IUICOBJS_BUILHEADERSEARCHNEW_partner", ENDITEM,
"Name=crm_svh_type", "Value=lastFive", ENDITEM,
"Name=valueInList", "Value=", ENDITEM,
"Name=svh_command", "Value=", ENDITEM,
"Name=wcf-request-ticket", "Value={wcf-request-ticket}", ENDITEM,
LAST);

 

web_url("notify.htm_26",
"URL=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/webcuif/notify/polling/SAM::F700F0E805A8A942AAAF6FC8CBC68891F799C078::20151016184140.1111520/notify.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/mcmain_header.htm",
"Snapshot=t41.inf",
"Mode=HTML",
LAST);

 

web_submit_data("uif_callback_6",
"Action=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/webcuif/uif_callback",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do?sap-client=110&sap-domainrelax=min&sap-language=EN",
"Snapshot=t42.inf",
"Mode=HTML",
ITEMDATA,
"Name=crm_handler", "Value=CL_THTMLB_F4HELP", ENDITEM,
"Name=crm_svh_inputfieldValue", "Value=1", ENDITEM,
"Name=crm_svh_inputfieldUiniqueId", "Value=IUICOBJS_BUILHEADERSEARCHNEW_partner", ENDITEM,
"Name=crm_svh_type", "Value=lastFive", ENDITEM,
"Name=valueInList", "Value=", ENDITEM,
"Name=svh_command", "Value=", ENDITEM,
"Name=wcf-request-ticket", "Value={wcf-request-ticket}", ENDITEM,
LAST);

 

web_url("notify.htm_27",
"URL=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/webcuif/notify/polling/SAM::F700F0E805A8A942AAAF6FC8CBC68891F799C078::20151016184140.1111520/notify.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/mcmain_header.htm",
"Snapshot=t43.inf",
"Mode=HTML",
LAST);

 

 

How correlate web_submit_data("uif_callback_  or web_custom_request("uif_callback_   ?

 

I appreciate your help

 

how can i dynamically change the BOARDING POINT according to the bus

$
0
0

I have several buses with several  boarding points for each one. i have structed to get boarding points on each bus. i am getting default boarding points.

 

my concer is

 

Example :

 

Bus A have 1,2,3,4 boading points and bus B have 5,6,7,8 boarding points but when select the  bus B i am getting boarding points of Bus A(1,2,3,4).

 

so how can get bus B Boarding points(5,6,7,8)

 

 

My code here:

 

//<h2 class='TravelAgntNm' title='APSRTC'>APSRTC</h2><a href='javascript&colon;void(0);' rel='' class='canclbtn custom-width cancel' id='canclP249285670'>Cancellation Policy  </a>
  web_reg_save_param("Buses","LB=TravelAgntNm' title='","RB='>","ORD=ALL",LAST);

 

Random Function

 

lr_save_string(lr_paramarr_random("Buses"),"Buses1");
lr_output_message("The Selected Bus is ::: %s",lr_eval_string("{Buses1}"));

 

For Boarding Points:

//<option value="151^MARATHALLI (M) 8453415795  080 - 22971202 / 03 /04 /05 /06^07:45 PM^NEAR BMTC BUS STAND,MARATHALLI,BENGALURU-560037 +918453415795 , 080 - 25401882 , 42099909 SINOSH TOURS & TRAVES OPP  KALAMANDIR^^">MARATHALLI (M) 8453415795  080 - 22971202 / 03 /04 /05 /06-07:45 PM</option>
     web_reg_save_param("Boarding_point","LB=value=\"","RB=^^\">","ORD=ALL",LAST);

HP Testing Solutions Survey

$
0
0

HP Software R&D constantly strives to improve our products, and values your feedback.

 

We want to better understand your usage of HP testing solutions, so that we can enhance your experience with those solutions. You can help with this by participating in our annual survey. You could also win an Apple iPad Air 2!

 

Please take a few minutes to complete our survey: https://www.surveymonkey.com/r/plv_ft

 

After completing the survey, you will be entered into a raffle to win a prize.
The survey covers HP’s Application Development Management suite of tools, including LoadRunner, Performance Center, StormRunner and more.

HTTP/1.1 302 Moved Temporarily

$
0
0

Hi

 

i am getting this error  HTTP/1.1 302 Moved Temporarily in snapshot for more please see the attachment

.NET mediator: Launch exception "Exception has been thrown by the target of an invocation"

$
0
0

Hi,

 

I am running LoadRunner 12.5.0.0.0 on a .NET 4.5 windows application using the .NET protocol.  When I use the default .NET Recording Filters, the dot_net_mediator launches fine and I can record.  

 

However, whenever I add our application DLL in the .NET Recording Custom filter and try to record, the dot_net_mediator.exe fails to launch with the following exception:

 

.NET mediator: Launch exception "Exception has been thrown by the target of an invocation"

 

What possibly could be the problem? Is there any logs I can look at?

 

Thank you.

Java VM internal error:Error Loading javai.dll.

$
0
0

Hi 

I am getting the following error while trying to compile Java Vuser script:

 

Java VM internal error:Error Loading javai.dll.

 

I have added the class path to the script itself but still getting the error

 

LR version: 11.52

JDK version on machine: jdk1.8.0_51 32 bit

 

Please advise


How to setup this Load Test scenario

$
0
0

Hi,

 I would like to create below load test scenario.  Would appreciate if anyone could advise me.  Thanks in advance, Leanne.

 

Item 1) 100 users login, with 10 users login every 1min.

 

Item 2) After user login, the 100 users need to trigger below scenarios:
a) 20% of users need to trigger below business process 1 and 2 randomly and repeatedly for 1 hour:
- Business Process 1: Trigger Select_Product_A_action, then trigger Submit_Product_A_action (trigger these 2 continuous steps for 30% of time)
- Business Process 2: Trigger Select_Product_B_action, then trigger Submit_Product_B_action (trigger these 2 continuous steps for 70% of time)

 

b) 80% of users need to trigger below business process 3 and 4 randomly and repeatedly for 1 hour:
- Business Process 3: Trigger Select_Product_C_action, then trigger Submit_Product_C_action (trigger these 2 continuous steps for 40% of time)
- Business Process 4: Trigger Select_Product_D_action, then trigger Submit_Product_D_action (trigger these 2 continuous steps for 60% of time)

 

Understand that I need to create first user script with 20% user, second script with 80% user in Controller.  Each script setup with Init section that captures the Login action which executed only once, but how could I setup above item (2) ?  Thanks.

 

 

 

Password Expiry Notification required

$
0
0

Hello,
For the transaction flow script of web HTTP protocol which has login and logout for authentication.
Password gets expire after every 45 days and we need notification before the expiry.
Is there any procedure or function which we can use for it.

How to setup Web Load Test using Think time and Pacing

$
0
0

Hi All, As I need to setup Load Test for below Web scenario, would greatly appreciate if someone could advise me for below questions.  Thanks a lot.  Leanne.


Requirement:

- 1200 users visit the Web per hour, average user visit time is 5min, Total 100 concurrent users (20user/min x 5min visiting time).
- 80% user trigger Business Process 1 Block: Login action, Browse Product action, Logout action.

- 20% user trigger Business Process 2 Block: Login action, Browse Product action, Submit Order action, Logout action.

- Each action triggers 1 HTTP request with target server response time 6 secs, and think time of 10 secs


Question 1)

Refer to above requirements, Business Process 1 requires 48 secs (i.e. 3 actions x 16 seconds), and Process 2 requires 64 secs (i.e 4 actions x 16 secs), so how can control the remaining times for Business Process 1 and 2 to simulate 5 min user visiting time (300 secs) ?  Is that I need to use Pacing time, so that load runner will trigger next vuser when reach fixed internal seconds, or I need to configure different total think time for above business process 1 and 2 ?


Question 2) If it is to use Pacing, am I right that I should use the Start New iteration at Fixed interval option and configure 300secs in this case, which is the user visit time 5min ? 


Question 3) Could you share on when the iteration at random interval will be used and how to calculate the random interval range ?

 

 

How to fix corrupted TruClient Web - IE script

$
0
0

Hi There,

 

I am using LR VuGen v12.50 TruClient Web - IE protocol to create a script. After running the script a few iterations with the TruClient Browser, the browser was hung, I had to kill the TcWebIELauncher.exe process to stop the script running. But then when I re-launched the TruClient Browser it says 'Load failed' and nothing was displayed in the browser. I closed the TruClient Browser and ran the script on VuGen itself, the following error is returned.

 

The script seems to be corrupted. Does anyone know how to fix this by looking at this error? I really don't want to rescipt the transaction as it's a lengthy and complicated transaction.

 

Thanks!

 

 

t=00001276ms: Error -205177: APIError: Unknown_Error error number:0
undefined
Exception in ScriptLocalPersistence addin - readScript Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]
t=00001277ms: Error -205177: TypeError: Unable to get property 'Handlers' of undefined or null reference
undefined
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="TC.startRunLogic" target="[object Object]"], handler=
function() {
var steps = TC_NS.find("xpath:step[@type='handler' and ]", TC_NS.Step.sections["Handlers"]);
for (var i = 0; i < steps.length; i++) {
if (!steps[i].disabled) {
startedGlobalEventHandlers.push(steps[i]);
steps[i].start(null, false, true);
}
}
} Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]
t=00001284ms: Error -205177: Action step:Init Blockdoes not exist in the script
undefined
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="TC.runTopBlock" target="[object Object]"], handler=
function (e) {
var runlogicStep = TC_NS.find("xpath:descendant::step[@type='runLogic']", TC_NS.Step.steps);
var actionStep = TC_NS.find("xpath:child::step[@action='" + e.actionName + "']", runlogicStep)[0];
if (!actionStep)
throw "Action step:" + e.actionName + "does not exist in the script";

TC_NS.Query(actionStep).addOnetimeEventListener("step/end", function (endE) {
// Set parameters from TC.endTopBlock
var event_args = { actionName: e.actionName };
Object.extendWithoutOverwrite(event_args, endE);
TC_NS.Event.dispatch("TC.endTopBlock", {}, event_args);
});
setTimeout(function () {
actionStep.start();
}, 0);
} Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]

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

How to fix corrupted TruClient Web - IE script

$
0
0

Hi There,

 

I am using LR VuGen v12.50 TruClient Web - IE protocol to create a script. After running the script a few iterations with the TruClient Browser, the browser was hung, I had to kill the TcWebIELauncher.exe process to stop the script running. But then when I re-launched the TruClient Browser it says 'Load failed' and nothing was displayed in the browser. I closed the TruClient Browser and ran the script on VuGen itself, the following error is returned.

 

The script seems to be corrupted. Does anyone know how to fix this by looking at this error? I really don't want to rescipt the transaction as it's a lengthy and complicated transaction.

 

Thanks!

 

 

t=00001276ms: Error -205177: APIError: Unknown_Error error number:0
undefined
Exception in ScriptLocalPersistence addin - readScript Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]
t=00001277ms: Error -205177: TypeError: Unable to get property 'Handlers' of undefined or null reference
undefined
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="TC.startRunLogic" target="[object Object]"], handler=
function() {
var steps = TC_NS.find("xpath:step[@type='handler' and ]", TC_NS.Step.sections["Handlers"]);
for (var i = 0; i < steps.length; i++) {
if (!steps[i].disabled) {
startedGlobalEventHandlers.push(steps[i]);
steps[i].start(null, false, true);
}
}
} Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]
t=00001284ms: Error -205177: Action step:Init Blockdoes not exist in the script
undefined
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="TC.runTopBlock" target="[object Object]"], handler=
function (e) {
var runlogicStep = TC_NS.find("xpath:descendant::step[@type='runLogic']", TC_NS.Step.steps);
var actionStep = TC_NS.find("xpath:child::step[@action='" + e.actionName + "']", runlogicStep)[0];
if (!actionStep)
throw "Action step:" + e.actionName + "does not exist in the script";

TC_NS.Query(actionStep).addOnetimeEventListener("step/end", function (endE) {
// Set parameters from TC.endTopBlock
var event_args = { actionName: e.actionName };
Object.extendWithoutOverwrite(event_args, endE);
TC_NS.Event.dispatch("TC.endTopBlock", {}, event_args);
});
setTimeout(function () {
actionStep.start();
}, 0);
} Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]

Viewing all 3978 articles
Browse latest View live




Latest Images