Contributions
Re: How do I cleanly reuse a testcase that requires input and output parameters in other testcases?
There were multiple causes. I needed to usecustom properties and there was a bug that Support helped resolve. Problem solved. Thanks.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes0CommentsHow 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, thenpass that to the next step. I have suite1 withtestcase loginand: properties step for credentials POST login property transfer to save auth code returned by #2 This runs successfully by itself Then I add suite2 withtestcase get and: properties steps for test-specific credentials Run testcase (calling testcase login from suite1) GET product This keeps pulling the credentials set in suite1 instead of suite2 and it fails. In suite2 #2, how do I access and setthe 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.Solved9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes4Comments