??????????Grinder
???????????? ???????[ 2014/6/26 14:10:24 ] ?????????????????? Grinder
??????????????????out-*????У???????£?
Final statistics for this process:
Successful Errors Mean Test Test Time Standard
Tests Time(ms) Deviation (ms)
Test 0 25 0 255.52 22.52
Test 1 25 0 213.40 25.15
Test 2 25 0 156.80 20.81 "Image"
Test 3 25 0 90.48 14.41
Test 4 25 0 228.68 23.97 "Login page"
Test 5 25 0 86.12 12.53 "Security check"
Test 6 25 0 216.20 8.89
Test 7 25 0 73.20 12.83
Test 8 25 0 141.92 18.36
Test 9 25 0 104.68 19.86 "Logout page"
Totals 250 0 156.70 23.32
|
????????????У?Console??????????????????????plug-in????????????????????????????????磺HTTP plug-in ??????response?????????????????
????????????????????????
????Success.
????Error.
????????Total?? Mean?? ??? Standard Deviation ????????????????м?????
?????????? Grinder????????
???????Grinder???в?????????2??裺
???????? grinder.properties ???.
???????????????????????????磺worker process?????console????????worker process?????????????е?Jython????????
???????????????????? CLASSPATH ???? grinder.jar ????? ?????????? lib ????????
??????????????????????? console :
????java net.grinder.Console
???????????????????в???1?????2???????????agent process:
????java net.grinder.Grinder
????agent???????????????????grinder.properties?????
????Jython???????????properties???????????
?????????????????????????????properties????????磺
????java net.grinder.Grinder myproperties
????Note
?????????console???????????????console??????????properties??????????????????????????????????????????
??????????Щ???????Unix/Linux ?£????????grinder agents?? console ?? ???HTTP?????TCPProxy??
Windows
setGrinderEnv.cmd:
· set GRINDERPATH=(full path to grinder install directory)
· set GRINDERPROPERTIES=(full path to grinder.properties)grinder.properties
· set CLASSPATH=%GRINDERPATH%libgrinder.jar;%CLASSPATH%
· set JAVA_HOME=(full path to java install directory)
· PATH=%JAVA_HOME%in;%PATH%
startAgent.cmd:
· call (path to setGrinderEnv.cmd)setGrinderEnv.cmd
· echo %CLASSPATH%
· java -cp %CLASSPATH% net.grinder.Grinder %GRINDERPROPERTIES%
startConsole.cmd:
· call (path to setGrinderEnv.cmd)setGrinderEnv.cmd
· java -cp %CLASSPATH% net.grinder.Console
startProxy.cmd:
· call (path to setGrinderEnv.cmd)setGrinderEnv.cmd
· java -cp %CLASSPATH% net.grinder.TCPProxy -console -http > grinder.py
Unix
setGrinderEnv.sh:
· #!/usr/bin/ksh
· GRINDERPATH=(full path to grinder install directory)
· GRINDERPROPERTIES=(full path to grinder.properties)/grinder.properties
· CLASSPATH=$GRINDERPATH/lib/grinder.jar:$CLASSPATH
· JAVA_HOME=(full path to java install directory)
· PATH=$JAVA_HOME/bin:$PATH
· export CLASSPATH PATH GRINDERPROPERTIES
startAgent.sh:
· #!/usr/bin/ksh
· . (path to setGrinderEnv.sh)/setGrinderEnv.sh
· java -cp $CLASSPATH net.grinder.Grinder $GRINDERPROPERTIES
startConsole.sh:
· #!/usr/bin/ksh
· . (path to setGrinderEnv.sh)/setGrinderEnv.sh
· java -cp $CLASSPATH net.grinder.Console
startProxy.sh:
· #!/usr/bin/ksh
· . (path to setGrinderEnv.sh)/setGrinderEnv.sh
· java -cp $CLASSPATH net.grinder.TCPProxy -console -http > grinder.py
|
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11