HPE Software Products: LoadRunner Support Forum
Share |

Load Testing of MQ topic/subscriberOpen in a New Window

Hi,

In my current project, I need to load test one architecture consisting of event services which will publish messages to the MQ topic and there are subscriber applications which will listen to the topics and take action accordingly like sending notification or updating database. My question is what should be in scope of load testing for this arcitecture:

I have the services to send the messages to the MQ topics, but dont have any information how the subscriber application is listening to the topic assuming the call is asynchrnous in nature. Do we have any mechanism to test the subscriber funcationlity at all with loadrunner or we should restrict the testing of the publishing messages only? 

Any help will be highly appreciated

 

Javascript Syntax for lr.[start][end]Timer FunctionOpen in a New Window

Hello,

Can anyone help me with the lr.startTimer | lr.endTimer function? I can't find an example of syntax. I want to use it to measure different sections that are loading to a page independently of each other.

Can I use it like lr.start|endTransaction or do I need to develop a method?

Thanks!

Jes

 

Capturing a text in guiOpen in a New Window

Hi,

I need to capture a text say numbers(12345) from the objcet "transaction no. 12345  saved". I am able to fetch entire "transaction no. 12345  saved", but not the number , please let me know how to extract the number from the gui-page. when i am checking ths snapshots, i am getting only 3 options on right click: get text , get param and get type

LR version:12.5

protocol: sap GUI

Thanks and Best Regards

Vishal Barnwal

 

JS files does not load on TruClient browsersOpen in a New Window

Hello Team,

I’m trying to record a TruClient script for a customer. Their website seems to work perfectly on all the browsers [Chrome, Firefox and IE]. But when I try to develop the script using TruClient, the page that loads some java script files from an external source doesn’t work and what happens to be a scheduler doesn’t get generated. [Screenshot below]. I even checked the console log, it says the JS files couldn’t be loaded, it is considering the files as insecure content as they are using HTTP instead of HTTPS.

Could you please suggest me a work around for this.

 

Scheduler works on browsersScheduler works on browsersScheduler does not load on TruClient IDEScheduler does not load on TruClient IDEConsole log snapshotConsole log snapshot

 

How to handle cookies in Load RunnerOpen in a New Window

Hi guys,

I have a loadrunner script with too many refresh_tokens and access_tokens. Both refresh_tokens and access_tokens are changing on every links in my script. I collerrated all these values and/ pass them to the links below. 

the problem starts when I'm loading users for a test. they fail with the error, "No match found for the requested parameter "pAccess_Cookie_4". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 4096 bytes. The total length of the response is 25 bytes. You can use "web_set_max_html_param_len" to increase the max parameter size."

HERE IS THE VALUE THAT I HAVE TO CORRELLATE AND PASS IT TO THE FOLLWING URL

 {\r\n
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImEzck1VZ01Gdjl0UGNsTGE2eUY
 zekFrZnF1RSIsImtpZCI6ImEzck1VZ01Gdjl0UGNsTGE2eUYzekFrZnF1RSJ9.eyJpc3MiOiJodHRwczovL2ZuYnNx
YXNzby5mbmIuY28uemEvaWRlbnRpdHkiLCJhdWQiOiJodHRwczovL2ZuYnNxYXNzby5mbmIuY28uemEvaWRlbnRpdHkvcmVzb3VyY2VzIiwiZXhwIjoxNDkwNjkzMTAyLCJuYmYiOjE0OTA2OTMwNDIsInN1YiI6Ijg4MjQ1IiwiYXV0aF90
aW1lIjoxNDkwNjkzMDQyLCJpZHAiOiJpZHNydiIsIm5hbWUiOiJEYXJyZWxsTWljaGVhbCIsImNsaWVudF9pZCI6Im
ZuYnN3ZWIiLCJzY29wZSI6WyJmbmJzc3RyZWFtaW5nIiwiZm5ic3dlYmFwaSIsIm9mZmxpbmVfYWNjZXNzIl0sInN0
cmVhbWluZ19kZWxheWVkIjp0cnVlLCJ3ZWJhcGlfdHJhZGluZyI6dHJ1ZSwid2ViYXBpX2FjY291bnQiOnRydWUsIn
dlYmFwaV9wb3J0Zm9saW8iOnRydWUsIndlYmFwaV9xdW90ZXMiOnRydWUsIndlYmFwaV9tYXJrZXRzIjp0cnVlLCJ3ZWJhcGlfcGVyc29uYWwiOnRydWUsImFtciI6WyJwYXNzd29yZCJdfQ.JtI3cEzJWqWQKG54MXAhFN5kf51p_uhISSU
HtEivNPyT1CYFoQYwuAa75I9Mh1IjDO7CweJRVGEepW5SzuMybCcpulwRhHUSZpsMgba8NoS9lwIbzZ-oBv0JzM6M8XE3UAQ_7m77JY7uQANCs3ZpbhAtRrzzde9VJeVj4CrtMO7ZGNZ_2ISq2Qi7lC1R35DIsVr9BvW8yUxlmk0caltlXyxzJ2D3WYO5wz6HIYOnIGH8c6kz189zm4IeVaxHsoOwk0jmw3wrlmwIMNTGhMPIRwRpvpKyn_OmFAsN51ClgNdjz5ALlaMYJKemZuz1wQwsAA3dN3IZ0B-wkRpnBZnQ",\r\n
 "expires_in": 60,\r\n
"token_type": "Bearer",\r\n
"refresh_token": "9e92534807396d483bcd50a90bdb676d"\r\n
}

Please help me find a better way to handle these tokens.

 

 

 

No Snapshots Available! time to learn a new fact about itOpen in a New Window

Snapshot view is the feature I use the MOST for my script dev and it can get really frustrating sometimes to not find your replay snapshots for no apparent reasons. I do understand that if you're hand coding the script, there isn't going to be any recorded snapshot but replay snapshot should only depend on the "Snapshot=" argument in action functions. It doesn't always.

I have a script with following structure (shown in figure) where the logic for execution is in the main action. It determines and then execute any one or two of the other named actions. For some reason, I don't see any snapshot for the named actions. All the code in vuser_init and Action can capture and display the snapshot but not the rest. The result folder contains the snapshot files captured but for some reason LR vugen doesn't display those. A big inconvenience.

Capture.JPG

 

Correlating CachebustersOpen in a New Window

HI All, 

WOrking on applicaiton which is developed using angular js, the applicaiton has something called cachebusters- its adynamic values which gets generated so as to make browser make a call to server(implement to increase the hits ont he site- inturn revenue).. . This dynamic value is comin as part of the request not the response....

has anyone faced similar issue- any pointers or suggestion would be great help.

web_custom_request("ABC", 
        "URL=https://XYZZ?cacheBuster=1490127656731", 
        "Method=POST", 
        "Resource=0", 

 

In code generation log i see below

****** Request Header For Transaction With Id 368 ******
GET /rest/XYZ/1?cacheBuster=1490127656731 HTTP/1.1

Thanks

 

Pointers to create VuGen script enabled with SAML Token AuthenticationOpen in a New Window

I have a requirement to enable monitoring for applications which use SAML token for authentication.

Any pointer, how can I proceed for it.

I a newbie to HP BSM & VuGen, so need some pointers.

 

Want to install free trail verion of 12.53 community EditionOpen in a New Window

 I am trying to install 12.53 free trail version of community edition but at the end of installation  An error is coming like "set up of wizard  is ended with  prematurly as a error is occured.

 

Please look into this

 

 

Chinese Language support using Vugen protocol http/html & web serviceOpen in a New Window

Using Loadrunner 12.53 on windows 7  64 bit o/s, Vugen with a multiple protocol for http/html & Web service.  I am trying to update and use "chinese characters" in a soap request that works today using English characters.  When i copy / paste the chinese characters "名" in the request it is sending as "???".    I tried using a paramter but still it converts to non character. 

 

Any ideas?  I need to process this as it is passed to a converter function and I need to performance test the impact of the process.  

   "<PersonName>"
                           "<GivenName>晨 辰</GivenName>"
                           "<MiddleName>晨  辰</MiddleName>"
                           "<Surname>晨</Surname>"

 

in replay becomes 

<PersonName><GivenName>hf \xB0\x8F\r</GivenName>

<MiddleName>hf \xB0\x8F\r</MiddleName><Surname>hf \xB0\x8F\r</Surname>

</PersonName>

</ContactInfo>

 

Multiple ProtocolOpen in a New Window

Hi 

Am trying to record an application which requires the following protocols

1. Web Http/Https

2. Citrix

3. SAP GUI

Please suggest is it possible to use all three protocols at a time for recording

Also note am trying with Trail Version HP Loadrunner 12.53

 

 

Response time mismatch while running Selenium in Java VUserOpen in a New Window

Hi All,

I am trying to execute the selenium script as Java VUser script. When I executed the script, I am experiencing mismatch in the response time of Java VUser script  compared to response time captured in the web script of the same test case. For eg. 90 percentile of Launch the app transaction takes 0.5 secs in web meanwhile same takes 3.5 secs in the Java VUser script.

Please suggest me how to identify the server response time for the same transaction. Any suggestion would be highly appreciated.

Thanks in advance!

 

Creating a HTTP / ICA (Citrix) script but no script generate in citrix in the LR 12.53Open in a New Window

i am using the http and ICA(Citrix) mulicate protocol to record the script by LR12.53.

but from now on only record the script with http, no any script generate in Citrix.

i need to know how can i get the script with Citrix. BTW, i can not using the ica file,because the ica file will be invalid when using one time. so we have to click the button from the IE browser.

give the script example when i recored.
    web_submit_data("List_2", 
        "Action=https://lims.pg.com/Citrix/GADC-LIMSWeb/Resources/List", 
        "Method=POST", 
        "RecContentType=application/json", 
        "Referer=https://lims.pg.com/Citrix/GADC-LIMSWeb/", 
        "Snapshot=t7.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=format", "Value=json", ENDITEM, 
        "Name=resourceDetails", "Value=Default", ENDITEM, 
        LAST);

    web_custom_request("GetUserName", 
        "URL=https://lims.pg.com/Citrix/GADC-LIMSWeb/Authentication/GetUserName", 
        "Method=POST", 
        "Resource=0", 
        "Referer=https://lims.pg.com/Citrix/GADC-LIMSWeb/", 
        "Snapshot=t8.inf", 
        "Mode=HTML", 
        "EncType=", 
        LAST);

    web_submit_data("ListAvailable", 
        "Action=https://lims.pg.com/Citrix/GADC-LIMSWeb/Sessions/ListAvailable", 
        "Method=POST", 
        "RecContentType=application/json", 
        "Referer=https://lims.pg.com/Citrix/GADC-LIMSWeb/", 
        "Snapshot=t9.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=resourceTypes", "Value=Citrix.MPS.Application", ENDITEM, 
        LAST);

    web_submit_data("Q29udHJvbGxlcnMuTEFCV0FSRTdfUUE-",
        "Action=https://lims.pg.com/Citrix/GADC-LIMSWeb/Resources/GetLaunchStatus/{ICA_File}-",
        "Method=POST",
        "RecContentType=application/json",
        "Referer=https://lims.pg.com/Citrix/GADC-LIMSWeb/",
        "Snapshot=t10.inf",
        "Mode=HTML",
        ITEMDATA,
        "Name=createFileFetchTicket", "Value=false", ENDITEM,
        LAST);

Information:

LR12.53, Citrix Receiver4.6

Issue:

1.What the support version of citrix server with LR12.53

2.why no script displayed in the citrix/http. How can i fix it.

 

HP Load Trail VersionOpen in a New Window

Hi HP Team,

Does it any policy or Audit problem if we run HP Load Runner Trail Version(12.53) in the Performance Load testing environment. Please let me your thoughts in this space. 

 

Sur 

 

 

 

 

In Controller 11.52 version, i am unable to download the PDF, XLXS and CSV fileOpen in a New Window

In Controller 11.52 version,  i am unable to download the PDF, XLXS and CSV file

The transcations are failing.

 

 

How to Create Customized Graph in HP LoadRunner AnalysisOpen in a New Window

Hi, How can I create a customized graph in HP LoadRunner in Analysis. LR collected a lot of data and I want to be able to customize my own graph. Example, define my own x-axis and y-axis. Is that possible in Analysis? Thanks everyone.

 

LR 11.52 - VuGen reply errorsOpen in a New Window

HI Experts,

We are getting below errors messages when replay the LR script:

Warning: LoadLibrary failed for extension lrwreplaymain.dll. System error: The specified procedure could not be found.

Warning: Extension lrwreplaymain.dll is not loaded.
Warning: LoadLibrary failed for extension lrwreplaymain.dll. System error: The specified procedure could not be found.

Error: Failed to load client QTWeb.
Error: Not all extension Dlls were loaded.
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.

 

We are using LR 11.52 version. Appreciate if you have quick solutuon provided.

 

Thanks,

Manjunath

 

The RPC server is unavailable - exception seen during Jenkins pipeline execution of HP LR pluginOpen in a New Window

We're trying to invoke a LR scenario from Jenkins via pipeline code using the loadRunnerTest step, but when the test completes there is an error right after the 'closing controller' step. The error says 'RPC server is unavailable'.. logs copied below for the relevant section.

there are no remote load generators used here. And we're on LR 12.5. Anyone else seen this before? 

 

Analyzing results...
closing Controller
Unhandled Exception: System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
   at HP.LoadRunner.Interop.Wlrun.LrEngineClass.get_Scenario()
   at HpToolsLauncher.TestRunners.PerformanceTestRunner.updateVuserStatus()
   at HpToolsLauncher.TestRunners.PerformanceTestRunner.isFinished()
   at HpToolsLauncher.TestRunners.PerformanceTestRunner.DoTask(Object state)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Recording test results
None of the test reports contained any result
RunResultRecorder: didn't find any test results to record

 

 

Need assistance recording JavaFX client applicationOpen in a New Window

Hi,

I'm attempting to record a JavaFX rich-client 32-bit application.  So far I've tried Web Http/html and nothing is recorded.  I'm now trying Java Record Replay with "Record:  Java application" and "Main class:  {class name}" and am receovomg compilation error messages and INFO in the recording log:

/* ******* Compilation error messages . ****** */

Notify: Found jdk version: 1.8.0.    [MsgId: MMSG-22986]
classpath={removed from view}...    [MsgId: MMSG-22986]
Compilation process failed.    [MsgId: MERR-22997]
cannot find symbol    [MsgId: MERR-22986]
        _hashmap1 = _businessobject1.retrieveAllApplicationConstants();    [MsgId: MERR-22986]
                                    ^    [MsgId: MERR-22986]
  symbol:   method retrieveAllApplicationConstants()    [MsgId: MERR-22986]
  location: variable _businessobject1 of type BusinessObject    [MsgId: MERR-22986]
incompatible types: boolean cannot be converted to Hashtable<?,?>    [MsgId: MERR-22986]
        _initialcontext2 = new javax.naming.InitialContext(true);    [MsgId: MERR-22986]
                                                           ^    [MsgId: MERR-22986]
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output    [MsgId: MERR-22986]
2 errors    [MsgId: MERR-22986]

/* ******* Sample Recording Log messages .  There are several of these ****** */

....  INFO  com.hpe.lr.java2.codegen.RmiProcessor.processPrologEpilogPair() - can not parse return value ....

Any guidance you can provide will be appreciated.

Thanks.

 

ISO 8583 message performance testing by using load ruunerOpen in a New Window

Hi All, 

Request you to please let me know the approach to do performance testing by using ISO 8583 message. 

 

Thanks & Regards,

Gyan 

 

Contact Us

Vivit Worldwide
P.O. Box 18510
Boulder, CO 80308

Email: info@vivit-worldwide.org

Mission

Vivit's mission is to serve
the Hewlett Packard
Enterprise User
Community through
Advocacy, Community,
and Education.