| || |
maintaining a list of values
i have a test that involves, in addition to other things, creating sessions, checking sessions and deleting sessions. each is a different rest call. i want to use the throughput controller so that 1% of time a thread will call to create a session, 5% of time a thread will call to check a session and 1% of time a thread will call to delete a session. you can only check or delete a session if it has already been created. i need to somehow maintain a list of created sessions so that the check and delete calls can pass in a valid value. one thought would be to write the session id values to a text file, but deletion would be a problem. any thoughts on the best way to solve this problem?