Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
artillery-engine-tcp
Advanced tools
Readme
Load test TCP with Artillery.io
Based on the AWS Lambda Engine by orchestrated.io.
Important: The plugin requires Artillery 1.5.8-3
or higher.
# If Artillery is installed globally:
npm install -g artillery-engine-tcp
config.target
to the host address of the TCP serverconfig.tcp
:
port
- number (required)engine
property of the scenario to tcp
.send
in your scenario to send arbitrary data to the serverpayload
- String or object (gets converted to JSON string) with the payload to sendencoding
- Payload string encoding. Defaults to utf8
. See Buffer.from(string).Note: The TCP server must respond (with anything) to each send
command in order for the request to finish.
config:
target: "localhost"
tcp:
port: 1234
phases:
- arrivalCount: 10
duration: 1
engines:
tcp: {}
scenarios:
- name: "Send data"
engine: tcp
flow:
- count: 10
loop:
- send:
payload: "hello world"
- think: 1
- send:
payload: "1111111111"
encoding: "hex"
- think: 1
artillery run my_script.yml
FAQs
Load test TCP with Artillery.io
The npm package artillery-engine-tcp receives a total of 135 weekly downloads. As such, artillery-engine-tcp popularity was classified as not popular.
We found that artillery-engine-tcp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.