JMeter---Analog send tcp/udp/http/ftp and other request packages

Source: Internet
Author: User
Tags apc

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.