I'm prepare a test load on Web Service SOAP, I'm following the best practices of documentation:
For testing how JMeter performs on a given platform, the JavaTest sampler can be used. It does not require any network access so can give some idea as to the maximum throughput achievable.
For that I created a Test Plan with an element Java Request Defaults
which use the class JavaTest, and set the default configuration:
Name: Value
Sleep_Time 100
Sleep_Mask 0xFF
Label ThreadNum=${_threadNum}
ResponseCode 200
ResonseMessage OK
Status OK
SamplerData ${QUERY}
ResultData The quick brown fox jumped over the lazy dog
Execute on non-GUI mode:
jmeter -n -t E:\jmeter\4.0\Java_Request_Defaults.jmx -l E:\jmeter\4.0\Java_Request_Defaults.jtl -e -o E:\jmeter\4.0\Java_Request_Defaults
Result:
Creating summariser <summary>
Created the tree successfully using E:\jmeter\4.0\Java_Request_Defaults.jmx
Starting the test @ Wed Feb 28 11:19:51 COT 2018 (1519834791517)
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
summary = 0 in 00:00:00 = ******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err: 0 (0.00%)
Tidying up ... @ Wed Feb 28 11:19:52 COT 2018 (1519834792322)
... end of run
¿How to use JavaTest Class for test hardware capabilities on server jmeter?
Note: See question in spanish.