1.0.7 • Published 8 years ago
nt-test v1.0.7
nt-test
node request/response test
#First,
npm install nt-test -g
#Second
nt -h
to see command help
#Third,
nt init
to init,create data and log file in current directory
#Fourth,
nt data -s 10
to create response data,size 1k,
if < 1,like 0.2,will size 100 * 10b,
will create a 10.data file in ./data directory.
#Fifth,
nt res -s 10
to create a response,you will to see help,like this
nt res -h
more,
#Sixth,
nt req -m 2 -s 1000
to create a request ,by multi process,space is 1000ms.to see help,like this
nt req -h
more,
#Seventh
nt clear
to clear log files ,in ./log/*