How to invoke a SOAP UI request from an external system? - jenkins

I have a requirement to upload few xml into my Siebel Application.
Since it is possible using SOAP UI software, I want to invoke the SOAP UI request using command line or using Linux terminal ?
Note: By External System I mean using command line or Linux terminal.

SoapUI can be invoked from a commandline. You just need a Java Runtime Environment in order to do so.
In a windows commandline prompt, you just use the testrunner.bat
Running on Linux, you will need to adjust the commands accordingly, but it is absolutely doable.

Related

How to bundle Electron application and windows service together?

I am very new with electron application. I need some help with election installation.
I have an Electron desktop application and a windows service.
I can start and stop my pre installed services by using sudo-prompt package.
I am creating windows installer by using electron-winstaller package.
But I want to bundle my windows service along with my electron application. My requirement is when I install my electron package then it should install my service also, when I uninstall my package then that service should be uninstalled.
Please help me out. Any clue, Any suggestions will be appreciated.
If you think this should be achieved with something else then please do suggest me.
Electron's windows installer packager strikes me a specific case tool that would likely hit limitations in scenarios like this. I would use a general case tool instead such as the Free and Open Source Windows Installer XML Toolset aka WiX. I would also use with that another FOSS application called Industrial Strength Windows Installer XML aka IsWiX.
WiX allows you to describe and build MSI databases using an XML/XSD domain specific language. It supports MSBuild for easy integration with your CI/CD pipeline. IsWiX* is a set of project templates and graphical designers that provide an opinionated project structuring (scaffolding) and greatly speeds up the learning curve and implementation. For example, this installer you describe could be done without writing a single line of XML.
For more information see: https://github.com/iswix-llc/iswix-tutorials
The desktop-application and windows-service tutorials should** show you everything you need to know to author this installer. Basically follow the desktop-application all the way through and then skip to the final portion of the windows-service tutorial where you define the windows service.
I'm the maintainer of IsWiX
** This assumes your service exe is a proper Windows service that interfaces with the windows service control manager. If it's really just a console app that runs as a service you will need to include a program such as srvany.exe. This will require one line of hand crafted XML to extended the service definition in the registry with the proper command line value to be passed to your exe. An example can be found here: Wix installer to replace INSTSRV and SRVANY for user defined service installation

Is it possible to run appium server as a service in Linux OS like Ubuntu?

I've googled the topic but no result. One alternative way is to use Java client to start appium server programatically. However, I am using Python as my test script. It seems the Python client does not have such APIs.
So, I want to know if it is possible to run appium server as a service, so that I can use the following command to start/stop it:
service appium-server start
service appium-server stop
Any information will be appreciated.

Client server communication using ruby

Am new to ruby
i want to run a ruby script in ubuntu machine.
Inside the ruby script i need to call an exe file from windows machine(C:\data\file.exe)...
How can i achieve the client server communication for this purpose?
or any other methods used for calling an exe file
Pleas esuggest any other methods also for performing this task
ruby code
exec('C:\data\file.exe')
Actually in ubuntu machine am running a ruby script for doing automation using that script i have to run an exe file conatined in the windows machine.and it wil up the exe in the windows machine.i dont want any output from the windows machine to unduntu amchine
I do not understand your setup yet, but some general pointers:
Besides
1) communication over sockets, you could
2) implement a small web-application (for example with Sinatra - if you can run ruby on your windows machine) and make the ruby script communicate with that application, by sending a http request.
Or
3) if you are running in a virtual machine setup you could touch a marker file in a shared folder and watch it from the other side.
Of course there must be many other and more involved methods (like native windows rpc calls), but I think these three ways are the quickest to learn and implement. Personally I would walk the second path, just for the fun of it.

Highcharts Server side generation not working on windows 2008 server

I am trying to generate highcharts images using phantomjs on windows 2008 rc2 server, but for some reason the command exits without generating the SVG. The following command is being executed to generate the chart,
E://BrandManagement//HighCharts//phantomjs//phantomjs E://BrandManagement//HighCharts//js//highcharts-convert.js -infile C:\Tomcatx64\temp\ILmZ47YS4358686612292944754.json -outfile C:\Tomcatx64\temp\ILmZ47YS4358686612292944754.svg -callback C:\Tomcatx64\temp\OpwX6N8a931179010207236357cb.js -constr Chart
If I execute the command prompt the svg does get created, but not from the java process. If there anything special that needs to be takes care of.
Regards,
Ayush
Th problem was with windows permission, tomcat was running as a service, hence probably not able to execute the command.
Went to services>> properties>> security and started running the service as the Administrator logon permission and that did the trick.
Regards,
Ayush

Does an open-source psexec clone written in Delphi exist?

I'd like to add psexec type functionality to an application, but I'd like to have it in native Delphi. Ultimately my goal is to remotely execute a process as SYSTEM, which will require installing a service on the remote machine.
I'm familiar with the XCmd project, which is written in Visual C++. If there already exists a Delphi clone of this program/functionality that would be great. If not, I'll work to convert the XCmd project's logic to Delphi.
Does anyone know of a psexec or xcmd clone for Delphi?
RunAsSys comes close (doesn't work remotely though), it enables you to run something as system, my RunInSession tool has the ability to start a process in any session and remotely

Resources