Hi @kkk1
For the first part, I believe you are looking for URL grouping. I’m not sure I understood the issue correctly though, so let me know if that does not work for your case. It’s possible tags and groups can also help you here.
For the second question, how to pass values to the teardown
function I would suggest to have a look at this thread: Destroying test data generated during the test. Especifically Destroying test data generated during the test - #2 by nedyalko and Destroying test data generated during the test - #9 by imiric.
I hope this helps.
Cheers!