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

deal with params without default values #37

Closed
DimaPoliuha opened this issue Apr 23, 2020 · 0 comments
Closed

deal with params without default values #37

DimaPoliuha opened this issue Apr 23, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DimaPoliuha
Copy link
Collaborator

Params without a default value, or examples

Descriptions
Almost all API specs have a lot of params without default values (required and not required).

Solution
It would be great to create the file with helper functions (or classes) that will help to generate those values (for example function, that returns random int) and attach that file to the generated locustio file.

Problems
There can also be params without param_type specified so we need to consider how we'll deal with those situations.

Alternatives
The straightforward solution is to generate an additional file that will contain all params without values so people need to add values themself.

@DimaPoliuha DimaPoliuha added the enhancement New feature or request label Apr 23, 2020
@DimaPoliuha DimaPoliuha self-assigned this Apr 23, 2020
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

1 participant