Open trimblemario opened 1 year ago
Hi,trimblemario
There are no particular difficulties. A docker image is also available. https://hub.docker.com/r/blazemeter/taurus/
for example:
docker pull blazemeter/taurus
mkdir -p /tmp/_taurus
cat > /tmp/_taurus/test.yaml
execution:
- concurrency: 10
ramp-up: 1m
hold-for: 1m30s
scenario: simple
scenarios:
simple:
think-time: 0.75
requests:
- http://blazedemo.com/
- http://blazedemo.com/vacation.html
## CTRL+D
docker run -it --rm -v /tmp/_taurus:/bzt-configs blazemeter/taurus /tmp/_taurus/test.yaml
It is also possible to download the source code and BUILD it. It is a good idea to build and work on the source code if you want to run it continuously.
You can also download the source code and BUILD it.
If you want to run continuously, it is better to BUILD the source code and work with it.
It is convenient to change the "ENTRYPOINT" in the Dockerfile and start the shell, in the container, so you can log in. I am running "taurus" on vmware's PhotonOS.
I have looked for this answer a few places, and maybe I am just missing it, but I'd like to be able to run this in docker-compose and kubernetes.
The former would require a volume mount, and then I'm assuming it needs environment variables to point it to the directory with configs (or maybe the exact file(s) - I'm not sure).
The latter would be environment variables and probably just copying the files into the image in the Dockerfile.
Are there any examples or can someone please help me run both of these (or either)?