How do I cleanly reuse a testcase that requires input and output parameters in other testcases?
I'm trying to set up some test suites for a REST api using SoapUI NG Pro. I first need to login and retrieve the auth code, then pass that to the next step.
I have suite1 with testcase login and:
properties step for credentials
property transfer to save auth code returned by #2
This runs successfully by itself
Then I add suite2 with testcase get and:
properties steps for test-specific credentials
Run testcase (calling testcase login from suite1)
This keeps pulling the credentials set in suite1 instead of suite2 and it fails.
In suite2 #2, how do I access and set the input (login creds) and output (auth code) parameters for the testcase being called? The properties are not listed when to create the "run testcase", unless i create custom parameters on suite1.
Can anyone recommend the corect way to do this? I can't seem to get the correct sequence of steps. I have already reviewed the Help docs and searched the community, and found no clear example to follow. Thanks.