JMeter after installing the UDP plug-in support to send the UDP protocol request package, the official introduction after installing the plug-in can be used to test DNS, NTP, TFTP, Boot servers and many-many other systems.
JMeter UDP plugin: http://jmeter-plugins.org/downloads/all/, download jmeterplugins-extras-x.x.x.zip which contains UDP sampler, Unzip to the Apache-jmeter-2.11\lib\ext directory after downloading.
After replacing restart JMeter, right-click on the menu "add->sampler–>[email protected]–udp Request" to add Udpsampler.
Wait for Response: whether to wait for a response
Close UDP socket: close UDP socket
Response Timeout: Response timeout
Data Encode/decode Class:
Kg.apc.jmeter.samplers.HexStringUDPDecoder send 16 binary data directly, hex-encoded
Kg.apc.jmeter.samplers.UDPSampler filling in a string
Kg.apc.jmeter.samplers.DNSJavaDecoder DNS parsing fill in the format such as: Www.6san.com. A in
Kg.apc.jmeter.samplers.UDPTrafficDecoder interface allows custom encoding/decoding
UDP Request Read response cache length default 4 k, kg.apc.jmeter.samplers.ReceiveBufferSize unit bytes can be modified in JMeter property
Question: After I run this way, I can't, I don't know what the reason is. Such as
Using JMeter's UDP plug-in test, the program exits with a packet token program exit that is sent to the server, and the UDP packet server does not respond. The JMeter default response is executed successfully, so the listener is flagged as failed.
Check found [email protected]–udp request in the default tick "Wait for Response", remove the tick jmeter will not wait for the server response, the server does not respond and will be judged as successful execution.
Transferred from: http://www.6san.com/1132/
JMeter---Analog send tcp/udp/http/ftp and other request packages