ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  Load Runner
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Explain all the web recording options? How did you find web
server related issues?
 Question Submitted By :: Arpillai
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Explain all the web recording options? How did you find web server related issues?
Answer
# 1
There are situations where recording application using 
protocol Web (HTTP/HTML) encounters problem such as (1) not 
recording events, (2) not launching or (3) crashing. The 
context may deviate however the below list aims to provide 
a quick-and-dirty resolution to the problems. Obviously, 
the quick-and-dirty may work/not work in different 
environment and situations, however it will help you scope 
down the problem in a sequential and logical manner.
 
1.	Use another machine to record 
2.	Use web_custom_request 
3.	Configure Port Mappings using “WinInetlevel data” 
or “Socket level and WinInet level data”. And if necessary, 
define the port and certs. 
4.	Use Older Recording Engine 
5.	Use LoadRunner as Proxy Server on port 7777 for 
Recording (For Older Recording Engine) 
6.	Determine OS Support Status and application type 
7.	Determine the actual protocol and port number using 
Winsock protocol or network sniffing tools (WireShark 
Network Analyzer)
  
I’m leaving out the details at this juncture so that you 
can have an overview steps of what to do when Vugen is not 
recording any HTTP events emitting from your HTTP 
application. I will detailed the steps and reason in the 
subsequent post; so stay tuned!
 
Ok, let’s move to the details on the rationals and steps 
required to get your HTTP application recorded!
 
[1] Use another machine to record
 
Install VuGen on another machine and proceed with 
recording. What we are doing here, is to differ a 
problematic machine to a working one (at a machine-level 
troubleshooting). The existing machine may have problems 
due to a clone image, restricted privileges or previous 
installation of programs (unless you are pretty sure that 
your machine is fully workable with Vugen).
 
[2] Use web_custom_request
 
Use the basic web request methods for communicating to the 
server. This is needed when Vugen (sometimes) is unable to 
recognise the HTTP traffic and compose into web_submit_data 
APIs. Therefore, by instructing VuGen to record using 
web_custom_request only, this will detect all unknown 
communications been used in a HTTP mode to be recorded but 
in a more unreadable or unfriendly web_custom_request 
script.
 
1.1 Create a new Multi-Protocol Web (HTTP/HTML) script; do 
not create a Single Protocol script.
 
1.2 In the recording options, select recording to be URL-
based script (not HTML mode) and select “Use 
web_custom_request only”. Proceed with the recording.
[3] Configure Port Mapping
 
Some applications may use ports that are different from the 
browser. The default HTTP port is 80 by most application 
but this may not be used by the application that you are 
recording against. In such situation, you may need to 
configure Vugento capture the HTTP traffic by mapping the 
ports to the service type. The service type other than HTTP 
are FTP, Socket, etc depending on your application needs. 
In this way, Vugen will become a proxy and capture traffic 
on the defined port. 
 
1.1 In Recording Options ensure that you are already using 
web_custom_request only as stated in the previously.
 
1.2 Go to Port Mappings, remove all registered Entry and 
add New Entry with the known information (such as port 
number and target server). Note that there should not be 
any duplicate port numbers.
 
1.3 If 1.2 didn’t resolve the problem, try using “WinInet 
Level data” for the Capture Level and record the 
application.
 
1.4 If 1.3 didn’t resolve the problem, try using “Socket 
level and WinInet level data” for the Capture Level and 
record the application.
 
1.5 If the above didn’t resolve the problem, edit the port 
mapping entry; change the “Record Type” to “Direct” and 
to “Proxy” if you using SSL. If you know the ciphers used 
and type, you can configure it here.
 
1.6 For SSL, either client-side or server-side, refer 
to “Configuring the Port Mappings” of the Vugen User Guide 
for the detailed information. You will have to provide the 
certificates in either Base64 or PEM format. PEM format can 
be converted with a tool called openssl.exe availablie with 
the installer as well as online search. 
  
[4] Use Older Recording Engine
 
This is to utilize the old recording engine prior version 
8.1. The old version records at the proxy level whereas the 
new engine records on the process level. 
 
[5] Use LoadRunner as Proxy Server for Recording (For Older 
Recording Engine)
 
If [4], didn’t work out right, you have to specifically 
configure LoadRunner as a proxy to record all communication 
via port 7777. Take note that this is in the old recording 
engine.
 
1.1 In Recording Options, under Browser, set the 
application to launch manually with “Manually launch an 
application”
 
1.2 Under Recording Proxy, select “No Proxy”.
 
1.3 On a separate machine (e.g. Machine A), set the Proxy 
to the LoadRunner machine with port 7777. (NOTE: Proxy 
server can be configured on the LR machine itself).
 
1.4 Start recording on LoadRunner machine.
 
1.5 Invoke the application on Machine A.
 
1.6 You should be seeing events counted on the LoadRunner 
machine. It means the target application accesses the LR 
machine and LR is recording it.
 
[6] Determine OS Support Status and application type
 
At this point, you have tried almost everything (and have 
come to theend of the road/solutions). My recommendation is 
to check out with Mercury/HP support, on the support level 
of the target application. Also check them out if they had 
encountered such problems before. 
 
[7] Use Winsock protocol or network sniffing tools
 
Using WinSock protocol, you can determine the actual 
communication method by the client to the server. With this 
evidence, you can bring forward a discussion with your 
client on the unknown communication method. Another good 
tool to use is the WireShark Network Analyzer (formerly 
known as Ethereal Network Analyzer) to identify the 
communication and port being used.
 
Is This Answer Correct ?    2 Yes 0 No
Madhu
 

 
 
 
Other Load Runner Interview Questions
 
  Question Asked @ Answers
 
What is main usage and function of MI Listener? Please anyone give me a correct ans.....  2
What is memory leakage? Fiserv2
How many types of scripts generated in LoadRunner?What are they? Liquid-Crystal4
If web server, database and Network are all fine where could be the problem?  2
Hi, I'm trying to measure page load times in a web app. How do I verify that the page I go to next is fully loaded? Do I use content verification (web_reg_find)? I am measure the time it takes for a page to load and then the user goes to another page and another and so on. I need to know how long it took for page one. How long it took for page two and so one. I'm using transactions for each page, but I want to make SURE that the page is fully resolved/loaded before the scenario goes to the next page. So, does LoadRunner automatically do this or do I have to use content verification or do I do it in some other way? Thanks, Brian  1
Hi every one, i am working as a Test Engineer i was assigned to a web based project so i need some information regarding load testing what are all the topic i need to look into to work efficiently on the load testing of java application please help me out with all the details i need to look into i would be Thank full  2
How u know that 20th user not running correctly in ur graph? ITC-Infotech2
What is load testing? Ordain-Solutions5
i dnt kw loadrunner but i want kw.plz can any 1 help me  1
What is Latency in LoadRunner? What is Network Latency? could u explain in detail how to define this network Latency in LoadRunner? Thanks in Advance EDS5
What is Differed Bug? IBM2
how did u do performance testing in ur project?plzzz guys with experience answer in detail, like hw u ppl have used it in ur project. Thanku in advance.  1
How do you debug a LoadRunner script?  1
Can u plz tell me what r the functions available in load runner and how to write userdefined functions and what are they?  1
if throughput graph shows low and high than what will u do?  1
Generally LoadRunner uses to test the load. ( client- server, webbased applications,... etc). Shall we use LoadRunner instead of WinRunner or some other tools? Ness-Technologies7
WHAT IS THE DIFFERENCE BETWEEN MANUAL CORRELATION AND AUTOMATION CORRELATIONS? Wipro2
1st i would like thankfull to (Mr.AJAY,MR.Srinivas,Rani) which u gave nice Posting Answers,my question is to get a job in performance testing how we have to pripare like what part i have to cover,i did not done any project just knoledge on tool, i am expecting valuble sugistions , gideliens to achive goal?(Chandana)  1
How do decrease the TPS,when one Vuser is running? For example, I am running one DRB with TPS 18 TPS, I want to maintain it as 7 TPS, how?  2
U r taken ORD=All in correlated function.What it represents.Now i want to capture the ORD=3 occurance& place it in web_submit_data of vu gen script. How can u do it? EDS2
 
For more Load Runner Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com