Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

Ability to coordinate use of shared resources (users) across test #53

Open
FermJacob opened this issue Oct 15, 2019 · 0 comments
Open
Labels
Projects

Comments

@FermJacob
Copy link
Collaborator

FermJacob commented Oct 15, 2019

Often times, we are given credentials for an application under test.
Rather than storing them in the AppConfig we could store them in a data store of some sort (DB).

Why a DB?
Sometimes those credentials must be shared, but there is a limit as to how many sessions can be active per user. An example is, the application (re)stores the state of a user’s actions across sessions. This can cause issues with parallel execution, as parallel sessions could affect each other.
With a DB we could define multiple creds under the same“credential name”, such that a query for the user will get the next available uid for that “credential name”.

Then the test(er) can “check out” the credentials for a period of time and know that they “own it” for that time. Once done, they can “check back in” or the timer will expire, making the user available again.

Note: Passwords are expected to be stored into a Vault

@FermJacob FermJacob added this to To do in Backlog Oct 15, 2019
@Magenic Magenic deleted a comment from billros Jan 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Backlog
  
To do
Development

No branches or pull requests

1 participant