-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
custom logic instead of simple http request #405
Comments
Unfortunately autocannon is based on HTTP... but maybe would you like to work on this? |
I would like to work on this. I know this is not a replacement to https://k6.io/ but I would want a similar functionality without much of a perf hit. An API similar to this maybe? let checkRes = check(response, {
"http2 is used": (r) => r.proto === "HTTP/2.0",
"status is 200": (r) => r.status === 200,
"content is present": (r) => r.body.indexOf("Collection of simple web-pages suitable for load testing.") !== -1,
}); |
go for it! |
I think I wrongly read the issue. I just want custom checks - the OP wants to build more of an adapter for other connections. I will create a separate issue for this. |
Hi, great tool!
is it possible to make a custom logic operation instead of a simple HTTP request?
for example, I would like to make a query to Cassandra. or even test cpu-intensive operations.
thanks
The text was updated successfully, but these errors were encountered: