diff --git a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_linux.sh b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_linux.sh
index 3afd7ff4ee1b59c7bcd4b2ef20e5a3f6522e58cc..09e978362f9699b8dd9c2ac69c0b9fe5f4581940 100644
--- a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_linux.sh
+++ b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_linux.sh
@@ -39,6 +39,6 @@ echo test > file1
 
 sleep 1
 
-$1 $3 $stream $beamtime_id  "127.0.0.1:8400" > out || cat out
+$1 $3 $data_source $beamtime_id  "127.0.0.1:8400" > out || cat out
 cat out
 cat out | grep "hello self callback"
diff --git a/tests/automatic/producer/aai/check_linux.sh b/tests/automatic/producer/aai/check_linux.sh
index 472822cae4ebe5fab5300c1758ba57d3e9a79478..eb3b7492f80da285e49aa1124b7e768b1426edfe 100644
--- a/tests/automatic/producer/aai/check_linux.sh
+++ b/tests/automatic/producer/aai/check_linux.sh
@@ -42,7 +42,7 @@ sleep 1
 echo test > file1
 
 
-$1 $3 $beamline $token $stream "127.0.0.1:8400" > out || cat out
+$1 $3 $beamline $token $data_source "127.0.0.1:8400" > out || cat out
 cat out
 cat out | grep "successfuly sent" | wc -l | grep 3
 cat out | grep "reauthorization\|Broken" | wc -l | grep 1
diff --git a/tests/automatic/producer/python_api/check_linux.sh b/tests/automatic/producer/python_api/check_linux.sh
index e735458279546b324b066383309597b11de15f8e..71e20a339a9a52627eb5035981ef8f525ee41706 100644
--- a/tests/automatic/producer/python_api/check_linux.sh
+++ b/tests/automatic/producer/python_api/check_linux.sh
@@ -39,7 +39,7 @@ echo test > file1
 
 sleep 1
 
-$1 $3 $stream $beamtime_id  "127.0.0.1:8400" &> out || cat out
+$1 $3 $data_source $beamtime_id  "127.0.0.1:8400" &> out || cat out
 cat out
 echo count successfully send, expect 13
 cat out | grep "successfuly sent" | wc -l | tee /dev/stderr | grep 13