| || |
How to Run Soap Services/Groovy scripts using external VBScript ?
Its a ****** requirement !
My requirement is to run different SoapUI services/groovy scripts using external VBScript without invoking SoapUI tool (like we do write VBScript code to run QTP scripts)...
Please, experts can help me out...
Solutions & Suggestions are welcome...thanks in advance.
Do you mean without the SOAPUI's interface? I'm guessing they want you to running the tool headless. If that's the case...
Originally Posted by manishddeshmukh
First you basically figure out how to run SOAPUI test via command line, Functional Tests | Test Automation
Then use the WShell to execute the commands, VBScript: Using WScript.Shell to Execute a Command Line Program That Accesses Active Directory - Stack Overflow
From there, you'll have to figure out how to write a bit of code to do some result processing.
Thanks for replying, this case is...having SoapUI installed in our machine, but should be in invisible mode while executing thr' vbscript.
For example, a vbscript code for executing soapui request (web service) which will give direct result in a msgbox:
objSoap.ClientProperty("ServerHTTPRequest") = True
But, my requirement is not executing request, but executing Groovy scripts present in Soapui...just to replace REQUEST by GROOVY SCRIPT...in the same manner as in above code, but i am not finding that !
I think the EVAL() subroutine is what you might be looking for,
VBScript Eval Function
yeh something like that, but now, as i am not finding any way, I decided to have command line for executing groovy scripts...
You have already provided me the hints thr' above links but not much clear, could you please provide me any code / best links for executing groovy script using command line? or require to use any intermediator for this ?
Thanks in advance...