SoapUI with Groovy Script calling multiple APIs -
i using soapui groovy script , running issue when calling multiple apis. in system testing 1 wsdl/api handles account registration, , returns authenticator. use returned authenticator call different wsdl/api , verify information. able call each of these wsdls/apis separate when put them in groovy script doesn't work.
testrunner.runteststepbyname("registeruser"); testrunner.runteststepbyname("property transfer"); if(props.getpropertyvalue("usercreated") == "success"){ testrunner.runteststepbyname("authenticatestoreuser"); to explain first line run teststep "registeruser". "property transfer" step takes few response values "registeruser" - first "status" see if succeeded or failed, second "authenticator". if statement check if "registeruser" succeeded attempt call "authenticatestoreuser". @ point looks fine. though when calls "authenticatestoreuser" shows thinking bar fails timeout, , if check "raw" tab request says
<missing xml data>. note, if try "authenticatestoreuser" call works fine. after calling "registeruser" in groovy script behaves strange. have tried few different calls , believe issue calling 2 different apis.
has dealt scenario, or can provide further direction may happening?
(i have preferred comment on question, don't have enough rep yet)
have checked error log tab @ bottom when occurs? if so, , there stacktrace share?
Comments
Post a Comment