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

Allow benchmark mode #143

Open
jcchavezs opened this issue Mar 20, 2023 · 4 comments
Open

Allow benchmark mode #143

jcchavezs opened this issue Mar 20, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@jcchavezs
Copy link
Collaborator

Right now go-ftw executes requests one by one and then pull logs expecting the output to so the assertion.

While this is good, sometimes you want to profile and/or measure performance with close to real test data and go-ftw is a good option for this.

I wish go-ftw includes an option where N requests can be sent concurrently. This would allow to collect profiling data to debug latencies when evaluating and triggering rules.

@fzipi
Copy link
Member

fzipi commented Mar 30, 2023

What happens with the logs? Is this in cloud mode only?

@fzipi
Copy link
Member

fzipi commented Mar 30, 2023

Also, is this an extension to the tests, or to the tool?

@fzipi fzipi added the enhancement New feature or request label Apr 4, 2023
@fzipi
Copy link
Member

fzipi commented May 26, 2023

@jcchavezs While taking a look at this one, it is not clear if we are targeting running the same test N times, of just running the tests using N different threads. What did you have in mind?

@jcchavezs
Copy link
Collaborator Author

My idea is that you could run N similar requests at the same time in a concurrent way. About logs, I think this would require the WAF connector to return the transaction ID in a response header so FTW can look for it specifically in the audit logs (@airween has a similar use case about returning the transaction ID in a response header).

@fzipi fzipi self-assigned this Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants