URL vs. HTML 錄製模式
對於WEB協議,LoadRunner支援3種模式的錄製:GUI-based、HTML based和URLbased,這篇文章對比了一下URL和HTML模式:
http://learnloadrunner.com/introduction/difference-url-vs-html-recording-mode/
There are three types of recording mode/levels in LoadRunner. GUI-based, HTML based and URL based. For the uninitiated, recording levels tells you the amount of and what information is recorded during the recording process. As the title says, for this post we will keep focus on HTML based and URL based recording levels only and will touch upon GUI based mode, in a later post.
- HTML based mode, records script for every user action that is performed during recording (hmmm…sounds like QTP) while URL based mode records each and every browser request to the server and resources received from the server. Confused? ok, HTML based mode does recording as you perform clicks and doesn’t give you inside information like what is happening behind the recording while URL based mode records each and every step and emulate Javascript code. (HTML模式錄製的指令碼有點像QTP的指令碼,是使用者操作層的指令碼,而URL模式錄製的指令碼是針對瀏覽器和伺服器之間的每一個互動進行記錄。)
- From the point1) above you can guess, HTML mode would have less correlation to do while URL mode has much more complex correlation requirements. (HTML模式的指令碼相比起URL模式的指令碼,需要的關聯處理要少一些。)
- HTML mode is smaller and is more intuitive to read as the statements are inside the functions corresponding to the user action performed. In the case of URL based, all statements gets recorded into web_url() (HTML模式錄製的指令碼要少一些、直觀一些,而URL模式錄製的指令碼都以web_url函式出現,不夠直觀和簡潔。)
- HTML mode is recommended for browser applications while URL mode is recommended for non-browser applications. (對於那些基於瀏覽器的應用程式建議採用HTML模式錄製,而對於那些客戶端不是基於瀏覽器與伺服器端互動的應用程式,推薦採用URL模式錄製。)
- Lastly, don’t get the impression that I am advocating for HTML mode. URL mode can be of real help when you want to have control over the resources that need to be or need not to be downloaded, since you have each and every statement in-front of you (point 1) (URL模式的指令碼可以更細粒度地控制資原始檔是否要下載。)
相關文章
- HTML 5 Canvas vs. SVGHTMLCanvasSVG
- HTML 5 vs. 本地應用HTML
- 模板 vs. 硬編碼 HTMLHTML
- HTML input url域HTML
- [譯] W3C vs. WhatWG HTML5 標準 – 差異記錄HTML
- jmeter-http代理伺服器,錄製指令碼,抓包-包含模式,過濾指定域名(url)資料JMeterHTTP伺服器指令碼模式
- Airflow vs. Luigi vs. Argo vs. MLFlow vs. KubeFlowAIUIGo
- HTML5 vs.原生,世界究竟是誰的?HTML
- js一鍵複製urlJS
- Html 製作HTML
- 檔案(圖片)上傳調研: HTML 5 vs. FlashHTML
- 製作URL檔案的方法
- MVC vs. MVP vs. MVVMMVCMVPMVVM
- 錄製回放模式建立測試用例 - Katalon Studio模式
- 從谷歌搜尋中複製貼上URL,會洩露之前的搜尋記錄谷歌
- 從谷歌搜尋中複製貼上URL 會洩露之前的搜尋記錄?谷歌
- !DOCTYPE —— HTML文件模式HTML模式
- 微信開發者模式教程URL和Token(令牌)模式
- JS 點選複製當前URL地址JS
- git revert .vs. git reset .vs. git rebaseGit
- String.format VS. StrSubstitutor VS. NamedParameterJdbcTemplateORMJDBC
- 搞懂:資料科學vs.機器學習vs.資料分析vs.商業分析資料科學機器學習
- win10自帶錄製怎麼錄製桌面 windows10如何錄製螢幕Win10Windows
- laravel模板中生成URL的幾種模式Laravel模式
- html 點選複製功能HTML
- HTML學習記錄(2)(HTML常用標籤)HTML
- C++ 獲取URL圖片、html檔案,CInternetSessionC++HTMLSession
- Html5無重新整理修改Url,history pushState/replaceStateHTML
- HTML5系列目錄HTML
- HTMLCollection vs. NodeListHTML
- PostgreSQL vs. MySQLMySql
- AutoIt vs. QTPQT
- 設計模式----備忘錄模式設計模式
- 委派模式與策略模式記錄模式
- 設計模式 - 備忘錄模式設計模式
- Laravel+vue實現history模式URL可行方案LaravelVue模式
- 音訊錄製:三星電腦如何錄製音訊?音訊
- 遊戲影片怎麼錄製,遊戲錄製軟體哪個好遊戲