Kiểm tra một waiting room Test a waiting room ការធ្វើតេស្ត waiting room
Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។
← Danh mục ← Catalog ← បញ្ជីGiải thích nhanh Quick context បរិបទរហ័ស
Tutorial đa lĩnh vực — kết hợp nhiều sản phẩm Cloudflare. Tutorial «Test waiting room» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Docs gốc chia khoảng 3 bước chính; bản tóm tắt dưới đây giúp bạn nắm khung trước khi làm theo từng lệnh.
Follow this tutorial to test your waiting room behavior in response to load. To accurately simulate traffic, run your test script or planner for a period of time longer than a minute, ideally more than 2-3 minutes.
បន្ទាប់ពីការធ្វើតេស្តនេះដើម្បីធ្វើតេស្តការធ្វើតេស្ត waiting room របស់អ្នកក្នុងការឆ្លើយតបទៅនឹងការផ្ទុក។ ប្រសិនបើអ្នកមានការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃ
Lưu ý Note ចំណាំ
Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម
- Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
- Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
- Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
- This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
- Open the Official docs link below for CLI commands, code snippets, and full screenshots.
- Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
- នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
- ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
- Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។
Overview Overview Overview
Phần «Tổng quan» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Trước khi bạn bắt đầu Before you begin មុនពេលដែលអ្នកចាប់ផ្តើម
Phần «Before you begin» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Before you begin" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «មុនពេលដែលអ្នកចាប់ផ្តើម» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Đánh giá trang About Waiting Room
- Đối với hướng dẫn này, chúng tôi sẽ sử dụng một công cụ mã nguồn mở từ Apache, JMeter ↗. Bạn có thể tải xuống nhị phân từ JMeter's website ↗.
- Reviewed the About Waiting Room page.
- For this tutorial, we will use an open source tool from Apache, JMeter ↗. You can download the binary from JMeter's website ↗.
- សូមពិនិត្យមើលទំព័រ About Waiting Room ។
- សម្រាប់វគ្គបណ្តុះបណ្តាលនេះយើងនឹងប្រើឧបករណ៍សៀវភៅពី Apache, JMeter ↗ ។ អ្នកអាចទាញយកអ៊ីនធឺណិតពី JMeter's website ↗ ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
1.Điều Tải mẫu Script 1. Download sample script 1 ។ ទាញយក Sample Script
Phần «Tải sample script» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "1. Download sample script" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «1 ។ ទាញយក Sample Script» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
2.Đối với Chỉnh sửa và chạy kế hoạch mẫu 2. Edit and run the sample plan 2 ។ ការសរសេរនិងដំណើរការគម្រោងគំរូ
Phần «Edit và run sample plan» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "2. Edit and run the sample plan" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «2 ។ ការសរសេរនិងដំណើរការគម្រោងគំរូ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Chọn Waiting Room Simulation để mở rộng kế hoạch thử nghiệm và sau đó chọn Request origin with waiting room để cập nhật cấu hình thử nghiệm.
- Select Waiting Room Simulation to expand the test plan and then select Request origin with waiting room to update the test configuration.
- សូមចុច Waiting Room Simulation ដើម្បីបន្ថែមការធ្វើតេស្តនិងបន្ទាប់មកចុច Request origin with waiting room ដើម្បីបច្ចុប្បន្នភាពការធ្វើតេស្ត។
- Trong phần HTTP Request, hãy cập nhật các trường Protocol, Server Name or IP và Path để chỉ URL kiểm tra của bạn với waiting room được kích hoạt. Ví dụ, nếu URL đầy đủ của bạn trông giống như
https://www.example.com/deals/summer, thì các trường nên khớp như sau:
- In the HTTP Request section update the Protocol, Server Name or IP, and Path fields to point to your test URL with waiting room enabled. For example, if your full URL looks like
https://www.example.com/deals/summer, then the fields should match as the following:
- ក្នុងផ្នែក HTTP Request បានបច្ចុប្បន្នភាពឧបករណ៍ Protocol, Server Name or IP និង Path ដើម្បីបង្ហាញទៅ URL ការធ្វើតេស្តរបស់អ្នកដែលមាន waiting room បានអនុញ្ញាត។ ដូច្នេះប្រសិនបើអាសយដ្ឋាន URL ទាំងអស់របស់អ្នកមើលទៅជា
https://www.example.com/deals/summerដូចខាងក្រោម។
- Mỗi người dùng mô phỏng có các thuộc tính sau:
- Each simulated user has the following attributes:
- អ្នកប្រើប្រាស់គ្រប់គ្រងមានលក្ខណៈពិសេសដូចខាងក្រោម:
3 Cái Phân tích kết quả 3. Analyze results 3 ។ លទ្ធផលវិភាគ
Phần «Analyze results» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "3. Analyze results" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «3 ។ លទ្ធផលវិភាគ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
echo '{
"operationName": "UsersQueuedOverTimeQuery",
"variables": {
"filter": {
"datetime_geq": "2022-10-17T15:34:00Z",
"datetime_leq": "2022-10-17T15:40:00Z",
"waitingRoomId": "<YOUR_WAITING_ROOM_ID>"
},
"zoneId": "<YOUR_ZONE_ID>"
},
"query": "query UsersQueuedOverTimeQuery($zoneId: string, $filter: ZoneWaitingRoomAnalyticsAdaptiveGroupsFilter_InputObject) {\n viewer {\n zones(filter: {zoneTag: $zoneId}) {\n timeseries: waitingRoomAnalyticsAdaptiveGroups(limit: 5000, filter: $filter, orderBy: [datetimeMinute_ASC]) {\n avg {\n totalActiveUsers\n totalActiveUsersConfig\n totalQueuedUsers\n __typename\n }\n max {\n totalQueuedUsers\n totalActiveUsers\n totalActiveUsersConfig\n __typename\n }\n min {\n totalActiveUsersConfig\n __typename\n }\n dimensions {\n ts: datetimeMinute\n __typename\n }\n __typename\n }\n total: waitingRoomAnalyticsAdaptiveGroups(limit: 1, filter: $filter) {\n max {\n totalQueuedUsers\n totalActiveUsers\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n}\n"
}' | tr -d '\n' | curl \
-X POST - 15h30 UTC
- 15:35:00 UTC
- 13:35 ល្ងាច UTC
"totalActiveUsers": 137, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0"totalActiveUsers": 137, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0"totalActiveUsers": 137, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0- 15:36 giờ UTC
- 15:36:00 UTC
- 6:30 ល្ងាច UTC
"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0- 15:37 giờ UTC
- 15:37:00 UTC
- ល្ងាច 7:30 ល្ងាច UTC
"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0- 15:38 giờ UTC
- 15:38:00 UTC
- 8:30 ល្ងាច UTC
"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0"totalActiveUsers": 200, "totalActiveUsersConfig": 300, * "totalQueuedUsers": 0{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/waiting-room/","name":"Waiting Room"}},{"@type":"ListItem","position":3,"item":{"@id":"/waiting-room/additional-options/","name":"Additional options"}},{"@type":"ListItem","position":4,"item":{"@id":"/waiting-room/additional-options/test-waiting-room/","name":"Test a waiting room"}}]} Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។
Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