Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load test #35

Closed
Tracked by #17 ...
aleeusgr opened this issue Jan 7, 2024 · 2 comments
Closed
Tracked by #17 ...

load test #35

aleeusgr opened this issue Jan 7, 2024 · 2 comments

Comments

@aleeusgr
Copy link
Owner

aleeusgr commented Jan 7, 2024

To build a service an API for building is required.
The executable is used for UAT: implement new functionality and validate in the browser.

build a load test:
use https://crates.io/crates/rhea to send requests to the running application.

This was referenced Jan 7, 2024
@aleeusgr aleeusgr changed the title exe load test Jan 7, 2024
@aleeusgr aleeusgr mentioned this issue Jan 8, 2024
8 tasks
@aleeusgr
Copy link
Owner Author

aleeusgr commented Jan 8, 2024

error: failed to run custom build command for `openssl-sys v0.9.98`

@aleeusgr
Copy link
Owner Author

aleeusgr commented Jan 9, 2024

run the server, then:

~/.cargo/bin/rhea --url http://localhost:3000/say-hello --concurrency 100 --requests 1000
...

Duration: 54.606624ms

Response stats
200: 1000 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant