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

Citrix Scripting : Applicatiion is based on storefront 2.6 and Xenapp VDA 7.6

$
0
0

Hi,

Application uses storefront 2.6 and Xenapp VDA 7.6.

Problem Statement :

We have installed Citirx 12, Citrix metaframe and LR 11 in our machine and we are unable to launch IExplorer for recording.

application is using Storefront 2.6 and xenapp VDA 7.6

please suggest us how to record above application and prequistes required to be present in the local machine to record the traffic.

please help with following

1. Compatible Vugen version for Storefront and browser compatability of Vugen with this.

  2. Any specific recording setting to be incorporated for this


pop up blocks true client

$
0
0

Hi,

I have an issue with true client. when I play the script there is a pop up from application whit field that is not fully recognized. then the pop up from true client shows up and asks to confirm that this is the field, or locate it or cancel. This is the field, but I cannot confirm it, as the pop up from application with that field blocks me from clicking on locate button.

any ideas how to solve it ? ;)

 

a short video here - https://youtu.be/DtD23FRueto , this what gives sound is thte pop up while I try to click 'yes'

regards

How to obtain the name of the current running script?

$
0
0

In order to output some important results from runs with loadrunner 12.50 using TruClient I am using the command "Evaluate JavaScript" with the following content:

IO.write(TC.outputDir+"outputScript.txt", orderNumber, false)

to write some text to a file named "outputScript.txt". But, since I use multiple scripts, it would be better if I can output the text to a file that is named like the TruClient Script. For example, the name of the script is

GUI_automate_1

then is there a variable I can access in TruClient which contains the same text?

GUI_automate_1

Or do I have to manually define it myself somewhere in the script?

 

 

Correlation

$
0
0

Could you please help me correlate the following values in my script, I have tried correlating and it is failing:

"Name=acct", "Value=Kig4O01QP1tPV09cS1VQICAK", ENDITEM,
 "Name=prem", "Value=KilIJ0JRP19OV09UT1VQICAK", ENDITEM,


See the script below:

web_submit_data("way_xlaunch.cfm_2", 
        "Action=https://alatest2.com/apps/outage/way_xlaunch.cfm?csType=elec", 
        "Method=POST", 
        "TargetFrame=", 
        "RecContentType=text/html", 
         "Referer=https://alatest2.com/wess/wess_hook.cfm?CFID=1037&CFTOKEN=66863157", 
        "Snapshot=t10.inf", 
        "Mode=HTML", 
        ITEMDATA, 
         "Name=acct", "Value=Kig4O01QP1tPV09cS1VQICAK", ENDITEM, 
         "Name=prem", "Value=KilIJ0JRP19OV09UT1VQICAK", ENDITEM,
         "Name=status", "Value=ITJQICAK", ENDITEM,
        "Name=idmode", "Value=JDo7MS5CQCAgCg==", ENDITEM, 
        EXTRARES, 
        "Url=/ala_tst11/images/header.jpg", "Referer=https://alatest2.com/apps/outage/cstt.cfm?CFID=1037&CFTOKEN=66863157", ENDITEM,
         LAST);

Capture a value in a JSON response

$
0
0

When recording the script , it has passed only one request and has got a JSON response.
But when replays same request has send three times and first two request gets 401 status and only the last request gets correct response with 200 status.

I have capture a correlation value in that response. the issue is when it pass three requests , correlation gets failed and if it pass only one request, can capture the correct correlation value. For the same request sometimes it passes only one request some times it passes three requests as mention above.

1. Is there a way to handle this issue?
2. Is there a way to avoid getting 401 status, when it pass three requests? 

(I am using an external javascript file to capture whole JSON response)

When it pass three requests as mention above, getting the following error message:
Error - 26000: Error from JS Engine: "<file path of Javascript file> : 3: SyntaxError: JSON.parse: Unexpected non-whitespace character after JSON data
"

Unable to Record Script in Load Runner 11.52

$
0
0

Hi team,

I was unable to record a script in Load Runner 11.52.Recording option i  have browsed application path after got error"

Could not found application bit capacity" . Can you please help me on this.

How to add variable to JSON file for REST API script

$
0
0

Hi,

I am using LR 12.02 and was wondering if anyone knew how to call a variable into a JSON file (request body) that I use as an Extra File in my Web protocol script (here the file is called CheckoutIndivCust.json).

 

        web_custom_request("web_custom_request",
        "URL=https://connect-qa3.paciolan.corp/pdi/v1/cart/{CartID}/checkout?policyCode=EXPERIENCE",
        "Method=POST",
        "TargetFrame=",
        "Resource=0",
        "EncType=application/json", 
        "Mode=HTTP",
        "BodyFilePath=CheckoutIndivCust.json",
        "Referer=",
        "Body=",
        LAST);

 

Here is a snippet of my JSON script:

        "amount": 86.00
    }]
}

 

Instead of hardcoding the value of 86.00 I want to call a variable that I created called 'Balance'

    web_reg_save_param_ex(
        "ParamName=Balance",
        "LB=\"balance\":",
        "RB=,\"",
        "Ordinal=1",
        SEARCH_FILTERS,
        LAST);

 

How to record RDP SaaS solution using Loadrunner?

$
0
0

We are testing a cloud SaaS system using Loadrunner. We have hit a wall recording this application. The application invokes an seamless RDP connection(inside browser) to connect to the cloud network and all the servers are externally hosted(outside our corporate network). The challenge is that we are able to record only till the point where the RDP connection is launched. No requests are recorded beyond this point. Only requests we see are indecipherable websocket calls. Since the business scenarios that we need to test are quite complex, working with websocket calls seems tricky and tedious. We have tried with Web(HTTP/HTML), Ajax TruClient and RDP protocols till now.

