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
0
votes
1 answer

Artillery.io - Printing variables that you capture from JSON response

I can't get Artillery IO to pass. Is there a way to print the values of the variables I'm capturing? I couldn't find this in the docs. I return an array: capture: json: "$[0]" as: "body" how could I print body to…
Ryan
  • 1,102
  • 1
  • 15
  • 30
0
votes
1 answer

Laravel rate limiting returns 429 error despite disabling rate limiting

I'm using a load test tool called Artillery to simulate requests on my Laravel application. By default the Laravel application uses the IP to detect whether it should rate limit or not, so in production the varying IP addresses won't be a problem,…
Ryan H
  • 2,620
  • 4
  • 37
  • 109
0
votes
1 answer

Mocking external dependencies during load testing

I have a backend written in node.js that uses external APIs on some endpoints. I want to do load test without testing those external dependencies. Is it possible to mock them and how? I don't really care about the time it takes to reach the APIs and…
fraktus
  • 73
  • 1
  • 4
0
votes
1 answer

Does Artillery support html methods other that GET and POST?

I'm trying to develop scenarios for load testing an application with Artillery. The application in question uses the GET, POST, PUT, and DELETE html methods, but all of the available documentation I've been able to find only discusses the get: and…
0
votes
0 answers

Nginx worker processes

I am using docker nginx as a reverse proxy for my backend rails api application scaled in docker containers also. During the perfomance tests I get such errors: 4048 worker_connections are not enough I found out that I have a default value of…
0
votes
1 answer

Error passing variable to artillery script

I am using very simple command to test artillery script and trying to pass variable from the command line. Command is artillery run -v '{"var1": "value1", "var2": "value2"}' .\test\performance\applications.yml -e development It is giving…
Anil Goel
  • 261
  • 1
  • 8
0
votes
0 answers

How to load test asynchronous services (aws)?

I want to load test a StepFunction (aws) with load testing tools like Gatling or Artillery... The problem is when I want to load test this stepfunction I make a request to StartExecution to execute the stepfunction but the stepfunction returns…
0
votes
3 answers

Why "artillery" is not recognized as an internal or an external command?

I want to use artillery to test a nodejs app, I installed artillery.io globally and I added the path to the environmen variables, but I still get the error "'artillery' is not recognized as an internal or external command, operable program or batch…
chachacha
  • 1
  • 1
0
votes
1 answer

artilleryio: reading an array from a csv into yml

I have a test scenario as follows: scenarios: - name: "Test" flow: - post: url: "/someEndpoint" form: some_array: ['3','2','1'] afterResponse: "logBody" I want to move the data that some_array is…
simon
  • 854
  • 1
  • 9
  • 23
0
votes
1 answer

Running a command from gulp file

I want to run artillery command from gulp file based on argument passed from gulp command. Command to run: gulp runner --serviceName employeeServices --scenario create-employee-details --env staging This should execute a command as below which is…
p2018
  • 125
  • 1
  • 12
0
votes
1 answer

How to access csv data into yml file by storing it in a variable?

I am creating a .yml load scripting file for artillery tool and I am using the payload section which extracts the information from CSV files which is the data to log in to the system. But the problem is it doesn't take the provided information from…
DEV QC
  • 21
  • 4
0
votes
1 answer

How can I escape "." characters in Artillery to prevent nesting?

I have an artillery file where one of my requests is defined as so: { "post": { "url": "/apps/stash/foo/search", "json": { "size": 100, "from": 0, "query": { "bool": { "must": { "nested": { …
Jonah
  • 1,495
  • 4
  • 17
  • 32
0
votes
1 answer

Automatically Append Unique IP's to Text File

I am currently trying to automatically append unique IP's that attack my Artillery Honeypot to a text file. I've gotten to a point in this script where I am monitoring syslog for changes (where artillery puts new attack logs), and running the grep…
0
votes
1 answer

how to interpret the nodejs performance tests run through Artillery

I'm using Artillery to run some performance tests on a node app. I'm not sure how to interpret the results. I get something like All virtual users finished Summary report @ 11:24:12(+1000) 2019-04-29 Scenarios launched: 600 Scenarios…
tmp dev
  • 8,043
  • 16
  • 53
  • 108
0
votes
1 answer

Artillery JavaScript heap out of memory

The laodtest fails to run after changing the arrivalrate from 10 to 100. Artillery: 1.6.0-27 Artillery Pro: not installed Node.js: v10.15.0 OS: darwin/x64 :test $ artillery run -o report.json artillery.yml Started phase 0, duration: 10s @…
Kay
  • 17,906
  • 63
  • 162
  • 270