load test api to test posgres efficiency in an elixir phoenix API
- Install dependencies with
mix deps.get
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
inside your postgres app:
\copy animales from './animales.csv' WITH DELIMITER ',' CSV HEADER;
\copy gastos from '.gastos.csv' WITH DELIMITER ',' CSV HEADER;
##Http request to test when load test (most hard load cases to test)
Since I want to compare results of diferent load testing tools, there will be diferent branchs with the tool in the name of the branch and the readme will contain the result in my computer in perfect conditions (no strange tasks in process). This way configurations won't afect each other tool. Created:
k6 -> branch created and updated
Then please visit http://localhost:4000 or access to any of the endpoints configured at router.ex
MUCHAS GRACIAS POR VISITAR EL REPOSITORIO
THANK YOU SO MUCH FOR VISITING THE REPOSITORY