-
Notifications
You must be signed in to change notification settings - Fork 13
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
Random string #35
Comments
Hi there! Since curl runnings loads environment variables at the beginning of the test suite, using the |
You can also generate your own random strings and set them as environment variables that you reference in your curl-runnings tests. Nothing is built into the spec that has random functionality, but one could certainly be added if there's a good use case |
Hi My use case is this, make a random user, do things with it and set the user on inactive. |
Got it. So CR won't evaluate arbitrary bash expressions which is why Sounds like having some random string + number generators natively supported by curl-runnings would be useful though, I do agree about that. (Adding some labels to keep track of this. I think we have both a workaround for now as well as opportunities for curl-runnings to support this in a much more robust way) |
Thank you very much for your quick reply. On an other note, I am running this inside a docker container. Would it be useful if I push my dockerfile for other docker users? |
absolutely! please open a PR whenever you have the chance, thanks so much! |
Hi
Is there a way to generate a random string and use that string during the whole test run?
with kind regards
The text was updated successfully, but these errors were encountered: