diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/errors.tools b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/errors.tools
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/input_edgedata.xml b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/input_edgedata.xml
new file mode 100644
index 000000000000..c21c683f12aa
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/input_edgedata.xml
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/options.tools b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/options.tools
new file mode 100644
index 000000000000..686e3f46026f
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/options.tools
@@ -0,0 +1,4 @@
+-r input_routes.rou.xml --edgedata-file input_edgedata.xml
+--edgedata-attribute count
+--depart-distribution 0.7,0.3
+-o out.rou.xml
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/output.tools b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/output.tools
new file mode 100644
index 000000000000..ab51ccbfa407
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/output.tools
@@ -0,0 +1,2 @@
+Wrote 79 routes (56 distinct) achieving total count 646 (86.02%) at 82 locations. GEH<5 for 78.05%
+Warning: underflow locations: count 47, min 1.00 (('144',)), max 6.00 (('-3.180.00',)), mean 2.23, Q1 1.00, median 2.00, Q3 3.00 (total 105)
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/routes.tools b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/routes.tools
new file mode 100644
index 000000000000..efd178fbf876
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/1interval_2bins/routes.tools
@@ -0,0 +1,251 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/errors.tools b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/errors.tools
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/input_edgedata.xml b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/input_edgedata.xml
new file mode 100644
index 000000000000..1b4b307b0b5c
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/input_edgedata.xml
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/options.tools b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/options.tools
new file mode 100644
index 000000000000..bc4fb885718d
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/options.tools
@@ -0,0 +1,4 @@
+-r input_routes.rou.xml --edgedata-file input_edgedata.xml
+--edgedata-attribute count
+--depart-distribution 0.1,0.2,0.5,0.2
+-o out.rou.xml
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/output.tools b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/output.tools
new file mode 100644
index 000000000000..fa6490f52bfb
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/output.tools
@@ -0,0 +1,9 @@
+0: Wrote 79 routes (56 distinct) achieving total count 646 (86.02%) at 82 locations. GEH<5 for 78.05%
+Warning: underflow locations: count 47, min 1.00 (('144',)), max 6.00 (('-3.180.00',)), mean 2.23, Q1 1.00, median 2.00, Q3 3.00 (total 105)
+100: Wrote 77 routes (52 distinct) achieving total count 654 (87.08%) at 82 locations. GEH<5 for 81.71%
+Warning: underflow locations: count 42, min 1.00 (('-131',)), max 7.00 (('31.80.00',)), mean 2.31, Q1 1.00, median 2.00, Q3 3.00 (total 97)
+avg interval input count: count 2, min 751.00 (0.0), max 751.00 (0.0), mean 751.00, Q1 751.00, median 751.00, Q3 751.00
+avg interval written vehs: count 2, min 77.00 (100.0), max 79.00 (0.0), mean 78.00, Q1 77.00, median 79.00, Q3 79.00
+avg interval underflow: count 2, min 97.00 (100.0), max 105.00 (0.0), mean 101.00, Q1 97.00, median 105.00, Q3 105.00
+avg interval overflow: count 2, min 0.00 (0.0), max 0.00 (0.0), mean 0.00, Q1 0.00, median 0.00, Q3 0.00
+avg interval GEH%: count 2, min 78.05 (0.0), max 81.71 (100.0), mean 79.88, Q1 78.05, median 81.71, Q3 81.71
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/routes.tools b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/routes.tools
new file mode 100644
index 000000000000..9db4679fb86e
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/2interval_4bins/routes.tools
@@ -0,0 +1,483 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/tools/turndefs/routeSampler/departtime_dist/testsuite.tools b/tests/tools/turndefs/routeSampler/departtime_dist/testsuite.tools
new file mode 100644
index 000000000000..0e698830cdec
--- /dev/null
+++ b/tests/tools/turndefs/routeSampler/departtime_dist/testsuite.tools
@@ -0,0 +1,2 @@
+1interval_2bins
+2interval_4bins
diff --git a/tests/tools/turndefs/routeSampler/save_template/toolcfg.tools b/tests/tools/turndefs/routeSampler/save_template/toolcfg.tools
index a0bd49aaa24a..8ffed6406830 100644
--- a/tests/tools/turndefs/routeSampler/save_template/toolcfg.tools
+++ b/tests/tools/turndefs/routeSampler/save_template/toolcfg.tools
@@ -26,6 +26,7 @@
+
diff --git a/tests/tools/turndefs/routeSampler/testsuite.tools b/tests/tools/turndefs/routeSampler/testsuite.tools
index 0117e5f15e09..c85951a954b3 100644
--- a/tests/tools/turndefs/routeSampler/testsuite.tools
+++ b/tests/tools/turndefs/routeSampler/testsuite.tools
@@ -24,6 +24,9 @@ totalCount
# test origin destination inputs
OD
+
+# load a custom distribution for depart times
+departtime_dist
verbose
# save configuration file