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

Add a UriRandomizer #55

Open
TonyTroeff opened this issue Feb 6, 2024 · 2 comments
Open

Add a UriRandomizer #55

TonyTroeff opened this issue Feb 6, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@TonyTroeff
Copy link
Member

Describe your idea
I need something ready that should be able to generate me random Uris.

@TonyTroeff TonyTroeff added enhancement New feature or request good first issue Good for newcomers labels Feb 6, 2024
@TonyTroeff TonyTroeff added this to the 2.0.3 milestone Feb 6, 2024
@sameerfairgoogl
Copy link

Should we expect the Uri to be a certain length, or are we expecting the length of the Uri to be random as well?

@TonyTroeff
Copy link
Member Author

It should be random - for this purpose we should use the RandomizationHelper.GetRandomString() method.
Of course, the Uri must be valid at the end so some kind of encoding or character set limiting should be implemented as well.

As a subsequent issue, we will make the randomizer controllable by providing the following parameters passed during instantiation:

  • With path
  • With query
  • With fragment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants