Forum Discussion
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.
Hi Lucian
Thanks again. I think using the test suite setup script would be the best way for this. The problem is I don't know how to do it? It'd be nice you can send me some materials/ documentation related to this to learn?
Thanks, heaps!
- Lucian6 years agoCommunity Hero
Flora ,
If you click on your test suite then you'll have the Setup tab available. That's the place where you can put your actual code (I guess you already have some code for generating the userid and password, right?)
Later edit: The print screen is from SoapUI Pro but it is the same on SoapUI Open Source. Just double click on your test suite to open the test suite window and then you'll see the Setup tab just like in the attached photo.
Related Content
Recent Discussions
- 15 years ago