Skip to content

Instantly share code, notes, and snippets.

@hannahsohkim
Last active May 1, 2019 20:51
Show Gist options
  • Save hannahsohkim/7ab6b4bfb2f05ade6fd3a80c493dd5ab to your computer and use it in GitHub Desktop.
Save hannahsohkim/7ab6b4bfb2f05ade6fd3a80c493dd5ab to your computer and use it in GitHub Desktop.
Service RPS Details and Results

Arillery Testing & New Relic Metrics

Get Test

config:
  target: "http://localhost:3001"
  phases:
    - duration: 30
      arrivalRate: 10
      rampTo: 10
      name: "Initial ramp"
    - duration: 60
      arrivalRate: 50
      rampTo: 100
      name: "Mid ramp"
    - duration: 120
      arrivalRate: 100
      rampTo: 1000
      name: "Full ramp"
scenarios:
  - name: 'get all albums for specific id'
    flow:
      - get:
          url: "/api/albums/1"

Get Test Result

All virtual users finished
Summary report @ 13:45:57(-0700) 2019-05-01
  Scenarios launched:  71616
  Scenarios completed: 71616
  Requests completed:  71616
  RPS sent: 194.32
  Request latency:
    min: 2.2
    max: 449.9
    median: 7.2
    p95: 19.5
    p99: 113.4
  Scenario counts:
    get all albums for specific id: 71616 (100%)
  Codes:
    200: 71616
    
App Server Time - New Relic Metrics

api/albums/:id: 3.78 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment