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

Is there a way to generate a url for each request? #512

Closed
kkogovsek opened this issue Feb 28, 2024 · 3 comments · Fixed by #521
Closed

Is there a way to generate a url for each request? #512

kkogovsek opened this issue Feb 28, 2024 · 3 comments · Fixed by #521

Comments

@kkogovsek
Copy link

I'd like to benchmark POST requests where I could pass a random id at the end of path.
I tried using setupClient to change the url, but I'll only change the first request of each client.

@mcollina
Copy link
Owner

I don't think this is possible but it would be a great feature addition

@kkogovsek
Copy link
Author

Any pointers on how an api for that could look like (I'm happy to do a PR, write tests...)?
In cli setting alone it could work similarly to idInjection in body (with [id]), while it'd be awesome to have the config object accept url as a function

@mcollina
Copy link
Owner

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

Successfully merging a pull request may close this issue.

2 participants