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

TC Javascript alerts

$
0
0

I'm assuming the answer is no but can LoadRunner TC respond to JavaScript alert dialogs. It records the pressing of the "OK" button but will time-out when executing the step.


Record operation window not appearing

$
0
0

I am trying to perform Performance Testing  of an application that is bulit on .Net 3.5 version.

However, on performing the Record (Analyse Application) operation, the expected window is not appearing.

The application is Windows application and I am launching it through the .exe.

Could anyone please help me into this?

 

 

P.S. This post has been split off from other thread , and edited its subject. - HP forum Moderator

Difference between web_reg_save_param and web_reg_save_param_ex

$
0
0

Hi,

can anyone please tell me whether there is any difference between web_reg_save_param and web_reg_save_param_ex?

(I know that web_reg_save_param_ex has been only introduced in LR 11.0)

 

Thanks and Regards

Nag88

 

 

P.S. This thread ahs been moevd from Performance Center Support and News Forum to LoadRunner Support Forum. - Hp forum moderator

Winsock recording - Snapshots not captured !!!

$
0
0

I did a Winsock recording for a Java based application (using Vugen 9.52).When navigating to tree view to perform required correlation/parametersization,the right panel indicates that no snapshots are captured.

 

Same Winsock recording was conducted for other application like Iexplorer and can see the snap shots with required texts.

 

Anyone got idea why this is happening?

 

Pacing vs think time

$
0
0

Hi All,

I am a newbie to LoadRunner. I would like to knw the difference between pacing and think time ? Is it mandatory to set pacing and think time during the test ? If so Y and what happens if pacing and think time are ignored ? 

LR12 - VuGen - TruClient - FF - Script Parsing Failed

$
0
0

Hello 

 

Just updated to LR12 last week, primarily for the newer version of Firefox (22) in the TruClient Protocol; as FF8 wasn't supported by our web application.  

 

So I can't say weather if this odd issue is new or an against  "issue". 

 

After recording a script using the TC protocol in FF, on the main TruGen screen it lists in the lower right area an indicator named" Script Parsing" and on this script is shows failed.  and when clicked on it shows this as the error:

 

Syntax error, unexpected '{', wrong token = {

 

And in the editor (as you know you can't actually edit in the command line editor with TC scripts) it is a line of code generated by LR12 as i was using a Toolbox Flow Control item "If Exists" <see attached - the error says line 36>

Rendezvous and TruClient...

$
0
0

Has anyone used this new (old) fetaure in LR12?  The instructions in LR12 doesn't really talk much about - except it is found in the toolbox.   And to place it before the step where you want to hold for a rendezvous point.  But it errors out wanting a name - and I assume it needs some sort of coding as when you enter a name it still bombs out, in controller playback.    

Web Application SAML login - Script recording/reply

$
0
0

Trying to test a Web application which uses SAML SSO login. I can see a parameter SAMlart getting passed as part of one of the login request hits. But can’t find the value anywhere in the generation log. 

 

From basic gogling I've found that these SAML values are generated dynamically. But how can I correlate them in my script? Do I need to use Web+Web Service and go for the SAML options avail in Web Service?

 

Any suggestions would be very helpful!!


RDP Protocol

$
0
0

 
Hi Experts,
 
I am trying to record a script using RDP protocol in Vugen 11.52 but when I click on record. MSTSC is not appearing at all, i tried to access RDP manually and it works fine. DEP is turned off completely I am running WIN 2003 server. Please advise

In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ?

$
0
0

Using TruClient for IE9 all script action works till it open window's ( OS ) modal dialog  and stuck at handling this modal dialog. Are there any solutions or workarounds to handle this ? 

 

I want to do two things.

1. Measure time till it open modal dialog

2. Cancel the dialog and move on to next steps

 

 

Your timely help is appreciated.

 

Thanks!

 

 

Launching javaw and not javac

$
0
0

Hi there.

 

I am trying to get loadrunner to invoke a javaw when creating a jvm, however loadrunner invokes javac.

Is there a way to launch javaw instead of javac?

 

My applicatoin is passing parameters to a javaw which is not understood by javac.

 

Thanks

 

Loadrunner Vugen 11.00

JDK 1.6.0_45

Error Exception in the logs

$
0
0


Hi All,
i have recorded scripts for web service protocal.
when i ran the script, below error exception writting in the logs.

could anyone please help here.

Script :

web_service_call( "StepName=lockInventoryByLPN_103",
"SOAPMethod=InventoryService|InventoryServiceHttpSoap11Endpoint|lockInventoryByLPN",
"ResponseParam=response",
"Service=InventoryService",
"ExpectedResponse=SoapResult",
"Snapshot=t1397626631.inf",
BEGIN_ARGUMENTS,
"param0={Value1}",
"param1={LPN}",
"xml:param2="

"<param2>{Lock}</param2>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);

 

Logs :

Action.c(29): t=17407ms: 5-byte chunked response overhead for "http://avpsodev-16.manh.com:40000/ws/services/InventoryService.InventoryServiceHttpSoap11Endpoint/" (RelFrameId=1, Internal ID=2)
Action.c(29): 0\r\n
Action.c(29): \r\n
Action.c(29): t=17440ms: Request done "http://avpsodev-16.manh.com:40000/ws/services/InventoryService.InventoryServiceHttpSoap11Endpoint/" [MsgId: MMSG-26000]
Action.c(29): Error Exceptions:
Action.c(29): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: There is an error in XML document (1, 526). ---> System.InvalidOperationException: Namespace prefix 'axis2ns2' is not defined.
at System.Xml.Serialization.XmlSerializationReader.ToXmlQualifiedName(String value, Boolean decodeName)
at System.Xml.Serialization.XmlSerializationReader.GetXsiType()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInventoryService.Read4_Serializable(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInventoryService.Read5_ValidationResult(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInventoryService.Read12_lockInventoryByLPNResponse()
at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer5.Deserialize(XmlSerializationReader reader)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Mercury.LR.NETProxy.InventoryService.lockInventoryByLPN(String param0, String param1, String[] param2)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Mercury.LR.LrWsNetClient.ProxyCreator.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
Action.c(29): Error: InvokeMethod failure: There is an error in XML document (1, 526)..
Action.c(29): Error stack trace: at Mercury.LR.LrWsNetClient.ResultArgExtractor.CreateXmlArgsDoc()
at Mercury.LR.LrWsNetClient.ResultArgExtractor.ExtractArgAsXml(String sArgPath, ArgumentExtractionType extractionType)
at Mercury.LR.LrWsNetClient.ResultArgExtractor.ExtractArg(String sArgPath, Boolean IsSaveResultArgumentsAsIs, ArgumentExtractionType extractionType)
at Mercury.LR.LrWsNetClient.ProxyCreator.ExtractArg(String sArgPath, ArgumentExtractionType extractionType)
at Mercury.LR.LrWsNetClient.NetReplay.ExtractResultArg(String sArgPath, ArgumentExtractionType extractionType, Array& barrArgValue)
Action.c(29): Error: ExtractResultArg failure: Object reference not set to an instance of an object..
Action.c(29): Error: Web service call "lockInventoryByLPN_103" execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
Action.c(29): t=17654ms: Closed connection [0] to avpsodev-16.manh.com:40000 after completing 2 requests [MsgId: MMSG-26000]

Load runner 12 java 7 support

$
0
0

as LR 11.* supported only java 6 i was woundering if LR12  support java 7 ?

thanks.

 

 

Web_submit_data OR web_custom_request doesnt work!

$
0
0

I tried use Fidder and Postman to send a post request, and i get HTTP 201, but when I put these into Loadrunner, using HTTP protocal, and use neither web_submit_data or web_custom_request,  when I wrote Method=POST, it would return http415, but I wrote Method=PUT, it would return http500. dont know why??

Action()

{

 

int nHttpRetCode;

web_set_sockets_option("IGNORE_PREMATURE_SHUTDOWN","1");

 

 

web_reg_find("Text=Exception","Fail=Found",LAST);

 

 

web_custom_request("xxxxxx",

"URL=http://XX.XX.XX.XX:10246/XXXXXX/data/XXXX/list?schema=1.0.1&form=json",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Mode=HTML",

"Body={\"$xmlns\": \"id\": \"99999952491\",\"updated\": 1340719562000,\"added\": 1340719562000,\"ownerId\": \"http://XXXXX/data/Account/7568814\",\"addedByUserId\": \"http://XXXXX/idm/data/User/mps/7572451\",\"updatedByUserId\": \"http://XXXX/idm/data/User/mps/7572451\",\"di$identityId\": \"T0100075144\",\"di$packageKey\": \"12\",\"di$cn\": \"T0100075144\",\"di$conCert\": \"12\",\"di$conHash\": \"1\",\"di$conKey\": \"1\",\"di$conKeyCtIv\": \"1\",\"di$conKeyPub\": \"1\",\"di$conKeyPubHash\": \"1\",\"di$intCert\": \"1\",\"di$intHash\": \"1\",\"di$intKey\": \"1\",\"di$intKeyCtIv\": \"1\",\"di$intKeyPub\": \"1\",\"di$intKeyPubHash\": \"1\",\"di$taCert\": \"1\",\"di$taKeyPub\": \"1\",\"di$taKeyPubHash\": \"1\",\"di$tdCert\": \"1\",\"di$tdKeyPub\": \"1\",\"di$tdKeyPubHash\": \"1\",\"di$tlsCert\": \"1\",\"di$tlsHash\": \"1\",\"di$tlsKey\": \"1\",\"di$tlsKeyCtIv\": \"1\",\"di$tlsKeyPub\": \"1\",\"di$tlsKeyPubHash\": \"1\",\"di$trustStatusCert\": \"1\",\"di$trustTaCert\": \"1\"};"

LAST);

 

nHttpRetCode = web_get_int_property(HTTP_INFO_RETURN_CODE);

 

if (nHttpRetCode == 200)

{

lr_log_message("PUT was successful.");

lr_end_transaction("DS_LocationWS_SessionDS2_PUT", LR_PASS);

}

else

{

lr_log_message("PUT was unsuccessful");

lr_end_transaction("DS_LocationWS_SessionDS2_PUT", LR_FAIL);

}

 

 

return 0;

}

 

 

P.S. This thread has been moved from Performance Center Support and News Forum to LoadRunner Support Forum. -HP Forum Moderator

LoadRunner C#.NET Vuser

$
0
0

Hi All,

 

Please help me how to use this function in Visual Studio LoadRunner C#.NET Vuser:

LoadRunner.WebApi web = new LoadRunner.WebApi();

web.url("newtours.demoaut.com", "URL=http://newtours.demoaut.com/");

web.submit_form("login.php", "Name=userName, Value=mercury, ENDITEM," +
                    "Name=password, Value=mercury, ENDITEM", "LAST");

 

I tried multiple times but system is always present incorrect page after submit form

 

Please help,

Thanks so much


TruClient script failed to initialise textbox at start of script

$
0
0

I am using TruClient protocol and it was working fine but suddenly sending:

Error -203256: ** 3: Type LR.getParam("uID"); in UID textbox ** failed - target object was not found

 

actually this textbox is not detecting and there is no problem with uid and password, here I need to create Hybrid script, it is possible

i will give userid and passsword from ajax or http protocol and rest part is truCliet script, but in vuGen 11.0 I am not getting provision to write hybrid script in truClient

 

Please let me know how to resolve this issue

Load Runner 11 ?

$
0
0

Hi,

 

Anyone know load runner 11 download link , in hp support websites link going to loadruuner 12 download link.If any one knows exact link update it..

 

Thank you.,

Web correlation question, is it possible to retrieve a value? ...

$
0
0

I have some values I know need to be correlated. When I look through the code gen log it appears that the value is first referenced, first returned, in the same step that first uses it?!

 

My first thought is that this simply can't be the case. But now I wonder.

 

The first time it's used is actually in the EXTRARES section of that submission. Is it possible that the main submission does indeed retrieve that result, and then it turns around and uses it immediatelly in arguments to some JavaScript?

 

Here's an example of what I mean below. is it posible that this step is the proper/first place to retrieve "abcd-12345-efgh-67890"?

 

Thanks,

Chris

 

##############################

 

    web_url("SomeActivity.aspx",
        "URL=http://someplace.com/SomeActivity.aspx?muid={c_muid_1}",
        "TargetFrame=",
        "Resource=0",
        "RecContentType=text/html",
        "Referer=SomeUrl",
        "Snapshot=t24.inf",
        "Mode=HTML",
        EXTRARES,
//        "Url=../scripts/TabManager.js?ver=2.0.0.3202", "Referer=somereferrer.aspx?wid=abcd-12345-efgh-67890&muid={c_muid_1}", ENDITEM,
//        "Url=../Images/MemberStripe/TopLeftCorner.png", "Referer=somereferrer.aspx?wid=abcd-12345-efgh-67890&muid={c_muid_1}", ENDITEM,
//        ENDITEM,
        LAST);       

 

VUgen 11.52 and SHR Sybase IQ DB

$
0
0

Hi friends, 

 

Hope you have a great day.

 

I would like to know if there is any impact of deploying SHR Sybase IQ DB on same server with HP VuGen 11.52? 

 

 

Thank you for your time.

 

Duy

ERP applications recording via Web HTTP/HTML protocol

$
0
0

I am recording a JDE application using Web HTTP/HTML protocol and it works for one of the module and it doesn't work for another module.

 

Either way I don't see the snapshot in the run time viewer after login. Can you please let me know what the issue is.

 

I have not recorded an ERP application before so that I probably need your expertise.

 

Thanks,

Vivek

 

Viewing all 3978 articles
Browse latest View live


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