From ac4fc3c0ba7ed7e979805f7378afb2206c8312a5 Mon Sep 17 00:00:00 2001 From: damies13 Date: Sat, 23 Mar 2024 01:50:23 +1000 Subject: [PATCH] Prep for Perf Tests - BNE column --- Regression_Tests/TestDataTable-API_requests.robot | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Regression_Tests/TestDataTable-API_requests.robot b/Regression_Tests/TestDataTable-API_requests.robot index c2905c1..e0faf24 100644 --- a/Regression_Tests/TestDataTable-API_requests.robot +++ b/Regression_Tests/TestDataTable-API_requests.robot @@ -353,18 +353,18 @@ Prep for Perf Tests ${Table}= Set Variable TT20 ${Col 1}= Set Variable GC_20k ${Col 2}= Set Variable BNE_20k - ${filedata}= Get File ${CURDIR}${/}testdata${/}GC_5k.csv + ${filedata}= Get File ${CURDIR}${/}testdata${/}${Col 1}.csv @{filelines}= Split To Lines ${filedata} FOR ${line} IN @{filelines} # ${resp}= POST On Session TDT /${Table}/row {"${Col 1}":"${line}"} expected_status=201 ${resp}= PUT On Session TDT /${Table}/${Col 1}/${line} expected_status=201 END - # ${filedata}= Get File ${CURDIR}${/}testdata${/}${Col 2}.csv - # @{filelines}= Split To Lines ${filedata} - # FOR ${line} IN @{filelines} - # # ${resp}= POST On Session TDT /${Table}/row {"${Col 1}":"${line}"} expected_status=201 - # ${resp}= PUT On Session TDT /${Table}/${Col 2}/${line} expected_status=201 - # END + ${filedata}= Get File ${CURDIR}${/}testdata${/}${Col 2}.csv + @{filelines}= Split To Lines ${filedata} + FOR ${line} IN @{filelines} + # ${resp}= POST On Session TDT /${Table}/row {"${Col 1}":"${line}"} expected_status=201 + ${resp}= PUT On Session TDT /${Table}/${Col 2}/${line} expected_status=201 + END *** Keywords *** Connect to TDT