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模式的指令碼可以更細粒度地控制資原始檔是否要下載。)
相關文章
- 模板 vs. 硬編碼 HTMLHTML
- HTML input url域HTML
- [譯] W3C vs. WhatWG HTML5 標準 – 差異記錄HTML
- jmeter-http代理伺服器,錄製指令碼,抓包-包含模式,過濾指定域名(url)資料JMeterHTTP伺服器指令碼模式
- Airflow vs. Luigi vs. Argo vs. MLFlow vs. KubeFlowAIUIGo
- .htaccess URL目錄化
- js一鍵複製urlJS
- HashSet vs. TreeSet vs. LinkedHashSet
- 錄製回放模式建立測試用例 - Katalon Studio模式
- !DOCTYPE —— HTML文件模式HTML模式
- HTML學習記錄(2)(HTML常用標籤)HTML
- JS 點選複製當前URL地址JS
- 搞懂:資料科學vs.機器學習vs.資料分析vs.商業分析資料科學機器學習
- Ansible vs. TerraformORM
- Navigating Kubernetes Certification: CKAD vs. CKA vs. CKS, Including KCNA and KCSA
- win10自帶錄製怎麼錄製桌面 windows10如何錄製螢幕Win10Windows
- Laravel+vue實現history模式URL可行方案LaravelVue模式
- IIS7.0設定 url重寫成html(偽靜態)HTML
- 委派模式與策略模式記錄模式
- 設計模式----備忘錄模式設計模式
- HTML簡單網頁製作HTML網頁
- 怎麼錄製直播影片,虎牙直播影片怎麼錄製
- 【譯】GraphQL vs. RESTREST
- Spring WebClient vs. RestTemplateSpringWebclientREST
- Quarkus vs. SpringBoot - RedditSpring Boot
- 利用HTML5的history.replacestate()修改當前頁面的URLHTML
- HTML URL 編碼無極3dail參考641480手冊HTML3DAI
- 使用 HTML 實現截圖-html2canvas使用記錄HTMLCanvas
- 大資料檔案格式比較:AVRO vs. PARQUET vs. ORC大資料VR
- 行為型模式:備忘錄模式模式
- 設計模式 - 備忘錄模式 ( Memento )設計模式
- 設計模式之備忘錄模式設計模式
- 網頁黑夜模式白天模式切換 html+css+js網頁模式HTMLCSSJS
- 線上將傳統模式複製改為GTID複製模式模式
- 怎麼錄製直播影片,鬥魚直播影片怎麼錄製
- 音訊錄製:三星電腦如何錄製音訊?音訊
- 使用靜態html繪製流程圖HTML流程圖
- html5錄音功能實戰HTML
- 事件驅動架構 vs. RESTful架構:通訊模式對比與選擇事件架構REST模式