The parameter enclosed in square brackets is [optional] and and the values in italics correspond to the possible values
Load file in memory:
http://hostname:port/sts/INITFILE?FILENAME=file.txt
Get one line from list:
http://hostname:port/sts/READ?FILENAME=file.txt&[READ_MODE=[FIRST,LAST,RANDOM]]&[KEEP=[TRUE,FALSE]]
Return the number of remaining lines of a linked list:
http://hostname:port/sts/LENGTH?FILENAME=file.txt
Add a line into a file: (GET OR POST HTTP protocol)
GET : http://hostname:port/sts/ADD?FILENAME=file.txt&LINE=D0001123&[ADD_MODE=[FIRST,LAST]]&[UNIQUE=[FALSE,TRUE]]
GET Parameters : FILENAME=file.txt&LINE=D0001123&[ADD_MODE=[FIRST,LAST]]&[UNIQUE=[FALSE,TRUE]]
POST : http://hostname:port/sts/ADD
POST Parameters : FILENAME=file.txt,LINE=D0001123,[ADD_MODE=[FIRST,LAST]],[UNIQUE=[FALSE,TRUE]]
Save the specified linked list in a file to the default location:
http://hostname:port/sts/SAVE?FILENAME=file.txt&[ADD_TIMESTAMP=[FALSE,TRUE]]
Display the list of loaded files and the number of remaining lines for each linked list:
http://hostname:port/sts/STATUS
Remove all of the elements from the specified list:
http://hostname:port/sts/RESET?FILENAME=file.txt
Show configuration:
http://hostname:port/sts/CONFIG
Shutdown the Simple Table Server:
http://hostname:port/sts/STOP
E.g
: read 3 csv files with comma separator (not a regular expression),
files are read from the directory set with
jmeterPlugin.sts.datasetDirectory
jmeterPlugin.sts.initFileAtStartup=file1.csv,file2.csv,file3.csv
jmeterPlugin.sts.initFileAtStartupRegex=false
OR
E.g : read all files with .csv extension declare with a regular
expression (initFileAtStartupRegex=true) from directory set with
jmeterPlugin.sts.datasetDirectory
jmeterPlugin.sts.initFileAtStartup=.+\.csv
jmeterPlugin.sts.initFileAtStartupRegex=true
E.g : charset = UTF-8, ISO8859_15 or Cp1252 (Windows)
jmeterPlugin.sts.charsetEncodingHttpResponse=<charset>
(Use UTF-8) in the http header add "Content-Type:text/html;
charset=<charset>"
jmeterPlugin.sts.charsetEncodingReadFile=<charset> (set the charset corresponding to characters in the file)
jmeterPlugin.sts.charsetEncodingWriteFile=<charset>