This document provides instructions for setting up YouTube video playback and web browsing tests on a Samsung Note5 device using Pocket Network Monitor. It includes steps to create scripts for measuring YouTube video streaming and visiting multiple websites. For the YouTube test, the script logs playback, starts the video, and stops logging. For the web browsing test, the script logs HTTP get requests to different news websites with waits in between. The scripts are run and results including log files are output for analysis.
This document provides instructions for setting up YouTube video playback and web browsing tests on a Samsung Note5 device using Pocket Network Monitor. It includes steps to create scripts for measuring YouTube video streaming and visiting multiple websites. For the YouTube test, the script logs playback, starts the video, and stops logging. For the web browsing test, the script logs HTTP get requests to different news websites with waits in between. The scripts are run and results including log files are output for analysis.
This document provides instructions for setting up YouTube video playback and web browsing tests on a Samsung Note5 device using Pocket Network Monitor. It includes steps to create scripts for measuring YouTube video streaming and visiting multiple websites. For the YouTube test, the script logs playback, starts the video, and stops logging. For the web browsing test, the script logs HTTP get requests to different news websites with waits in between. The scripts are run and results including log files are output for analysis.
A- Hướng dẫn thiết lập bài đo Youtube và Web Browsing trên Samsung Note5
1. Một số thiết lập chung
- Giao diện chính của chương trình:
Hình 1. Giao diện chính chương trình
- Để thực hiện khóa mạng, ta thực hiện tuần tự như hướng dẫn trên Hình 2:
Hình 2. Các bước khóa mạng
- Vị trí lưu logfile: Mặc định logfile sẽ được lưu theo đường dẫn sau trên điện thoại My Files\Device storage\pocket\logfiles. 2. Bài đo Youtube - Tạo script đo youtube theo các bước sau: + Bước 1: Tạo mới script - Hình 3.:
Hình 3. Tạo mới script
+ Bước 2: Tạo hành động ghi log trong script như trên Hình 4.:
Hình 4. Tạo hành động ghi log trong script youtube
+ Bước 3: Tạo hành động phát video trong script như trên Hình 5: Video: copy link trên bài đo (https://www.youtube.com/watch?v=0mdgDIpAKxI) Streaming duration: Thời gian cuộc gọi (60s). Preguard và Postguard: Cấu hình thời gian trước và sau khi thực hiện hành động: Preguard = 15, Postguard = 0.
Hình 5. Tạo hành động phát video trong script youtube
+ Bước 4: Tạo hành động dừng ghi log trong script như trên Hình 6:
Hình 6. Tạo hành động dừng ghi log trong script youtube + Bước 5: thực hiện chạy script và cho kết quả như hình 7:
Hình 7. Chạy script và kết quả
3. Bài đo web - Tạo script http_browsing theo các bước sau: + Bước 1, bước 2: Tương tự như phần script youtube. + Bước 3: Tạo hành động HTTP thực hiện trong script http_browsing như trên Hình 8: Command: chọn Get URL: copy link trên bài đo (Vnexpress.net, Vtv.vn, Vov.vn, …) End session time: đặt 30s. Wait: đặt 15s. Nhập lần lượt từng địa chỉ web vào các hành động HTTP Thứ tự hành động lần lượt: HTTP -> wait -> HTTP ->wait->…. Hình 8. Tạo hành động trong script http_browsing + Bước 4, 5: Tương tự như phần script youtube.