An issue while recording with Ajax TruClient protocol is that the application is mapped/projected as a single GUI element and TruClient is unable to recognize the individual objects with/without XPaths.

RDP protocol generates a blank script despite hundreds of events in the recording log!

Please advise on how to record.


Error -- memory violation : Exception ACCESS_VIOLATION received.

$
0
0

Hi,

Im running stability test with 7 different scripts. Scripts were developed in Web protocol.

After 5-6 hours vUsers starting to faill for all 7 scripts with the following exception:
"Action.c(998): Error: C interpreter run time error: Action.c (998):  Error -- memory violation : Exception ACCESS_VIOLATION received."

I understand it means that Im trying to access a location in the memory which is forbidden or doesnt exist, but why it happens after 5-6 hours and not from the begining.

This issue occur just when testing in V12.53 in 11.51 it didnt happen.

In the scripts we are using DB connection functions, also we are running javaScript to catch correlations in JSON and we have char array. Those are the things I can think about it might cause and issue.

Please advise. Thanks

Replay issues in Silver light protocol script in Vgen

$
0
0

Hi ,

I have recorded one silverlight based application in Vgen..But while replaying getting internal server error and for the next request I am getting HTTP error 401 and requested resource requires user authentication error.Please help me to solve this iisue. 

Loadrunner 12.53 in windows 10

$
0
0

Hello,

Do Loadrunner 12.53 (TruClient Protocol) works in windows 10?

Thanks

 

Load Runner Controller 12.50 Vuser script execution errors

$
0
0

Hi,

we have come across the below error when we increased Vusers from 3 to 5 and TPS is above 220 and we have set the web_set_max_html_param_len(10000000)

vuser_init.c(59): Error -26377: No match found for the requested parameter "SSS". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size.

Please help  to avoid above exeception  from LoadRunenr Controller 12.50.

 Regards,

Vamshi ch

 

Sitescope

$
0
0

SiteScope is integrated to Loadrunner. Does this integrated SiteScope need  a SiteScope Server between the Loadrunner controller and the server to monitor? Or can I connect directly to a server to monitor (e.g. our applications apache server) without any other dedicated SiteScope server?

DNS Resloution time during failover

$
0
0

Is there any way in Loadrunner 12 to find out the DNS resolution time duirng the failover testing?

 We have 2 different site and each has there own DNS. Duruing the failover would like see what is the time taken for DNS resolution for flip form one site to othersite.

 Requests are JSON request sent form windows client.

 

Thanks,

Sunder

Load Runner Trial Version Limitations with respect to Licensed Version

$
0
0

Could anyone Please help me to know the limitations of Load Runner Trial Version over Licensed one.


LoadRunner Community Edition 12.53

$
0
0

In Load Runner Community edition 12.53, i coudlnt see the options "Shared DLL" and "Filters" under  recording options for .Net protocol

Please help

Step Timeout Error when i REPLY the VUGEN LIKE "TOKEN URL "

$
0
0

I have execute my Vugen script meanwhile particular Url has taken more time finally script is Fail , Error Displayed"Step download Timeout Error.

But i had increase the Step download time is "9999" in Run time setting . 

Url link like: 

web_url("connect", 
        "URL=http://aktrea.com/superman/signalr/connect?transport=foreverFrame&clientProtocol=1.5&connectionToken=t20I2x%2Fo%2FwpKdltEbXmVYWaMr6o4HAh9lHSbn2d6DjL7ns3AbDzqWNw90%2FM%2FOzgg74jcakNmGZ6DlDULIrI5727egEL1MEvgYANvJq87o6NxoL%2Fqz7FERNYCWAzati4c&connectionData=%5B%7B%22name%22%3A%22challengehub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&tid=0&frameId=1", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://aktrea.com/superman/challenge/challenge/QuizChallenge?gameid=Hfzdwa8jWcvM0wgwwuPKNi91QabbFLKFDB8j_4dWJUI1", 
        "Snapshot=t119.inf", 
        "Mode=HTTP", 
        LAST);

 

please tell me the Solution.

Using parameters on non-mandatory fields

$
0
0

Hello,

I'm using TC 12.53.

I want to use parameters to fill out a applicationform. The're non-mandatory fields which aren't always filled by a parameters. I was expecting that when a parameter is empty the row will still exists in my parameterlist.

For example
1. A.
2. B
3.
4. A

TC updates my rows to:
1. A.
2. B
3. A


How can I fix this?
In the older version of Loadrunner all the parameters were in one row and in one file. I didn't have the problem with empty values in de parameters. In 12.53 each parameter has it's own file with multiple rows, but I can't leave a row empty.

Please help!

Save is not happening when I click Submit button

$
0
0

I am using WEB http/HTML protocol.  Manually there is no issue only when replying the script. For some reason the save is not happening when the submit button is clicked.  Do I need to add something to the script to make save.

Below is what i see in the web page view source.

<input type="submit" name="methodMapped" value="Submit" onclick="javascript&colon;processElementClick(this);javascript&colon;resetScrollPosition()" id="save" class="buttonLabelBold">

Here is what VuGen Created in the script.

"Name=methodMapped", "Value=Submit", ENDITEM,

 

 

 

HPE StormRunner Load was built on 3 “S”. Find out what they are

$
0
0

HPE StormRunner is a cloud performance testing solution that enhances our performance testing tool set. It complements LoadRunner and Performance Center as a true SaaS solution. Explore the capabilities here.

Viewing all 3978 articles
Browse latest View live




Latest Images