Forum Discussion

Flora's avatar
Flora
New Contributor
6 years ago

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...
  • Lucian's avatar
    Lucian
    6 years ago

    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.