HiLRsupportsdevelopments indelphi,there is a manualto guide me?
Thank you
P.S. This post and replies have been splitted off from other thread and moved to LoadRunner Support Forum,also edited subject.- Hp Forum Moderator
HiLRsupportsdevelopments indelphi,there is a manualto guide me?
Thank you
P.S. This post and replies have been splitted off from other thread and moved to LoadRunner Support Forum,also edited subject.- Hp Forum Moderator
Hi ,
While running a scenario in LR Controller , I am getting errors for one of the script.
I have ran the same scenario many times, the exception never appeared. I am not sure it is because of the Application or is it because of the Controller.
Error :
vuser_init.c(1600): Error:Decoding of AMF message failed. Error is : Externalizable parsing failed: com.thoughtworks.xstream.converters.ConversionException: Could not call flex.messaging.io.amf.ASObject.writeObject() : Could not call flex.messaging.io.amf.ASObject.writeObject() : Java heap space
---- Debugging information ----
message : Could not call flex.messaging.io.amf.ASObject.writeObject()
cause-exception : java.lang.OutOfMemoryError
cause-message : Java heap space
-------------------------------
message : Could not call flex.messaging.io.amf.ASObject.writeObject()
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message : Could not call flex.messaging.io.amf.ASObject.writeObject() : Java heap space
-------------------------------
at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:103)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:205)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:54)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:65)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter$1.writeToStream(ExternalizableConverter.java:59)
at com.thoughtworks.xstream.core.util.CustomObjectOutputStream.writeObjectOverride(CustomObjectOutputStream.java:84)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322)
at flex.messaging.messages.AbstractMessage.writeExternal(AbstractMessage.java:352)
at flex.messaging.messages.AsyncMessage.writeExternal(AsyncMessage.java:140)
at flex.messaging.messages.AcknowledgeMessage.writeExternal(AcknowledgeMessage.java:92)
at flex.messaging.messages.AcknowledgeMessageExt.writeExternal(AcknowledgeMessageExt.java:57)
at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.marshal(ExternalizableConverter.java:81)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:65)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:845)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:834)
at hp.flex.HPExternalizableWrapper.ReadObject(HPExternalizableWrapper.java:537)
Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call flex.messaging.io.amf.ASObject.writeObject() : Java heap space
---- Debugging information ----
message : Could not call flex.messaging.io.amf.ASObject.writeObject()
cause-exception : java.lang.OutOfMemoryError
cause-message : Java heap space
-------------------------------
at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:103)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:205)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:54)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:65)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:63)
at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:65)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter$1.writeToStream(ExternalizableConverter.java:59)
at com.thoughtworks.xstream.core.util.CustomObjectOutputStream.writeObjectOverride(CustomObjectOutputStream.java:84)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322)
at flex.messaging.io.ArrayCollection.writeExternal(ArrayCollection.java:97)
at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.marshal(ExternalizableConverter.java:81)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:65)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter$1.writeToStream(SerializableConverter.java:100)
at com.thoughtworks.xstream.core.util.CustomObjectOutputStream.writeObjectOverride(CustomObjectOutputStream.java:84)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322)
at java.util.HashMap.writeObject(HashMap.java:1001)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:99)
... 21 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2786)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter.java:71)
at com.thoughtworks.xstream.core.util.QuickWriter.write(QuickWriter.java:37)
at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endNode(PrettyPrintWriter.java:283)
at com.thoughtworks.xstream.io.WriterWrapper.endNode(WriterWrapper.java:37)
at com.thoughtworks.xstream.io.path.PathTrackingWriter.endNode(PathTrackingWriter.java:48)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:65)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter$1.writeToStream(ExternalizableConverter.java:59)
at com.thoughtworks.xstream.core.util.CustomObjectOutputStream.writeObjectOverride(CustomObjectOutputStream.java:84)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322)
at flex.messaging.io.ArrayCollection.writeExternal(ArrayCollection.java:97)
at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.marshal(ExternalizableConverter.java:81)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:65)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter$1.writeToStream(SerializableConverter.java:100)
at com.thoughtworks.xstream.core.util.CustomObjectOutputStream.writeObjectOverride(CustomObjectOutputStream.java:84)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322)
at java.util.HashMap.writeObject(HashMap.java:1001)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Please Help !!
Regards,
Era
Hi all,
Challenge our experts !
If you are a customer with a support contract, then we would like to invite you to join us in LoadRunner Support Customer Forum on July 29th when HP product Experts will be online for 12 hours to answer any questions regarding the following topic:
LoadRunner v12.00 and v12.01 New Features
What is an Online Expert Day?
Online Expert Day is an event when HP product, R&D, and Support team members and other employees join our online forums to answer your toughest technical questions. Online Expert Days give you a chance to interact directly with the HP Experts!
For more information on our Support Customer Forums and how to add your Support Agreement ID (SAID) to your HP Passport profile, please click here.
For upcoming Online Expert Days, please bookmark the HP Software Online Support Services - Forum events page.
Greetings,
Bill
I add a new LoadGenerator in Windows Server 2008, close the firewall ,add start the Agent Process.
But I cannot connect this LoadGennerator in Contrallor machine.
When I click connect ,it will prompt the information "Failed to connect to the load generator.Check the output window for more details" in Details,and the process"lr_bridge" have not be started in LoadGenerator machine.
Who knows the reason?
Hi,
We have an explicit requirement to develop the scripts in QTP for some customized functionalities in ALM and load test it in LR 12.
PS: Recording of customized functionalities is not supported in LR 12.
Please give us the steps how we can integrate the QTP scripts to simulate the load and perfrom Load testing.
Thanks,
Prasanna
I am trying to open the Vugen scripts developed for VBA.These script used to work in 11.00 Vugen after we do the VBA setup from Hp loadrunner>Tools>VBA Setup.But now in 11.5 the VBA setup option is not avaiable.So PLease help me how to open the open the scripts.These are the scripts givenn by HP to Test ALM performance.
Hello,
I have a script that does the following:
web_add_header("X-CSRF-Token", "Fetch"); web_reg_save_param_ex("paramName=TOKEN", SEARCH_FILTERS, "Scope=Headers", "HeaderNames=x-csrf-token", LAST); web_url("csrftoken", "URL=http://myurl/session/csrftoken?_={TIMESTAMP}", "Resource=1", "RecContentType=application/json", "Referer=http://myotherurl", "Snapshot=t99.inf", LAST); lr_log_message(lr_eval_string("token: {TOKEN}")); web_add_header("X-CSRF-Token", "{TOKEN}");
which fails with the following log:
Action.c(860): web_add_header("X-CSRF-Token") started [MsgId: MMSG-26355]
Action.c(860): web_add_header("X-CSRF-Token") was successful [MsgId: MMSG-26392]
Action.c(861): web_reg_save_param_ex started [MsgId: MMSG-26355]
Action.c(861): Registering web_reg_save_param_ex was successful [MsgId: MMSG-26390]
Action.c(863): web_url("csrftoken") started [MsgId: MMSG-26355]
Action.c(863): web_url("csrftoken") was successful, 60 body bytes, 305 header bytes [MsgId: MMSG-26386]
token: 17CE4F545080354C892893B7DB32EC71
Action.c(873): web_add_header("X-CSRF-Token") started [MsgId: MMSG-26355]
Action.c(873): Error -26597: Added header value is NULL, empty or contains white spaces only. It is added anyway [MsgId: MERR-26597]
Action.c(873): web_add_header("X-CSRF-Token") highest severity level was "ERROR" [MsgId: MMSG-26391]
Any idea how LR can know a parameter on one line, and then forget it by the very next line?
Thanks,
Paul
Can load runner listen to events from the system it is testing?
Such as, stop testing immediately?
I am having a few issues recording a performance test script using HP Virtual User Generator, in particular for the SAS product MA (Marketing Automation). I am simply trying to record the login scenario initially.
I solved initial issues by importing in SAS specific jar files as the script was trying to build SAS specific objects, as well as having to import flex jars for the Action Message Format messages.
See attachment for jars I have imported.
I have also made sure that HP VuGen is running the same java version as the SAS application (jre 1.6 update 30)
I am still getting errors on a few amf calls. Please check attachment for error list.
I have noticed I only get these errors on flex_web_requests like this one:
flex_web_request("amf_5", "URL=http://rtmarketingops-acc.europe.shell.com/SASCIStudio/remote/" "messagebroker/amf", "Method=POST", "Resource=0", "RecContentType=application/x-amf", "Referer=http://rtmarketingops-acc.europe.shell.com/SASCIStudio/" "sas.ci.shell.swf", "Snapshot=t53.inf", "Mode=HTTP", "EncType=application/x-amf", "BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x03/" "11\\x00\\x00\\x01%\n\\x00\\x00\\x00\\x01\\x11\n" "\\x81\\x13Oflex.messaging.messages.RemotingMessage\\x13operation\r" "source\\x13messageId\\x13timestamp\\x0Fheaders\t" "body\\x11clientId\\x17destination\\x15timeToLive\\x063getCurrentBusine" "ssContext\\x01\\x06I228F1964-9320-DA68-68A0-A689B4CEC726\\x04\\x00\n" "\\x0B\\x01\\x15DSEndpoint\\x06\rmy-amf\t" "DSId\\x06IED9326C5-161F-9FBD-697F-56D6EC105A28\\x01\t" "\\x01\\x01\\x01\\x06)BusinessContextProxy\\x04\\x00", LAST);
If anyone could give me any insight into this problem, would really help me.
Thanks.
I have catch one value from web_reg_save_param_ex between LR and RB, now I save it in sprintf function, now I want to assign it to NAME in web_button function, how to do it?
Is LR compatible to MS-dynamics CRM ? If so, please advise which version of LR is compatible with th MS-Dynamics CRM and which protocol is best suited for MS-Dynamics CRM 2011?
Hi
Using LR 11.52, tru client protocol:
I am using the Utils.addAutoFilter function to exclude certain calls while I'm running a performance test on our customer site. Things like Google analytics and various external scripts that are running on the page, but are not relevant to my test, or could inflluence the results.
I addded an evaluate javascript block before I open the page, containing the function like this:
Utils.addAutoFilter("http://www.google-analytics.com", false);
Utils.addAutoFilter("https://www.google-analytics.com", false);
Twoo things about this.
1. When I set the fllag to TRUE, the entire site seems to be blocked, and not just the calls too those sites I want to exclude. Is that a flaw in the implementation of the API by HP, or something else?
2. Is it enough to have this call once, or should I repeat it every time I follow a link to a different part of the site?
Hope somebody can shine some light on this...
Which Loadrunner protocol is best for web pasges created using HTML5 andCSS3 ?
1. Web (HTTP / HTML)
2. Ajax True Client
3. Any other protocol?
Hi All,
I am using LoadRunner for Sybase Unwired Platform application performance testing; I am facing some issues while running the scripts
1. Parametrization
I can't parameterize the values in LoadRunner (I am used LoadRunner normal parameterization method for parameterization but is not taking the parameterization values while running the scripts), I got some information from SyBook Online guide but i didn't understand that please any one suggest how parameterization for Sybase recorded scripts
2. Version control
After deployed the new build I can’t run the script which is recorded in older build, While running I got the error "Error: 1053 Message: 'ProcessSyncRequest: No plugin configuration found for module/version'" I know issue is coming only after deploying the new build, Please suggest how to resolve the issue
3. can’t able to give assert
I recorded the script which is recorded in server any way its recorded only request and response so how can I give in the assert in given code hwc.ExpectScreen(m4, "");
Thanks in advance,
Karthick
i used protocal "Truclient Ajax - Firefox" of Loadrunner 11.50 to create scripts to access a web application(a portal )developed via Adobe Experience Manager. in the portal, there is flash.
when i recorded the script a few days ago, i could see the flash on the page. so in my script, i added vertification of the flash object. The replay was fully successfully that day.
while today i fould that during the replay, sometimes the flash could be loaded while sometimes the flash cannot be showed which resulted to replay failure.
Can someone help the issue, pleaes? Did i choose the correct protocal for the application? Thanks very much.
P.S. This thread has been moved from Application Perf Mgmt (BAC / BSM) Support and News Forum to LoadRunner Support Forum. - Hp Forum Moderator
We are trying to use the GWT data formatting extension in VuGen 11.50, but I am getting the below error.
Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://lhrrhldfgmq01.enterprisenet.org:58080/end2end/end2end/securityHandler"
The steps performed are as below;
1. Recorded the script
2. After recording Tools -- Recording options
3. In Data format extension added new chain (i.e.. DFE_EXTN)
4. Added the Data Format Extension as GWT (Selected the application servers .class, .jar and .gwt.rpc files)
5. In code generation option(under Data Format extension), selected the "Enable the data format extension"
6. For "Body" and "Header" select the chain 'DFE_EXTN"
7. In Advanced option, click on Header button - Selected "Record headers in the list" -- Clicked OK
8. Tools -- Regenerate the script
After doing above it is displaying me Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://lhrrhldfgmq01.enterprisenet.org:58080/end2end/end2end/securityHandler"
I got the server log from the application development team and the below error is logged in the server side:
2014-08-08 11:37:41,000 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/end2end]:737] Exception while dispatching incoming RPC call:
java.lang.SecurityException: Blocked request without GWT permutation header (XSRF attack?)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.checkPermutationStrongName(RemoteServiceServlet.java:272) [gwt-user.jar:]
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:203) [gwt-user.jar:]
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) [gwt-user.jar:]
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) [gwt-user.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) [javamelody.jar:]
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) [javamelody.jar:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Any help will be greatly appreciated.
Thanks
Velmurugan K
Hello,
I recorded the login page and it was success.
when i replayed the same script, login script is failed and log is written in my webserver.
It says "<Description>The state information is invalid for this page and might be corrupted.</Description>"
i verified the correlations and looks fine.
As recording was fine, i hope no issues from my application side.
As replay is throwing (HTTP Status-Code=500 (Internal Server Error) error message, i think, some value is wrong sent from load runner script to the webserver or viceversa. couldn't find what could be that value. any inputs?
Hi
I have created Vuser script using RTE protocol for AS400 application and it replayed successfully for one user and I created a scenario using Performance Center 11.5 and tried executing for 2 users but i am getting the below errors
TE_type failed text =to <region> <kEnter>, keyboard locked
Error Waiting 20s before existing user.
Kindly help on the above errors.
Regards
Rama
Hello,
I ´m trying to run LoadRunner Community Edition on XP operaing system, but the latest version 12.00 requires at least windows 7.
Can anyone tell me if there is any trial version for XP?
Where can I get this Trial version?
Thank in advance
Adolfo
P.S. This thread has been moved from Windows XP to LoadRunner Support Forum. - Hp forum Moderator
In goal Scenario ,the transaction response time goal cannot be achieved.
I set the goal transaction response time to 3s , set the duration "00:00:00 after target has been achieved";
but when the time reach the goal ,the Scenario do not stop,and finally alert that the goal can not be achieved;
Who had the same problem ?For help!