Jmeter Setting
參考 [Jmeter]進階操作 錄製控制器 Recording Controller
1. 建立 HTTP(S) Test Script Recorder
Global Settings Port: 8080
Test Plan Creation -> Target Controller為儲存Request的位置
Requests Filtering -> URL Patterns to Exclude Add: Suggested Excludes & ".*\.js.*", ".*\.css.*", ".*\.axd.*", ".*\.woff2.*"
2. 建立 HTTP Cookie Manageer / User Defined Variables / HTTP Cache Manager
如果要用到以上資源(如一直跳回同頁, 可能因沒有Cookie / Cache存起登入資料)
3. 建立 Test Recording Controller
4. 設定Proxy Server (建議Firefox)
Select "Manual proxy configuration"
HTTP Proxy: 127.0.0.1 Port: 8080 (Same as Jmeter Setting)
5. Start HTTP(S) Test Script Recorder & Start Recording