Re: Tips and Tricks Guide for Ajax TruClient Protocol (6427 Views)
Reply
Respected Contributor
rpagadala09
Posts: 379
Registered: ‎11-19-2010
Message 1 of 10 (14,549 Views)
Accepted Solution

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

Please use plain text.
Respected Contributor
leobor
Posts: 195
Registered: ‎07-08-2009
Message 2 of 10 (14,549 Views)

Re: Tips and Tricks Guide for Ajax TruClient Protocol

[ Edited ]

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

Please use plain text.
Respected Contributor
rpagadala09
Posts: 379
Registered: ‎11-19-2010
Message 3 of 10 (14,548 Views)

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Hi    Leo,

 

Thank you so much!

 

Thanks,

Chinni20

Please use plain text.
Occasional Visitor
stijn_1
Posts: 1
Registered: ‎03-29-2011
Message 4 of 10 (14,548 Views)

Re: Tips and Tricks Guide for Ajax TruClient Protocol

I can not access this document.

:smileyindifferent:

Please use plain text.
Visitor
anuz
Posts: 2
Registered: ‎10-18-2011
Message 5 of 10 (13,786 Views)

Re: Tips and Tricks Guide for Ajax TruClient Protocol

Hi
I can't able to access this document.
Please use plain text.
Visitor
anuz
Posts: 2
Registered: ‎10-18-2011
Message 6 of 10 (13,776 Views)

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.

 

Please use plain text.
Advisor
manas123
Posts: 14
Registered: ‎03-27-2013
Message 7 of 10 (8,289 Views)

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


 

Please use plain text.
HP Expert
Suerte13cr
Posts: 736
Registered: ‎09-14-2011
Message 8 of 10 (8,190 Views)

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.
Please use plain text.
Established Member
nokkave
Posts: 3
Registered: ‎11-05-2012
Message 9 of 10 (6,427 Views)

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

Please use plain text.
Frequent Advisor
ssawale
Posts: 42
Registered: ‎07-16-2010
Message 10 of 10 (2,637 Views)

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!

 

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation