Hi ,I am trying to execute a command throug stax, execution passes. Can you 
please tell me how can i retrieve the result.
root@XXX:~/stafexec# cat date   ///My stax file
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE stax SYSTEM 
"stax.dtd">
<stax>
  <defaultcall function="test"/>
  <function name="test">    <sequence>
      <!-- get the python date -->      <script>        from time import 
localtime, strftime        currenttime = strftime("%a, %d %b %Y %H:%M:%S", 
localtime())      </script>
      <message>'Python time: %s' % currenttime</message>
    </sequence>  </function>
</stax>
Running stax job:root@ubuntucob:~/stafexec# STAF local STAX EXECUTE FILE 
/root/stafexec/date Response--------11root@ubuntucob:~/stafexec# STAF local 
STAX GET RESULT JOB 11Response--------{  Job Name       : <None>  Start 
Date-Time: 20130725-15:48:27  End Date-Time  : 20130725-15:48:27  Status        
 : Normal  Result         : None  Job Log Errors : []  Testcase Totals: {    
Tests : 0    Passes: 0    Fails : 0  }  XML File Name  : /root/stafexec/date  
File Machine   : local://local  Function       : test  Arguments      : <None>  
Scripts        : []  Script Files   : []  Script Machine : <None>}

How can i get the output of execution ??                                        
  
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to