from a commandline in windows:
for /F %q in (list.txt) DO ab -n 1000 https://test.com/search?%q
I don't know Apache Bench nor how it collects its data. My approach will probably start a new collection of data for each line in list.txt which is something you might not want. You'll have to aggregate the results of different runs by hand.
(to debug:
for /F %q in (list.txt) DO echo ab -n 1000 https://test.com/search?%q
which will output on the console the statement that will execute)