what is the difference between the HTML and URL based
recording in load Runner?
Answers were Sorted based on User's Feedback
Answer / maheshwar
HTML based recording:
1.It will capture only HTML based resources.
2.URLs are developed based on each action performed by the
3.Resource=0 for all the URLs generated under HTML based
4.Functions developed under this are
URL based recording:
1.It will capture all the Non-HTML bases resources in the
application i.e, Jpeg,bitmap etc
2.URLs are developed based on the steps performed by the
3.Resource=1 for all the URLs in the developed script.
Note:Resource=0 is also some times being displayed in the
4.Functions developed under this are
|Is This Answer Correct ?||32 Yes||3 No|
Answer / satish
Context Sensitive based script recording
HTML-Based / describing user actions is the easiest to maintain
For example, assume there is a link called "Continue" that
sends you to http://localhost/ index.html. Your script
records "Continue", and NOT the destination URL. So, if
sometime later your application developer decides to change
the URL associated with "Continue" to something else - like
http://localhost/ home.html, your script will still work
correctly - and go to "home".
LoadRunner parses the HTML it received from prior server
responses to determine what the full URL is behind the
Continue link(i.e. Context Senistive).
LoadRunner does as much work for you as it can, leaving you
with the fewest script statements to maintain.
No context would be considered during script recording,
every statement get recorded independently
Every thing would get recorded as URL only. i.e. web_url
In this case if URL based recording is used then script will
fail during replay.
URL mode records every URL that LoadRunner is supposed to
ask for –but without the actual parsing.
So, if a URL is there, LoadRunner simply calls it but does
not examine it for embedded URLs.
This allows(i.e. Not parsing embedded URLs) would make LR to
run very FAST.
But this type of script would become obsolete and you may
not even know it if some thing changes in the application
hence this is very much useful for a stable
|Is This Answer Correct ?||20 Yes||5 No|
Answer / ravikumar.p
Its always a best choice to go for HTML mode.
Url based scripting generates lengthy script and too many
dynamic values when compared to HTML mode
|Is This Answer Correct ?||23 Yes||12 No|
Answer / hariprasad reddy
HTML:-Using this recording mode LR can generate script by
performing certain user actions on only HTML context. This
mode recogneze the user inputs either in the form of data
or in the form of forms.For each action that we perform on
the application, LR generates a function called Web_url.
Along with this 4 more functions will generated (i.e)
depending on actions we perform.These are
Generally URl based recording mode will be used on Non-HTML
resources like Bitmap,Jpeg,gif..., In this mode LR
generates the function web_url for each and every step that
we perform on the application. this mode recognize the
user input data only in the form of data submitted
function. some more functions will generates such as
|Is This Answer Correct ?||12 Yes||2 No|
Answer / arun kumar
HTML: Generate a seperated step for each user action. In
addition, for requests whose origin is not basic HTML,
record exolicit requests.
URL: Records all requests & resources from the server. Use
this mode to simulate the former URL based mode with all
|Is This Answer Correct ?||3 Yes||1 No|
Answer / sujay
In HTML based mode, teh recording of script happens for
every user action that is performed during recording while
URL based mode records every browser request to the server
and resources received from the server.
In HTML mode you will miss quite a bit of Correlation which
may cause issues with replay during the load test
|Is This Answer Correct ?||2 Yes||0 No|
Answer / akshaya
HTML level will generate a web_submit_form statement that
only records options an end user is allowed to see and
URL level will generate a web_submit_data statement that
records all data that was actually sent from the browser to
Note:URL mode includes hidden information that the HTML
recording doesnot pick up.Quite often this will include
session ID information.
|Is This Answer Correct ?||2 Yes||2 No|
Answer / surendra
HTML Based script :
~The script describing user actions only.
~In this each user action recorded as a separate request.
~It is a page level(UI level) recording script.
~It is a context sensitive recorded script.
~In this script URL's recorder as web_url(),Links Recorded as web_link(),images Recorded as web_image(),Form Submissions recorded as web_submit_form().
~the size is small(less lines), less customization required, less chances to get dynamic values.
~Maintenance cost is high (Rework require if Ui Changes).
URL Based Script :
~URL based script recording each resources (Html and Non Html in the page) as a separate script.
~it is a network level recorded script.
~it is a context less sensitive recorded script.
~in this Url's,links,images recorded as a web_url(),form submissions recorded as a web_submit_data().
~Size is large (More lines).
~More customization required(Chances to get more dynamic values).
~Script Maintenance cost is low( rework is not require when UI changes happen).
|Is This Answer Correct ?||0 Yes||0 No|
Answer / shaswat
is usually preferred for several reasons. One of the
reasons is because it is "context sensitive" , i.e.each
recorded in the script is made in the context of the
previous step/page. In order to maintain context it looks
previous page to make sure the current operation is
available. This adds extra overhead because it is
performed by a
background utility called the runtime parser. Although
the parser uses extra overhead, it does saves us work in
correlation and page checks. This because if a link/request
is not available, the runtime parser will see that and
an error telling us that the request is not there. (The
old "Requested Form Not Found" error). URL mode, on the
hand does not check the context of the previous request.
It will simply make each recorded request individually
of whether the request is still available on the page or
logically follows in context. That's why URL mode requires
the way of page checks and correlation.
|Is This Answer Correct ?||18 Yes||19 No|
Answer / sulabh jain
please correct if i am wrong.
HTML based recording records only the user actions
where as URL based recording records the requests and
resources for the server.
|Is This Answer Correct ?||9 Yes||10 No|
What is the difference between overlay graph and corelated graph?(Chandana)
what do you mean by 90 percentile in the Lr report
How To Identify Performance Testing Requirements ?
Specific Performance Monitoring counters for, 1. Web Servers (IIS, Apache etc) 2. Application Servers (Weblogic etc) 3. Database Servers a. Oracle Database b. Sybase c. SQL Server d. DB2
What is Workload? Can anyone explain in detail?
In which scenario, we should use "Vuser as Process" rather than "Vuser as thread" and what is benefit in this case?
How can u use the configuration management tool like Quality Center in ur project?For what purpose it is being used?
You test the scalability testing by apllying load more than the designed number of users. If you dont know the designed number of users then how you do the scalability test?
how much memory will allocate for 1 vuser?
What is the Diffrence between Clint server & Web based application ? plz Explain in detail (Chandana)
Why is Load Runner called as State of Art Tool.
What are the Performance Testing Methodologies or life cycle? And Give Brief explanation?