HTML mode Vs URL mode

A famous protocol of LoadRunner Web HTTP/HTML which is used in 70% of performance testing scenarios. This protocol is used for web-basedĀ applications and record client and server communication. Web HTTP/HTML protocol has two recording modes which are HTML mode and URL mode. Each mode has its own features and advantages. To get more understanding, let’s compare HTML mode vs URL mode.

HTML mode vs URL mode

  1. Context Dependency: HTML mode performs context-based recording whereas URL mode is free from context i.e. contextless recording. Since the resources are separated by individual requests in URL mode, so there is no context dependency between them.
  2. Resources: In HTML mode, the page resources like image, .css etc. are recorded in a single request whereas individual requests are created for each resource in URL mode.
  3. User Action: In HTML mode, each user action belongs to one request whereas in URL mode, multiple requests associated with one user action depend on the number of resources available on the page.
  4. Script Size: The size of the HTML mode script is comparatively smaller than the size of the URL mode script. The reason is in the URL mode script each resource has a separate request.
  5. Correlation Effort: The HTML mode script requires less effort than the URL mode script to correlate the dynamic value.
  6. Resource Download during replay: Resources are downloaded during replay in HTML mode. But in URL mode individual request triggers for each resource hence resource downloading is not required.
  7. Execution Speed: HTML mode script is slower than URL mode script due to parsing of code.
  8. Script Maintenance: The maintenance of the script is less in HTML mode. On the other hand, the URL mode script requires more maintenance and re-work due to changes in the application.
  9. Explicit support: HTML mode supports explicit URL whereas URL mode does not support explicit HTML.
  10. Used for: HTML mode is used for browser-based application whereas URL mode is used for non-browser (thick-client) applications.
  11. Functions: In HTML mode, web_submit_form is used whereas in URL mode, web_submit_data, web_image etc. are used.

You may be interested:


Leave a Comment