Flora
6 years agoNew Contributor
How could be a good way to create a member which would be used in many test cases of a test suite?
I am just starting to use SoapUI recently. Can someone nicely help me figure out this problem? I have a method to create a member which would be used in many test cases of a test suite only. So won't be a good way to put the method in the global function I guess.
Something like jkrolczy should do the trick. However, I would advise using a Test Suite Setup script for this. So the scenario would look like this:
1. Before a certain test suite is started, ReadyApi executes the Setup script (which generates the memberId and password and saves them at Test Suite level)
2. Every Test Case references that memberId and password.