znsio / perfiz

A Dockerised API Performance Test Setup based on Gatling with Grafana Dashboards and Prometheus Monitoring
https://perfiz.com/
MIT License
15 stars 6 forks source link

Windows Support #2

Open harikrishnan83 opened 3 years ago

harikrishnan83 commented 3 years ago

Write bat file or powershell script that is similar to perfiz.sh. Any other mechanisms / ideas to get Perfiz running on Windows are welcome as long as they solve below problems.

Also need to write upgrade scripts similar to linux / mac

ZenwalkerD commented 1 month ago

I am able to get this working without changing anything in the script or whatsoever.

  1. Just download the CLI separately and put it where perfiz is already available.
  2. Then in docker-compose yaml of perfiz; comment out all user: lines
  3. During execution of text; perfiz-cli test wont work on windows host. So explicitly the command has to be issued instead of test command as shown:

image

Shall add in detail steps in my blog post.

harikrishnan83 commented 1 month ago

Thanks @ZenwalkerD for the details. I will take a look.

ZenwalkerD commented 1 month ago

Btw i must say wonderful work done on this project. I have been playing around with your tool for last month.

But few things to be addressed and enhanced:

  1. Documentation more clarity
  2. Windows support for CLI 2.1 To support arguments excluding users for example especially for windows users for commands: perfiz-cli init, start and test2 3. Update POM xml to make use of latest gatlin and other deps
  3. Update docker compose to make use of latest images of influxdb, grafana etc.
  4. provide option for application technology specific monitoring for graphana (example: .NET application)
  5. Add more examples for perfiz.yml

Ill try to add these to the code and raise a PR whenever i can. Hope its fine.