package Ġload _ test . api Ċ Ċ import Ġorg . slf 4 j . Logger Ċ import Ġorg . slf 4 j . LoggerFactory Ċ import Ġjava . nio . file . Paths Ċ Ċ const Ġval Ġdir Ġ= Ġ"/ home / pr at ap . pat il / Desktop / test / load - test /" Ċ Ċ private Ġval Ġlogger : ĠLogger Ġ= ĠLoggerFactory . getLogger (" file Download ") Ċ Ċ fun Ġfile Download ( n : ĠInt ) Ġ{ ĊĊĠĠĠ Ġval Ġcontent Download : ĠContent Download Ġ= ĠContent Download . Ret rofit Helper . content Download Service () ĊĊĠĠĠ Ġfor Ġ( i Ġin Ġ 1 .. n ) Ġ{ ĊĠĠĠĠĠĠĠ Ġcontent Download . download Content File (" Equ ine ĠWalk Ġ 3 0 0 fps ", Ġ" avi ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. enqueue ( Download Callback ( Paths . get ( dir , Ġ"$ i . avi "). to File ())) ĊĠĠĠ Ġ} Ċ Ċ } Ċ