Dockerfile:
FROM ubuntu
RUN apt-get update
RUN apt-get install -y npm \
&& npm install -g artillery
WORKDIR /work
ENTRYPOINT ["/usr/local/bin/artillery"]
For help:
docker run quaddo/artillery -h
Example run based on the quick test here:
$ docker run quaddo/artillery quick --count 10 -n 20 https://artillery.io/
Started phase 0, duration: 1s @ 19:41:56(+0000) 2019-04-17
Report @ 19:41:59(+0000) 2019-04-17
Elapsed time: 2 seconds
Scenarios launched: 10
Scenarios completed: 10
Requests completed: 200
RPS sent: 84.39
Request latency:
min: 13.8
max: 247.3
median: 32.5
p95: 122.3
p99: 178.2
Codes:
200: 200
All virtual users finished
Summary report @ 19:41:59(+0000) 2019-04-17
Scenarios launched: 10
Scenarios completed: 10
Requests completed: 200
RPS sent: 84.03
Request latency:
min: 13.8
max: 247.3
median: 32.5
p95: 122.3
p99: 178.2
Scenario counts:
0: 10 (100%)
Codes:
200: 200
Running the hello.yml example on that page:
docker run -v $(pwd):/work quaddo/artillery run hello.yml
Content type
Image
Digest
Size
159.2 MB
Last updated
over 7 years ago
docker pull quaddo/artillery