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

Response time mismatch while running Selenium in Java VUser

$
0
0

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!


Multiple Protocol

$
0
0

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

 

Chinese Language support using Vugen protocol http/html & web service

$
0
0

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>

Want to install free trail verion of 12.53 community Edition

$
0
0

 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

 

Pointers to create VuGen script enabled with SAML Token Authentication

$
0
0

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.

Correlating Cachebusters

$
0
0

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=1490127656731HTTP/1.1

Thanks

No Snapshots Available! time to learn a new fact about it

$
0
0

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

How to handle cookies in Load Runner

$
0
0

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.

 

 


JS files does not load on TruClient browsers

$
0
0

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

Capturing a text in gui

$
0
0

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

Javascript Syntax for lr.[start][end]Timer Function

$
0
0

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

Load Testing of MQ topic/subscriber

$
0
0

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

Getting "returnToUrl" in TruClient script playback, but works OK manually

$
0
0

Hello,

I have an application which takes a user/password login.  I can do it manually and I have successfully recorded a script that logs a user in.  But, when I play the script back, it returns to the login page with a "returnToUrl."

Some details:

FireFox (52.0.1 (32-bit)

LoadRunner 12.53

HTTPS is enabled

Any clues about getting around this?

Thanks

Using IF-ELSE statement with correlated values

$
0
0

Hi,

I recorded a script with HTML/HTTP protocol for an application developed with JSON script.

In this app, i have 3 dropdowns in which 2 are related and for these i did the correlation. Based on the first dropdown selection, 2nd dropdown values changes.

Here my question is, if 2nd dropdown value is null, it has to select the different value in 1st dropdown. For this, how can i write the code for if-statement.

Thanks in advance for your reply.

Unexpected Error occurs when trying to create a new test in UFT 14.00 Trial version

$
0
0

Source: QTP.BackEnd.Core.DocumentlfsLib

Target Method: Void Save(Int32, System.String, Int32, Int32 ByRef, System.Object ByRef)

Message: System cast is not valid.


Data Base Testing

$
0
0

My Objective is

1.Execute the Database Query(Cluster) from Loadunner scripts

2.Measure the response time

 

Kindly provide the support

vuGen script inserts additional URLs in script

$
0
0

Hi All

I am creating script using vuGen to monitor internal web application. However while replaying I am seeing errors like,

vuser_init.c(75): Error -27794: Could not resolve address of host ocsp.thawte.com       [MsgId: MERR-27794]
Vuser Terminated.

I know I can correct this problem in replay->run time settings->proxy

But my question is why vuGen is trying to connect to host ocsp.thawte.com, since this host is not been used by us.

Please clarify how to avoid this issue

file upload under true client

$
0
0

Hi all,  I'm recording an application under a true client, and at one step I need to upload a file which launch a windows explorer.

Once I replay the script, I uploaded the file but the windows explorer is not closed, and it cannot continue the next step.

My questions:

- how can we close the windows explorer

- how can we get again the focus on the Truclient explorer

 

Thanks

Error occurred during creation of script metadata.

$
0
0

Hello,

I am using windows server 2012 r2, loadrunner version 12.53 and TruClient web.

I am having a TruClient script, which is developed on the loadrunner version 12.02. I open the script in 12.53 and click on convert button. Error is coming “Error occurred during creation of script metadata.”

I have also attached the screenshot of error.

Can anyone tell me, how to fix this error?

Thanks

Not able to Install Full version(12.02) of LoadRunner

$
0
0

Hello, 

I am trying to install 12.02 version of LoadRunner to a new Windows machine I have, but I am not able to install the Controller on it. It gives me individual options to install VuGen and Analysis, but i don't see options for Controller. Clicking on Full Set up does nothing. I am already using same version on a different windows machine that has the same windows version and resources as the new one. Can you please help ?

Thanks

Viewing all 3978 articles
Browse latest View live




Latest Images