(videoId, timestamp, city, browser, index)
| 50 | } |
| 51 | |
| 52 | function generateSessionId(videoId, timestamp, city, browser, index) { |
| 53 | const day = timestamp.slice(0, 10); |
| 54 | return `test:${videoId}:${day}:${city}:${browser}-${index}`; |
| 55 | } |
| 56 | |
| 57 | function generateTestEvent(videoId, orgId = "", index = 0) { |
| 58 | const timestamp = generateRandomTimestamp(30); |