Questions tagged [artillery]

Artillery is a load testing and functional testing toolkit, which allows you to test HTTP, Socket.io, WebSockets, and AWS Kinesis.

Artillery is a load testing and functional testing toolkit which allows you to test HTTP, Socket.io, WebSockets, and AWS Kinesis.

Resources

Official Documentation

97 questions
2
votes
0 answers

Artillery.io - is there a limit to the number of requests you can sent per flow?

Is there a limit to the number of requests you can send per flow on artillery.up? My scenario flow seems to stop after two (one get and one post)
Charlie
  • 21
  • 1
2
votes
0 answers

(Problem when attempting to run .yaml file with artillery) TypeError: Cannot read property 'forEach' of undefined

I am attempting to test a node.js app that uses socket.io with artillery, however I keep getting an error even when trying to parse the simplest of files. For example, this is my .yaml: config: target: 'localhost' phases: - duration: 10 …
user10433783
  • 103
  • 7
2
votes
0 answers

can we give xml request in body for post request in artillery.if yes please give example of request

can we give xml request in body for post request in artillery.if yes please give example of request. I need xml request to pass in post request for artillery
sr1233
  • 21
  • 4
2
votes
1 answer

Artillery.io value obtained on 'capture' not available at 'expect'

I'm quite new to the artillery.io and I'm getting a problem. I want to get a value from the JSON response and check it on the 'expect' clause, so I'm doing that like this: config: target: 'https://api.duckduckgo.com' plugins: expect: {} …
Rodolfo
  • 1,091
  • 3
  • 13
  • 35
2
votes
1 answer

Artillery.io - POST binary data

How would you send a POST request via artillery with binary data? More specifically I'm trying to do a batch request and have artillery read from the file for the body I did see in the docs I need to use a custom JS function, but can't seem to get…
pinkwaffles
  • 463
  • 4
  • 12
2
votes
3 answers

Artillery NodeJS Cluster Performance Benchmarking Issue

I am using Artillery.IO with NodeJS to measure performance. NodeJS is running at my localhost and I am also running Artillery from same machine. When I run Artillery with this script. { "config": { "target": "http://localhost:3000/", …
Akhil
  • 95
  • 10
2
votes
1 answer

socket io load test using artilary

config: target: "http://192.168.2.161:5000" phases: - duration: 600 arrivalRate: 5 scenarios: - name: "oz_event" flow: - loop: - emit: channel: "oz_event" data: "hello world!" …
2
votes
1 answer

How do you add a pause in a flow for artillery?

Is there a way of injecting a 1 to 2 second pause within a flow for scenarios that are asynchrounous and immediately trying to get the value will fail unless it rested for a couple of seconds?
Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265
1
vote
0 answers

How to properly evaluate etimedout requests in Artillery.io report

I tested Artillery.io (cloud-scale load testing) against a page which I believe should work seamlessly: www.google.com :) I'm now wondering if Artillery is reliable. I got 47 errors.ETIMEDOUT out of 600 http requests. How is this possible, am I…
user3926863
  • 325
  • 4
  • 13
1
vote
0 answers

How to check a receive response from server in artillery ws

In my yml file, unable to check the receive response from ws server and how i print that. Would you please help me to out from this problem. is it available ? to check the receive response from web socket server in artillery. capture: …
thilak
  • 11
  • 2
1
vote
0 answers

why axios response becomes slower as the rate of request becomes faster and longer the request keeps calling

I am using artillery to send different rate of request to an nodejs API that makes an axios post request, and the response time seems to be increasing as time goes by. e.g. when sending 10 req/sec to the API, the response time are around 100-300ms…
Yuan
  • 11
  • 1
1
vote
0 answers

Artillery, GET request to API with parameters in a file

I'm using Artillery with Node.js to load testing a free API. My purpose would be to list the name of French department with a file of department numbers. To do that I need to do GET request to the following URL and change the department number which…
GrowyTobe
  • 115
  • 1
  • 8
1
vote
0 answers

Log Socket Response always displays undefined in artillery.io

Here is my yaml file. config: target: "http://localhost:3000" phases: - duration: 5 arrivalRate: 1 socketio: transports: ["websocket"] scenarios: - name: "Emit an event" engine: socketio flow: - emit: …
Kusal Lamsal
  • 24
  • 1
  • 8
1
vote
1 answer

Artillery test script exits without waiting for artillery-plugin-datadog to finish flushing

I have an Artillery test script which uses artillery-plugin-datadog for periodically flushing metrics to Datadog. In shell script: export DEBUG=metrics,plugin:datadog In artillery yml file: plugins: datadog: prefix: "artillery.[my-prefix]." …
Mikayel
  • 117
  • 11
1
vote
0 answers

How to create a random string in Artillery for every connection

I am doing a load test for socket.io using Artillery # my-scenario.yml config: target: "http://localhost:4000" phases: - duration: 60 arrivalRate: 10 engines: socketio-v3: {transports: ['websocket']} socketio: query: …
Aman Gupta
  • 23
  • 6