1, You can store your test script at whatever location you want as you
will be specifying the fully qualified path name in a STAF PROCESS START
request to run it.
2. You can use the STAF PROCESS service's START request to run your test
script. For example, say your test script is located at
C:\tests\test1.exe on a machine with host name client1.company.com. Then
you can submit a START request to the PROCESS service on machine
client1.company.com to run your test script. You can submit the STAF
PROCESS START request from any machine that is running STAFProc and that
has been given STAF trust level 5 by machine client1.company.com. You can
use the STAF command line executable to submit the PROCESS START request
from the command line, or you can use the STAF APIs provided for Java,
C/C++, Perl, Python, or Tcl to submit STAF service requests
programmatically or you can use STAX as an execution engine to submit STAF
service requests.
STAF client1.company.com PROCESS START SHELL COMMAND
"C:/tests/test1.exe" WAIT RETURNSTDOUT STDERRTOSTDOUT
See section "8.12 Process Service" in the STAF User's Guide at
http://staf.sourceforge.net/current/STAFUG.htm#HDRPROCSRV for more
information on the PROCESS service. And see the "Getting Started with
STAF" guide at http://staf.sourceforge.net/current/STAFGS.pdf.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: swapnil k <swapnil.keshar...@gmail.com>
To: staf-users@lists.sourceforge.net
Date: 06/01/2011 08:25 AM
Subject: [staf-users] HOW TO RUN THE TEST SCRIPT
Hi All,
I want to add my own test script n run it using STAF , so how do i do that
?
1: At what location should i store the script..?
2: what is the command to run the script
Thanks & Regards
Swapnil
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with
vRanger.
Installation's a snap, and flexible recovery options mean your data is
safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users