Geeks Talk

Prepare for your Next Interview




Note the Time taken by a query using Loadrunner with Oracle NCA protocol

This is a discussion on Note the Time taken by a query using Loadrunner with Oracle NCA protocol within the LoadRunner forums, part of the Software Testing category; Hi, I need to get the time taken by a long running DB query that is called once i click on a button on an oracle applications form. I use ...


Go Back   Geeks Talk > Software Testing > LoadRunner

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-12-2008
Junior Member
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
LA TSTENG is on a distinguished road
Note the Time taken by a query using Loadrunner with Oracle NCA protocol

Hi,
I need to get the time taken by a long running DB query that is called once i click on a button on an oracle applications form. I use oracle nca protocol while scripting in load runner. My doubt is if i start a transaction and include the code like nca_button_press("") and end the transaction, would the response time of the transaction include the time taken by query as well?If not is there any chance of getting it?

Secondly,i had to give some think time after button press. Otherwise the script fails while replay. My understanding is that think time is required in this case to give sufficient time for the second form to open up.
Now if I include think time and subsequent step as well in the transaction, the transaction response time would include the combination of time taken by the query and also the think time which is specified by me.
Either way i wont be able to get the time taken by the query without the user specified think time influencing it. Please let me know if there is any way or do we need to use the oracle tables.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-13-2008
Expert Member
 
Join Date: Oct 2007
Location: Mumbai
Posts: 347
Thanks: 4
Thanked 54 Times in 44 Posts
bizzzzzare is on a distinguished road
Re: Note the Time taken by a query using Loadrunner with Oracle NCA protocol

Hi,

I guess even if you include the event that triggers the query within your transaction identifiers, If your script uses the resultant output only then would the Query execution time be included in Response.

What I would suggest is include the Query event as a seperate sub-transaction and try trapping the resultant output. This should definitely indicate pass status for the query execution and you can measure the response time as well.

As regards the included think time, you could always neglect think time in your Analysis report. Go to Apply global filter and you shall find a "Include Think Time" clause at the end. Uncheck the same and your analysis report would reflect reposnse times minus think times.

Cheers....
__________________
Regards,

V.Umesh Krishnan
QA Consultant
Reply With Quote
  #3 (permalink)  
Old 02-13-2008
Junior Member
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
LA TSTENG is on a distinguished road
Re: Note the Time taken by a query using Loadrunner with Oracle NCA protocol

Hii Thank you,
i have another issue the think time i place before the form opens is sufficient some times and not at other times.Is there any other way to wait in oracle nca (only)until a form opens like the ctrx_wait_for_event.
Regards
Reply With Quote
Reply

  Geeks Talk > Software Testing > LoadRunner


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
LoadRunner 9.0, Oracle 10G and JInitiator 1.3.1.26 Setup GregF LoadRunner 5 08-12-2008 10:45 AM
using Oracle Web Appl 11i Protocol Sudha_r LoadRunner 5 05-06-2008 05:55 AM
welcome note maruduri Get Together 6 02-22-2008 09:48 AM
Loadrunner with oracle 11i nv_ram82 LoadRunner 1 12-17-2007 12:56 PM
Oracle testing using Loadrunner SamBus LoadRunner 1 09-06-2007 11:39 AM


All times are GMT -4. The time now is 08:39 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved