Contributions
Re: Executing stored procedure from JDBC Request
I tried by executing the below query and it works for me. Please try the again. try { sql.call("call sdamq03.ASGN_USER_ROLE_S1('11111', '222', '11', '111', 'Active');") }catch (Exception ex) { log.info ex.message }catch (Error er) { log.info er.message }5.3KViews0likes0CommentsRe: [Resolved]How to set content in Script Assertion with groovy
I have found the solution and here is the script i used. def stepname = testRunner.testCase.testSuite.getPropertyValue("TestRequestStepName") def assertion = testRunner.getTestCase().getTestStepByName(stepname).addAssertion("Script Assertion") assertion.setScriptText("hai from assertion.setScriptText.....") log.info assertion1.2KViews0likes0Comments[Resolved]How to set content in Script Assertion with groovy
Hi, I have created a script assertion in a test request using this groovy script. But i do not know how to add some groovy code in the created script assertion with the groovy script. can anyone please help me on this. def assertion = testRunner.getTestCase().getTestStepByName(stepname).addAssertion("Script Assertion").1.6KViews0likes3CommentsRe: integrating soapui with QC 11 using Scriptom or ActiveX
Try running this code. If it works then the scriptom configuration has no issues. You have to tune the QC connection code. import org.codehaus.groovy.scriptom.* log.info 'test' def wshell = new ActiveXObject('Wscript.Shell') wshell.popup("This message is from Groovy")3.3KViews0likes0CommentsRe: integrating soapui with QC 11 using Scriptom or ActiveX
I am not sure what is the exact issue. But the same is working from my side. Could you please check your login details, upper and lower cases, proper domain and project name? If possible could you attach the error snapshot? Here is the code i use. import org.codehaus.groovy.scriptom.* import com.jacob.activeX.ActiveXComponent import com.jacob.com.* Scriptom.inApartment { def tdc = new ActiveXObject ('TDApiOle80.TDConnection') tdc.InitConnectionEx('https://dqa.cbank.com/qcbin/') tdc.login('abc123', 'Password12') tdc.connect('BANK','Systest') }3.3KViews0likes0Comments