Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all 12134 articles
Browse latest View live

Re: Ordinal position changes every iteration

$
0
0

Hello,

The Ordinal can be parameterized.  You can save each Ordinal in a parameter file and use them one by one(by setting "Update value on each iteration" in parameters settings), or if you know the formula of the ordinal, you can write the formula by yourself, example code:

        int iter_num = atoi(lr_eval_string("{iteration_number}"));
        int ordinal_num = (iter_num*2)%30 + 1; // your own formula
        lr_save_int(ordinal_num, "ordinal_number");
        
        web_reg_save_param_ex(
            "ParamName=vstablepid_2719_1State",
            "LB=value=\"",
            "RB=\"",
            lr_eval_string("Ordinal={ordinal_number}"),
            SEARCH_FILTERS,
            ...

);


Analysis - Total Number of transactions on a specific period of time

$
0
0

Hi, All.

Good day. 

Asking your assistance on providing me a suggestion/solution on how will i be able to get the total number of transactions in a specific period of time. 

For example, i have ran  the execution from 12:00PM to 2:00PM. All i need is the total number of transaction from 12:30 to 1:30. 

Transaction Summary gives me:
Total # of transactions

Raw Data gives me:

Vuser ID and Transaction Response Time

Graph Data gives me:

Absolute Time and Passed/Failed Transactions

 

Hoping to hear from you all soon.

Regards,
Martin

Re: Analysis - Total Number of transactions on a specific period of time

$
0
0

HI Anamada,

select the obsulute time in "dispaly option". it will gives you the system time (12 hrs formate or 24 hrs formete)

and then in global filter , giev the scinero elapsed time as 12.30 to 01.30

so you will get total transaction b\n 12.30 to 01.30

 

thanks,

Ravi

Re: Analysis - Total Number of transactions on a specific period of time

$
0
0

Hi, Ravi.

You solution gave hope. But upon trying, I received an error "The Maximum value is invalid" after inputing my desired time in the Scenario Elapsed Time option.

Please advised

 

Regards,
Martin

Re: Analysis - Total Number of transactions on a specific period of time

$
0
0

Hi Martin

 the execution from 12:00PM to 2:00PM. All i need is the total number of transaction from 12:30 to 1:30

as per you example after 30 mts of the execution ,you need total transaction for 1 hr (12.30 to 01.30)

just give  from: 000.30.00 and  To: 001:30.00 then you will get it.

thanks,

Ravi

Re: Oracle 2 Tier Application Crashes When Recording Script With VUGen

$
0
0

Hello

 

LR’s Protocol Advisor works on basis some heuristics, it advises, but not guaranties that some exact protocols are definitely used underneath.

Most reliable way to choose right LR protocol for recording is to fund out it from your application. If it possible, please ask developers/support who produced your application what exact protocol is used and choose corresponding LR protocol.

 

Thanks, Dmitry

Clear cache in Truclient web-IE

$
0
0

Hello,

I am using Truclient Web-IE protocol to develop script. I want to delete all the Cache whenever I run the test.

Can anyone tell me, which functions I should use in my script to delete all the Cache before it start test?

Thanks

Re: Clear cache in Truclient web-IE

$
0
0

Hi,

you can add an Evaluate Javascript step in your script, and use this API to clear cache.

Utils.clearCache();

please note, every time this step be executed, the cache will be cleared.

 


Re: Analysis - Total Number of transactions on a specific period of time

$
0
0

Thanks, Ravi! 

Greatly appreciated. Solved.

Re: COM/DCOM script generation produces an AccessViolationException error

Re: LoadRunner 12.53 - Oracle Ebus Issue

$
0
0

Hi Dikla,

Please find below a sanitised version of the script, its a simple log in and log out script. The issue we have is that we can not replay the script without it failing but also its not capturing anything to correlate to allow us to replay. Once logged on the Oracle Web protocol starts picking up dynamic data but not during the log on..

Action()
{

web_set_sockets_option("SSL_VERSION", "2&3");


web_url("AppsLocalLogin.jsp",
"URL=https://{AppURL}/OA_HTML/AppsLocalLogin.jsp",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);

web_submit_data("AppsLocalLogin.jsp_2",
"Action=https://{AppURL}/OA_HTML/AppsLocalLogin.jsp?",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=https://{AppURL}/OA_HTML/AppsLocalLogin.jsp",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
EXTRARES,
"Url=media/spinner.gif", ENDITEM,
LAST);

lr_think_time(17);

lr_start_transaction("Login");

web_submit_data("AppsLocalLogin.jsp_3",
"Action=https://{AppURL}/OA_HTML/AppsLocalLogin.jsp?",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=https://{AppURL}/OA_HTML/AppsLocalLogin.jsp",
"Snapshot=t3.inf",
"Mode=HTML",
"EncodeAtSign=YES",
ITEMDATA,
"Name=username", "Value={Username}", ENDITEM,
"Name=password", "Value={Password}", ENDITEM,
"Name=_lAccessibility", "Value=N", ENDITEM,
"Name=langCode", "Value=US", ENDITEM,
LAST);

web_url("OA.jsp",
"URL=https://{AppURL}/OA_HTML/OA.jsp?OAFunc=OANEWHOMEPAGE",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://{AppURL}/OA_HTML/AppsLocalLogin.jsp",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);

web_url("detachTable.js",
"URL=https://{AppURL}/OA_HTML/cabo/oajsLibs/detachTable.js",
"TargetFrame=",
"Resource=0",
"RecContentType=text/plain",
"Referer=https://{AppURL}/OA_HTML/OA.jsp?OAFunc=OANEWHOMEPAGE",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);

web_custom_request("RF.jsp",
"URL=https://{AppURL}/OA_HTML/RF.jsp?function_id=MAINMENUREST&security_group_id=0",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/xml",
"Referer=https://{AppURL}/OA_HTML/OA.jsp?OAFunc=OANEWHOMEPAGE",
"Snapshot=t6.inf",
"Mode=HTML",
"EncType=application/xml",
"Body=<params><param>RESPLIST</param><param>HOMEPAGE</param></params>",
EXTRARES,
"Url=../OA_MEDIA/folder_xxx.png", "Referer=https://{AppURL}/OA_HTML/OA.jsp?OAFunc=OANEWHOMEPAGE", ENDITEM,
LAST);

web_url("disclosecollapsed_16_xxx.png",
"URL=https://{AppURL}/OA_HTML/cabo/images/skyros/disclosecollapsed_16_xxx.png",
"TargetFrame=",
"Resource=0",
"RecContentType=text/plain",
"Referer=https://{AppURL}/OA_HTML/OA.jsp?OAFunc=OANEWHOMEPAGE",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);

lr_end_transaction("Login",LR_AUTO);

 

 

Thanks,

Dave

To automate or not to automate

$
0
0

Why are you still holding on to manual testing? Has the experience of an automation failing been so expensive? Or are you avoiding it because you don’t want to experience the former? The reasons for avoiding are many like complexity, expensive, time and skill intensive, time to market, human errors.

Manual testing is absolutely essential. Test automation cannot replace manual testing. If testing is means to build high quality software, then test automation is a means to mean. You would agree, it is one of the effective strategies to build optimum software testing process. But the dilemma continues…

One one hand lies to cost of developing, maintaining and operating test automation. And on the other hand lies of the cost of increased time to market and the unidentified bugs due to lack of 100 % manual regression. What would you choose?

communication between trueClient and VUgen

$
0
0

Hi, I have an issue with true client.

when I run a script in develop mode on firefox true client is not loading - just partial (as on the screenshot) and I cannot do anything.

after that I receive a message about comunicaton error (screenshot2)

We tried to reinstall LR, run VUgen as administrator, change user aacounts control options. None of these actions solved the problem.

Other browsers has simillar issues, however the true client does not load at all. the communication error also occours.

Any ideas what is wrong ?

Thanks and regards

Pawel

Re: communication between trueClient and VUgen

$
0
0

Hi Pawel,

3 questions:

which LR version is this and on which OS did you install

when you installed LR - did you run the installation as administrator?

Thanks,

Lior

Re: Load Runner Free Version License help.

$
0
0

Hi Llor,

Ya i downloaded 12.53 and i installed it in windows 10 os. I uninstalled it and once again re-installed with administrative privileges. Now also i am facing the same problem.

 

Thanks & Regards,

NP.Gopi Krishna.


Re: Load Runner Free Version License help.

$
0
0

Hi Gopi,

it sounds like a deeper problem than I can offer assistance here I'm afraid.

I suggest opening a case for LR support as this should not happen.

Good Luck,

Lior

Re: LR Bug - Click on Link does not work wiht parameter

$
0
0

Hi Kay,

If you use TC.getParam in the context of object identification section you should use ArgsContext prefix before it.

Example: ArgsContext.TC.getParam("myParam");

Regards,

Shlomi

Re: communication between trueClient and VUgen

$
0
0

Hi Pawel,

Most likely firefox version was upgraded by mistake. Please restore the firedfox version from the setup files and try again.

Regards,

Shlomi

 

Re: LR Bug - Click on Link does not work wiht parameter

$
0
0

Hi,

thanks for the response. I tried everything, the solution was to delete the "click" step and add the Step completly new. However, both steps were completly the same but only the new one was working.

regards.

Where do I obtain previous versions of HP LoadRunner?

$
0
0

Hi All, 

We currently have LoadRunner 12.5 Community Edition.  My user is requesting LR 12.02 Community Edition for testing with SiteScope.  Where that can be obtained?  thanks

-Cheri

Viewing all 12134 articles
Browse latest View live


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