Performance Engineering Best Practices and Methodology
cancel
Showing results for 
Search instead for 
Did you mean: 

Tips and Tricks Guide for Ajax TruClient Protocol

SOLVED
Go to solution
rpagadala09
Occasional Visitor

Tips and Tricks Guide for Ajax TruClient Protocol

Hi,

 

 Vugen 11.0 user guide says, I can View the Tips and Tricks Guide for the Ajax TruClient Protocol at the below  location ,

 http://h30501.www3.hp.com/t5/Best-Practices-and-Methodology/bd-p/APP_Perf_VaL_BP 

I tried but  unfortunately I couldn't find.

 

Could some one please post or  send me the Tips and Tricks Guide for the Ajax TruClient Protocol

My  e-mail id is rajreddi20@gmail.com

 

Thanks,

Chinni20

10 REPLIES
leobor
Occasional Visitor
Solution

Re: Tips and Tricks Guide for Ajax TruClient Protocol

My colleague Yair Horovitz posted the following text on quite a few forums.

Just wanted to let you know we've published a tips and tricks document to help you make the most of the new Ajax TruClient protocol available in LoadRunner v11.

Ajax TruClient is a new advanced protocol for modern JavaScript-based applications, including Ajax.
The protocol emulates user activity within a Web browser. Scripts are developed interactively in Mozilla Firefox.

The tips and tricks document is available at HP Software Self-Service site. It is also attached to this post.

Please send your feedback directly to me or to lt_cust_feedback@hp.com

Yair Horovitz
Functional Architect, Load Testing and ALM
HP Software
Email: yair.horovitz@hp.com

rpagadala09
Occasional Visitor

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Hi    Leo,

 

Thank you so much!

 

Thanks,

Chinni20

stijn_1
Acclaimed Contributor

Re: Tips and Tricks Guide for Ajax TruClient Protocol

I can not access this document.

:smileyindifferent:

anuz
Acclaimed Contributor

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Hi
I can't able to access this document.
Highlighted
anuz
Acclaimed Contributor

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Hi,

Iam doing correlation to pick random values from the list of values

the value which is getting changed is

/html/body/div[21]/ul/li[12]
/html/body/div[21]/ul/li[10]

 

so iam editing teh script as var abc=("/html/body/div[21]/ul/li"); in the step which i have to pass teh dynamic value,

I am not sure of where to substitute this variable abc in script so that i will pick random value.

please suggest me how to proceed.Thanks in Advance.

 

manas123
Super Collector

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Hi ,

 

I'm recording an application , where after inputting the request in test box then I have to press TAB on keypad to get some message on application screen , but while recording on AJAXTRUCLIENT ( ver 11.51 with FF) I'm not able to capture the TAB event . So the reply of the script failed Please suggest what to place to get this script corrected .'

 

my email id manasranjan81@gmail.com

 

Thanks

Manas


rpagadala09 wrote:

Hi,

 

 Vugen 11.0 user guide says, I can View the Tips and Tricks Guide for the Ajax TruClient Protocol at the below  location ,

 http://h30501.www3.hp.com/t5/Best-Practices-and-Methodology/bd-p/APP_Perf_VaL_BP 

I tried but  unfortunately I couldn't find.

 

Could some one please post or  send me the Tips and Tricks Guide for the Ajax TruClient Protocol

My  e-mail id is rajreddi20@gmail.com

 

Thanks,

Chinni20


 

Suerte13cr
HPE Expert

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Greetings,

 

I noticed the link posted is for http://support.openview.hp.com/selfsolve/document/KM1017957 which addresses parametrization, the document attached in your post addresses different things as well.

 

I created this KB with that document with the document attached in your response:

 

Regards,

Mario M.

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
nokkave
Occasional Contributor

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Hello,

 

Any way to use download filters in Truclient scripts? I need to exclude google-analytics etc..

 

BR,

V

ssawale
Member

Re: Tips and Tricks Guide for Ajax TruClient Protocol

There is a call you can add using JavaScript action like

 

Utils.addAutoFilter(filter, isIncluded );

 

For google analytics I guess  it should be like

 

Utils.addAutoFilter("http://www.google-analytics.com", true);

Utils.addAutoFilter("https://www.google-analytics.com", true);

 

and if you want to cleanup filters you should use

 

Utils.cleanupAutoFilters ();

 

 

I hope this helps!

 

 

Thanks!

 

 

CptPlastic
Occasional Advisor

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Have you tried to insert a keystroke as a custom event? I had to do something like this before and I used the menu on the left (left click under the step right before and insert a custom step) Sometimes the recorded step is not what you think it is.

//Add this to "OnDomLoad" event