Skip to content

load test api to test posgres efficiency in an elixir phoenix API

License

Notifications You must be signed in to change notification settings

carla-rodriguez-estevez/load_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

load_test

load test api to test posgres efficiency in an elixir phoenix API

Setup guides:

  • Install dependencies with mix deps.get
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Set database data:

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)

Captura desde 2023-03-03 02-01-31

Captura desde 2023-03-03 02-01-58

Branches and tools

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

Gracias por visitar el repositorio

MUCHAS GRACIAS POR VISITAR EL REPOSITORIO

THANK YOU SO MUCH FOR VISITING THE REPOSITORY

About

load test api to test posgres efficiency in an elixir phoenix API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages