Skip to content

Instantly share code, notes, and snippets.

@rjnienaber
Created November 20, 2017 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjnienaber/619b49155673bb8e6ff7a3a6ebf6cc5e to your computer and use it in GitHub Desktop.
Save rjnienaber/619b49155673bb8e6ff7a3a6ebf6cc5e to your computer and use it in GitHub Desktop.
artillery with regex capture
$ DEBUG=http ./node_modules/.bin/artillery run test.yml
Started phase 0, duration: 1s @ 20:31:32(+0000) 2017-11-20
⠦ http request: {
"url": "https://perfa.pamperedchef.com/",
"method": "GET",
"headers": {
"user-agent": "Artillery (https://artillery.io)"
}
} +0ms
http captures and matches: +3ms
http {} +0ms
http { Token: 'var SYNCHRONIZER_TOKEN_VALUE = \'3d8f8b2b23fa9321357936e646f4cea50c0dbab5\'' } +0ms
⠇ http request: {
"url": "https://perfa.pamperedchef.com/login",
"method": "GET",
"headers": {
"user-agent": "Artillery (https://artillery.io)"
}
} +988ms
http captures and matches: +1ms
http {} +0ms
http {} +0ms
⠋ http request: {
"url": "https://perfa.pamperedchef.com/j_spring_security_check",
"method": "POST",
"headers": {
"user-agent": "Artillery (https://artillery.io)"
},
"body": "LoginComponent=LoginComponent&doPasswordSecurityCheck=true&redirectTarget=&redirectUrl=&loginRedirectTarget=&allowUnauthenticated=&_spring_security_authentication_url=%2Flogin&j_ussername=750756&j_password=Mytest123a&cartPK=&_requestConfirmationToken={{Token[1]}}"
} +142ms
http captures and matches: +0ms
http {} +0ms
http {} +0ms
Report @ 20:31:36(+0000) 2017-11-20
Scenarios launched: 1
Scenarios completed: 1
Requests completed: 3
Concurrent users: 1
RPS sent: 1.2
Request latency:
min: 137.4
max: 814.4
median: 156.2
p95: NaN
p99: NaN
Scenario duration:
min: 2243.3
max: 2243.3
median: 2243.3
p95: NaN
p99: NaN
Codes:
200: 2
302: 1
All virtual users finished
Summary report @ 20:31:36(+0000) 2017-11-20
Scenarios launched: 1
Scenarios completed: 1
Requests completed: 3
RPS sent: 1.2
Request latency:
min: 137.4
max: 814.4
median: 156.2
p95: NaN
p99: NaN
Scenario duration:
min: 2243.3
max: 2243.3
median: 2243.3
p95: NaN
p99: NaN
Scenario counts:
Get an input value.: 1 (100%)
Codes:
200: 2
302: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment