question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Need help in understanding the output

See original GitHub issue

Hello:

I am trying to user Artillery to load test my node application. I am running Artillery on my development machine hence can see the logs which are generated when even any api call is made from other application.

This is output which I get from after running artillery on my app

  Scenarios launched: 26070
  Scenarios completed: 78
  Number of requests made: 78
  RPS: 82.18
  Request latency:
    min: 414.9
    max: 9809.6
    median: 3550.8
    p95: 9245.4
    p99: 9755.3
  Scenario duration:
    min: 442.3
    max: 9812
    median: 3554.5
    p95: 9249.3
    p99: 9757.6
  Codes:
    200: 78
  Errors:
    ETIMEDOUT: 9412
    ESOCKETTIMEDOUT: 30
    ECONNREFUSED: 16550

Clearly there are Huge number of ETIMEDOUT and ECONNREFUESED count. While in the log I do not see any errors. If It helps this is my json file

{
    "config": {
        "target": "http://localhost:8090/api/v1",
        "phases": [{
            "duration": 60,
            "arrivalRate": 5,
            "rampTo": 10
        }, {
            "duration": 120,
            "arrivalRate": 10,
            "rampTo": 50
        }, {
            "duration": 120,
            "arrivalRate": 5,
            "rampTo": 500
        }]

    },
    "scenarios": [{
        "name": "Test",
        "flow": [{
            "post": {
                "url": "/users/",
                "json": {
                    "name": "test"
                },
                "capture": {
                    "json": "$.data.id",
                    "as": "id"
                }
            }
        }]
    }]
}

I am not sure what I am doing wrong. Any idea what can be wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
hassycommented, Apr 16, 2016

I don’t know.

0reactions
hassycommented, Jul 1, 2017

@sheltonpaul89 more likely to be the server in OP’s case, but it’s always a good idea to tune the load-generating host too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved I need help understanding how the output of this code
Question: I need help understanding how the output of this code is given. If you can explain step by step how the output...
Read more >
Can anyone help me understand this output?
Hi guys, I recently completed a challenge in C++ but I don't understand an output. The code give the variables i=2 and j=5...
Read more >
Need help to understand the output of ansible-playbook
Hi ,. Can someone please explain me this output format (what is ok , changed ,unrechable ,failed and it's values meanings)?. Thanks ...
Read more >
valgrind - Need help in understanding kcachedgrind output
I am using valgrind callgrind to profile a program on gtk. And then I use kcachedgrind to read the result. I have captured...
Read more >
Need help in understanding the debug output
The Cisco Learning Network · Hello can anyone explain me the below debug output of the ICMP echo traffic , I would like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found