LoadRunner指令碼評審Checklist
LR指令碼應該像軟體的開發程式碼一樣進行適當的評審和檢查,防止指令碼開發的各種錯漏,為此建立一個Checklist是個好辦法。
參考:
http://performancecheck.blog.co.in/2008/08/11/script-development-checklist/
If you are pretty new to scripting with LoadRunner VUGen, chances that you will miss one or two important steps, that may be missing out of the think time settings, number of iterations, insufficient parameters, location of load generators, areas to encompass a transaction, etc… Therefore, it will be a good idea to have a checklist to keep track of the things done for each script….
TEST PROJECT: LOADRUNNER ADMINISTRATOR:
{project name} {LR admin name}
Script 1
Real-time think times? X
Check strings inserted in the script? X
Parameters defined? X
Are data files complete (incl userid/passwords)? X
Correlation complete? X
Exceptions handled? X
Are script set to run multiple iterations? X
Comment header block included? X
Comments within the script? X
Start/Stop transactions defined? X
Start/Stop sub transactions defined? X
“Are the scenarios designed to meet real time execution?” X
當然,如果做了這樣的檢查,然後還是出現了錯誤,則需要除錯和定位錯誤,可以採用這篇文章所介紹的系統化的分析方法來進行:
http://www.loadrunnertnt.com/errors/why-are-my-scriptsvusers-failing/
問題可能出現在VUGen,那麼可採用下面分析步驟:
1. The application that you are replaying against is not running.
2. There were changes to the application
3. There are dynamic values that needs to be correlated.
4. The parameterization may be causing the problem
For (1) to (4), it’s recommended to turn on Full Extended Log (all options enabled: Advanced Trace, Parameter Subsitution, Data Returned From Server) in the Runtime Settings (Vugen) to verify the data that is been transmitted between the server and the client (script). Through this, you can find out what and where that could have gone wrong in the replay.
問題可能分析出現在Controller:
5. Does it happen at the start of the scenario execution?
If the script/vuser fail at the start of the execution, verify the script again in Vugen
6. Does it fail on a particular Load Generator (LG)?
7. Does it happen at the middle of the scenario execution?
When this happens, the Application Under Test (AUT) maybe under load and unable to process all requests from the scripts/vusers and therefore returning errors to them.
相關文章
- 前端團隊程式碼評審 CheckList 清單前端
- LoadRunner錄製:指令碼除錯指令碼除錯
- 在loadrunner中呼叫QTP指令碼QT指令碼
- LoadRunner錄製指令碼亂碼問題指令碼
- loadrunner 資料庫測試指令碼資料庫指令碼
- 說透程式碼評審
- LoadRunner錄製指令碼時注意事項指令碼
- LoadRunner長連線效能測試指令碼指令碼
- LoadRunner錄製WAP指令碼的兩種方法指令碼
- Gerrit 2.9.4 釋出,程式碼評審工具
- PHP 程式碼評審的 10 個提示PHP
- 在LoadRunner指令碼中實現隨機ThinkTime指令碼隨機
- LoadRunner JAVA Vuser協議開發效能測試指令碼Java協議指令碼
- 用LoadRunner編寫socket應用的測試指令碼指令碼
- 程式碼審查或評審的最佳實踐 - FogBugz
- 谷歌程式碼評審指南已經開源谷歌
- Google程式碼評審介紹 - Michaela GreilerGo
- [譯] 程式碼評審的 8 點建議
- [譯] Go 程式碼評審常見問題Go
- 前端程式碼評審通常注意些什麼前端
- Gerrit 2.10.1 釋出,程式碼評審工具
- 執行LoadRunner中指令碼時提示ORA-12519指令碼
- LoadRunner如何在指令碼執行時修改log設定選項?指令碼
- 谷歌開源內部程式碼評審規範谷歌
- 為什麼程式碼評審(code reviews)很重要View
- 程式碼評審的不可能三角
- 淺談軟體工程中的程式碼評審軟體工程
- 程式碼評審的18個軍規,收藏好!
- Gerrit 2.10 正式釋出,程式碼評審工具
- 密碼法草案二審稿提請審議,增加密碼“安全風險評估”機制密碼加密
- Oracle Performance ChecklistOracleORM
- Oracle DBA ChecklistOracle
- 京東資深架構師程式碼評審歪詩架構
- 執行LoadRunner中指令碼時提示ORA-12519(後續)指令碼
- 評審程式碼時,這樣寫就不會被懟了
- 京東雲開發者|程式碼評審的價值和規範
- 關於Peer Review、程式碼評審和測試驅動View
- 四種Java指令碼語言之評測(轉)Java指令碼