Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple scenarios for BBR-terminated testing #73

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 31 additions & 5 deletions app/measure/measure.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,41 @@ angular.module('Measure.Measure', ['ngRoute'])
}

async function runPT(sid) {
var md = [
{
client_name: "speed-measurementlab-net",
client_session_id: sid,
max_cwnd_gain: "512",
},
{
client_name: "speed-measurementlab-net",
client_session_id: sid,
max_elapsed_time: "5",
},
{
client_name: "speed-measurementlab-net",
client_session_id: sid,
max_cwnd_gain: "512",
max_elapsed_time: "5",
},
{
client_name: "speed-measurementlab-net",
client_session_id: sid,
early_exit: "50",
},
{
client_name: "speed-measurementlab-net",
client_session_id: sid,
max_cwnd_gain: "512",
early_exit: "50",
},
]

return pt.test(
{
userAcceptedDataPolicy: true,
downloadworkerfile: "/libraries/pt-download-worker.min.js",
metadata: {
client_name: "speed-measurementlab-net",
client_session_id: sid,
max_cwnd_gain: "512",
}
metadata: md[Math.floor(Math.random()*md.length)]
},
{
serverChosen: function (server) {
Expand Down