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

Locust: Organize scripts to help with ease of use and maintenance. #2

Open
kcondon opened this issue Sep 19, 2016 · 0 comments
Open

Comments

@kcondon
Copy link

kcondon commented Sep 19, 2016

Current scripts structure:

  1. Script to run eg. basic_test_04_mydata.py
    -contains task list of pages with weights
  2. Separate creds.json file for input
    -contains user info
    -api keys
    -collection of random dataset ids as input to dataset task
  3. Individual page scripts with additional input/ variables, eg. mydata_links.py

Suggested structure:

  1. Utility page files that know how to call a particular page
  2. Test files which contains a task list, uses the utility page files to execute tasks, accepts input from individual data files
  3. Data files that allows specifying variable data such as persistent ids, usernames, etc.
  4. Basic config file that specifies system under test (URL).
  5. Test Suite file that calls set of test files?
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

No branches or pull requests

1 participant