Skip to content

a study project with elixir to make N requests on some url

Notifications You must be signed in to change notification settings

tuliocll/elixir-http-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HttpRequest

A simple "application" to make requests n times for a url this is a study project with elixir and i used it to do a simple stress test on my server/database

Usage

You can execute the Iex and call the module and the function

iex -S mix
iex(1)>HttpRequest.execute(5, 'https://www.google.com')

This will make five request for 'www.google.com'. You can pass a token too:

iex(1)>HttpRequest.execute(5, 'https://www.google.com', 'Bearer 123123123')

And you can check the doc running:

iex(1)> h(HttpRequest.execute)

Made with ❤ in Bahia, Brasil.

About

a study project with elixir to make N requests on some url

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages