You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found a workaround thought. Which utilises --rand-regex-url feature.
First step is adding special handling in PUT request handler for the load-tested application, which is able to receive entity name via the url, in addition to the request body handling (normal behavior). See
details here my case here.
Second step, is using url with random entity name for the put request: oha --method PUT -H 'Content-Type: application/json' -n 10000 -c 10 -D ./assets/load/create-rule.json --rand-regex-url http://localhost/rules/name-[a-z0-9]{16}
Complete example is here
I'm trying to create load for the enpoint which has a unique name constraint for the created entity.⚠️ syntax could be like:
So the imaginary
Following snippet obviously do not work, as well:
The text was updated successfully, but these errors were encountered: