Best solution, try and up your skills to be able to handle as much as
possible with a straight http virtual user. Developers will always be able
to build a toolkit to defeat such tools and the market will always be able
to engineer a less effective person with the label "performunz testur" who
will be unable to use a tool effectively no matter how low the skill level
needed to be effective. But, with the skills to use a lower level
interface you get the benefits of a lower resource use virtual user model
(more per VU host) and the skills to fill in the gap when new toolkits
emerge from the development ether
James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix
WTG
--
You received this message because you are subscribed to the Google
"LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en
I wonder, is it possible to script (in either c or java) inside a vuser recorded script to controll/manipulate elements, clicking radio-buttons and so forth on a web app/page using Ajax and being under test?
Problem is that when running a vuser script against a web app implemented using Ajax I need to manipulate page elements in order to get the script running (using http-protocol) and because http-protocol is focused on recording http-traffic as in web requests and responses the manipulation/client side behavior is not captured during recording.
GUI Virtual User Scripts are written in QTP and operate the end user interface just as a user. So, if you need absolute manipulation of the end user interface as a user, then this is your route. Alternae? Citrix or RDP but forget the rich object information available with QTP GUI Virtual Users
From: LR-Loa...@googlegroups.com [mailto:LR-Loa...@googlegroups.com] On Behalf Of Magnus Jensen
Sent: Friday, February 08, 2013 6:26 PM
To: LR-Loa...@googlegroups.com
Subject: Re: LoadRunner v11 - Ajax TruClient - Tips and Tricks
Hello James,
Recording a VUser (GUI) script against my asyncrone webapp misses to capture some 'Actions' as in clicking and choosing i.e. a radiobutton. This is because there is no reguest/respons traffic happening (using http protoco in LRl).
Question being could this be done manually, as in putting some custom JavaScript into the recorded script, at the right step, to manipulate (read: "clicking and choosing i.e. a radiobutton") the webpage/app before the next web_submit/urlis to be executed?
I hope you understand my description :-)
Thank you for being helpful with your experience!
//Magnus
--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
So long as the actions use HTTP as a carrier protocol, even if asynchronous the actions will be captured. The nature of true Asynchronous applications is that they have some component of Fire and forget while a thread waits for a response and the order of the actions can be different next time through, even for the same business process.
Here is what I have found….Business processes tend to be stepwise and synchronous in nature. Where asynchronous elements do exist are for calls to external components independent of the business process under test (in the case of a commercial or business facing application, social media|etc… excluded). These apps record just fine, especially since the calls to the third party components which are not under consideration for test are going to be scrubbed anyway when you execute.
From: LR-Loa...@googlegroups.com [mailto:LR-Loa...@googlegroups.com] On Behalf Of Magnus Jensen
Sent: Friday, February 08, 2013 6:42 PM
To: LR-Loa...@googlegroups.com
Subject: Re: LoadRunner v11 - Ajax TruClient - Tips and Tricks
This being an asyncrone app, some actions do not get captured by regular recording due to that LR http-protocol only captures http-traffic (req/respond):
My question being: Is it possible to add some custom code to manipulate the page under test during tests-run to get the right state before calling the next 'recorded' step?
Thanks you for your replies on LR so far.
Best Regards
Magnus
On Friday, February 8, 2013 11:35:58 PM UTC+1, James Pulley wrote:
--
I have never found an absolute need to use TruClient where I could not handle the application with traditional technologies. In many cases TruClient is being deployed to address a paucity in actual user skills to address dynamic data in standard application. In short, one end of the balloon animal is being squeezed and the resource consumption is being moved elsewhere. There are certainly places where the applications are so complex and dynamic where what is handled by TruClient provides an efficiency boost over standard HTTP only development models. I have not run into them. I have colleagues who have and claim benefits from TruClient in such a case.
From: LR-Loa...@googlegroups.com [mailto:LR-Loa...@googlegroups.com] On Behalf Of Magnus Jensen
Sent: Friday, February 08, 2013 7:18 PM
To: LR-Loa...@googlegroups.com
Cc: james....@jamespulley.com
Subject: Re: LoadRunner v11 - Ajax TruClient - Tips and Tricks
But as you have allready stated in some other posts I have red; keep the script at a http-Level do not include i.e. TruClient in Your testware. I will og for that.
TruClient != QTP
Quicktest Professional is an automated functional testing tool which is used to drive the actual end user interface of the application. A single OS instance and full instance of the application under test are required for this virtual user type.
From: LR-Loa...@googlegroups.com [mailto:LR-Loa...@googlegroups.com] On Behalf Of Magnus Jensen
Sent: Friday, February 08, 2013 7:27 PM
To: LR-Loa...@googlegroups.com
Cc: james....@jamespulley.com
Subject: Re: LoadRunner v11 - Ajax TruClient - Tips and Tricks
just to clarify. TruClient is QTP?
it does not matter to this question, but it is ineresting if that is the case (all being HP)...