Activity for SW Test Automation Framework

  • Charles Rankin Charles Rankin posted a comment on ticket #193

    Try now. I had deleted a bunch of older files at the request of SourceForge. I'm not sure why this would have affected the documentation. I've updated the docs to point to the correct place. I'm not sure if there is an automated process that may cause things to go awry again. I'll continue to look at this for the next few days to make sure things remain stable. Thank you for reporting this!

  • Marco Masciovecchio Marco Masciovecchio created ticket #193

    URLs to documentation broken

  • sarfaraz_k Khan sarfaraz_k Khan posted a comment on discussion Help

    Certainly! STAF (Software Test Automation Framework) is a powerful tool designed to provide a collaborative testing environment across machines. It provides a way to remotely launch and monitor processes, among many other features. To interact with a remote process using STAF, you'll typically use the PROCESS service. Starting a remote CLI program using STAF: You can start a remote process by issuing a command to the PROCESS service. Here's an example in which you'd start a command-line process on...

  • Soumya Roy Soumya Roy created ticket #192

    Unable to install STAF in Mac OS Monterey 12.4

  • Michał Tarczyński Michał Tarczyński posted a comment on discussion Help

    Hello, I have created the STAF service which implements STAFServiceInterfaceLevel30 and sends STAF event after the SNMP trap is received. For receiving SNMP traps the snmp4j is used and class for receiving traps implements the snmp4j CommandResponder interface. The ovverrided processPdu method analyzes trap and then sends the corresponding STAF event. Because traps are received sometimes at a very short intervals, so I decided to send STAF events in a seperated threads in order not to lose the received...

  • Nixon Nixon posted a comment on discussion Help

    you have to use the process service to run commands. Try this staf local process start shell command java version wait returnstdout stderrtostdout if that doesn't work, try staf local process start shell command java parms version wait returnstdout stderrtostdout http://staf.sourceforge.net/current/STAFUG.htm#HDRPROCSRV Thanks, Nixon

  • Alok Singh Alok Singh modified a comment on discussion Help

    Configured STAF 3.4.26 on windows server. C:\Windows\system32>staf local ping ping Response PONG C:\Windows\system32>staf local java version Error submitting request, RC: 2 Additional info java It fails with RC:2 error . I could get java version response on the cmd prompt. Some issue with STAF configuration. Looked into the error code and couldn't figure out resolution for this issue . Any help for resolutions will be appreciated.

  • Alok Singh Alok Singh posted a comment on discussion Help

    Configured STAF 3.4.26 on windows server. C:\Windows\system32>staf local ping ping Response PONG C:\Windows\system32>staf local java version Error submitting request, RC: 2 Additional info java It fails with RC:2 error . I could get java version response for java version on the cmd prompt. Some issue with STAF configuration. Looked into the error code and couldn't figure out resoltuion for this issue . Any help for resolutions will be appreciated.

  • Anmol Jain Anmol Jain posted a comment on discussion Help

    I am having same error. Could please tell me the solution?

  • Anmol Jain Anmol Jain posted a comment on discussion Help

    I am having same error. Could please tell me the solution?

  • Anmol Jain Anmol Jain posted a comment on discussion Help

    I am having same error. Could please tell me the solution?

  • Anmol Jain Anmol Jain posted a comment on discussion Help

    I am having same error. Could please tell me the solution?

  • Anmol Jain Anmol Jain posted a comment on discussion Help

    I am having same error. Could please tell me the solution?

  • Abhishek Deshmukh Abhishek Deshmukh created ticket #1600

    Unable to generate logs when upgrading log4j version to 2.17.1

  • Jiang Wang Jiang Wang posted a comment on discussion Help

    Hi Mr/Ms: I got a problem like below: Exception: STAFConnectionIOException, Location: /opt/dev/autobuild/build/src/staf/stafif/STAFConnectionProviderInlImpl.cpp(339), Text: STAFConnectionWriteUInt: Error writing to socket: send() osRC=32, Error code: 22 or Caught STAFException in JSTAF.STAFServiceInit(), Service: pccontrol, Exception: STAFConnectionIOException, Location: /opt/dev/autobuild/build/src/staf/stafif/STAFConnectionProviderInlImpl.cpp(280), Text: STAFConnectionReadUInt: Error reading from...

  • Rob Rob posted a comment on discussion Help

    I tried to install STAF on 64bit Windows 10 but it crashes immidiately after start. From the windows events log: Faulting application name: STAFProc.exe, version: 0.0.0.0, time stamp: 0x58683f0b Faulting module name: LIBEAY32.dll, version: 1.0.2.7, time stamp:: 0x56d6f5aa I already exchanged the libeay32.dll but did not help. Any ideas?

  • jiffy sun jiffy sun posted a comment on discussion Help

    Did anyone build it successfully?

  • ricky philip ricky philip modified a comment on discussion Open Discussion

    I had given answer to a similar question like this in Stack overflow, if you would like to check it out then here's the link https://stackoverflow.com/questions/32423034/reloading-env-variables-without-restarting-server-laravel-5-shared-hosting

  • ricky philip ricky philip modified a comment on discussion Open Discussion

    I had given answer to a similar question like this in Stack overflow, if you would like to check it out then here's the link https://stackoverflow.com/questions/32423034/reloading-env-variables-without-restarting-server-laravel-5-shared-hosting I've tried this with STAF since it's open source. Actually, every program that needs to see them has to be restarted. The environment is copied into the process' memory on startup and therefore has no connection whatsoever to the system-defined envvars anymore....

  • ricky philip ricky philip modified a comment on discussion Open Discussion

    I had given answer to a similar question like this in Stack overflow, if you would like to check it out then here's the link https://stackoverflow.com/questions/32423034/reloading-env-variables-without-restarting-server-laravel-5-shared-hosting

  • ricky philip ricky philip modified a comment on discussion Open Discussion

    I had given answer to a similar question like this in Stack overflow, if you would like to check it out then here's the link https://stackoverflow.com/questions/32423034/reloading-env-variables-without-restarting-server-laravel-5-shared-hosting I've tried this with STAF since it's open source. Actually, every program that needs to see them has to be restarted. The environment is copied into the process' memory on startup and therefore has no connection whatsoever to the system-defined envvars anymore....

  • Betsy L Jeffery Betsy L Jeffery posted a comment on discussion Help

    Thanks!

  • Nixon Nixon posted a comment on discussion Help

    I think you can change in the staf.cfg and restart the service Enable TCP/IP connections interface ssl library STAFTCP option Secure=Yes option Port=6550 interface tcp library STAFTCP option Secure=No option Port=6500 option ConnectTimeout=10000

  • Betsy L Jeffery Betsy L Jeffery posted a comment on discussion Help

    sorry, is there a WAY to change, not a 'what'

  • Betsy L Jeffery Betsy L Jeffery posted a comment on discussion Help

    The ports 6500 and 6550 are reserved on my system (restrict low ports). Is there a what to change the default port numbers in STAF (unix on z/OS)

  • MULINTI PULIRAJU MULINTI PULIRAJU posted a comment on discussion Help

    Hi Experts, I need to restart PC (VM's- Virtual machines) By using STAF Frame work. Can you please resolve this ?

  • Thomas Frei Thomas Frei posted a comment on discussion Help

    Hi all, I have a STAF/STAX environment running and I run many different tasks on my target. Sometimes, it happens, when i create a new task, that I try a new script, the script is running as expected, but when i insert it into my STAF environment, it fails with different errors (segmentation fault, ...) I wonder, what is the root cause for that - what can I do to solve sucjh problems - what kind of command is allowed to run in a STAX environment and what doesn't? If you need more details, feel free...

  • ricky philip ricky philip posted a comment on discussion Open Discussion

    I had given answer to a similar question like this in Stack overflow, if you would like to check it out then here's the link https://stackoverflow.com/questions/32423034/reloading-env-variables-without-restarting-server-laravel-5-shared-hosting I've tried this with STAF since it's open source. Actually, every program that needs to see them has to be restarted. The environment is copied into the process' memory on startup and therefore has no connection whatsoever to the system-defined envvars anymore....

  • tony ionescu tony ionescu posted a comment on discussion Help

    i have installed STAF 3.4.26 on windows 10 server x64 when i log in as Administrator i see a cmd window quickly filckering with some STAF error inside. It quickly disappears. However, I can start the STAFProc from cmd after that. But i want to ask how do i disable that STAFProc to start at login. I searched registry and System Configuration and Task Scheduler. I did not figured out.

  • Patrol Patrol modified a comment on discussion Help

    Hi. We are currently migrating from Python2 to Python3 and We want to use at least Python3.6 or higher. Is STAF compatible with Python3.6 or higher versions? Or is now any possibility to run it with py3.6? Now I have an error at the import of PYSTAF (with py3.6). Is there any solution? Thank you!

  • Patrol Patrol posted a comment on discussion Help

    Hi. We are currently migrating from Python2 to Python3 and We want to use at least Python3.6 or higher. Is STAF compatible with Python3.6 or higher versions? Or is now any possibility to run it with py3.6? Now I have an error at the import of PYSTAF (with py3.6). Is there any fix?

  • Rodrigo Pereira dos Reis Rodrigo Pereira dos Reis posted a comment on discussion Help

    Hi, I am moving a server from a Windows Server 2008 to 2016 and I tried to install the same version 2 from the old machine to the new one, but I got the following error when starting Stafproc: C:\tools\d\STAF\bin\STAFProc.exe Could not open file /usr/local/staf/codepage/alias.txt Could not open file /usr/local/staf/codepage/ibm-437.bin WARNING: Defaulting to LATIN_1 HostName: (machine_name_hided) Machine name: (machine_name_hided) In main(): Caught STAFException Name : STAFConnectionConnectException...

  • Swapnil Swapnil modified a comment on discussion Help

    I am trying to create new dir on remote Catalina VM using below command but it gets stuck and returns no response. STAF machine.domain.com PROCESS START SHELL COMMAND sudo mkdir -p '/Volumes/CustomDir' SAMECONSOLE RETURNSTDOUT STDERRTOSTDOUT WAIT Trying to execute same command directly on local Catalina VM results in same problem. STAF local PROCESS START SHELL COMMAND sudo mkdir -p '/Volumes/CustomDir' SAMECONSOLE RETURNSTDOUT STDERRTOSTDOUT WAIT Creating directory using FS CREATE DIRECTORY is working...

  • Swapnil Swapnil modified a comment on discussion Help

    I am trying to create new dir on remote Catalina VM using below command but it gets stuck and returns no response. STAF machine.domain.com PROCESS START SHELL COMMAND sudo mkdir -p '/Volumes/CustomDir' SAMECONSOLE RETURNSTDOUT STDERRTOSTDOUT WAIT Trying to execute same command directly on local Catalina VM results in same problem. STAF local PROCESS START SHELL COMMAND sudo mkdir -p '/Volumes/CustomDir' SAMECONSOLE RETURNSTDOUT STDERRTOSTDOUT WAIT Other STAF commands like PING or FS LIST DIRECTORY...

  • Swapnil Swapnil posted a comment on discussion Help

    I am trying to create new dir on remote Catalina VM using below command but it gets stuck and returns no response. STAF machine.domain.com PROCESS START SHELL COMMAND sudo mkdir -p '/Volumes/CustomDir' SAMECONSOLE RETURNSTDOUT STDERRTOSTDOUT WAIT Trying to execute same command directly on local Catalina VM results in same problem. STAF local PROCESS START SHELL COMMAND sudo mkdir -p '/Volumes/CustomDir' SAMECONSOLE RETURNSTDOUT STDERRTOSTDOUT WAIT Other STAF commands like PING or FS LIST DIRECTORY...

  • Mason Cooper Mason Cooper posted a comment on discussion Open Discussion

    For anyone that sees this, I was able to resolve the issue with startSTAFProc.sh on osx by installing coreutils (brew install coreutils) and aliasing nohup (used by startSTAFProc.sh, alias nohup='gnohup' in your ~/.bashrc file). For me, at least, the problem seems to be caused by a difference between OSX default (BSD) and GNU implementation of nohup, with BSD not passing on the DYLD enviroment variable set by STAFEnv.sh.

  • Mason Cooper Mason Cooper posted a comment on discussion Open Discussion

    For anyone that sees this, I was able to resolve the issue with startSTAFProc.sh on osx by installing coreutils (brew install coreutils) and aliasing nohup (used by startSTAFProc.sh, alias nohup='gnohup' in your ~/.bashrc file). For me, at least, the problem seems to be caused by a difference between OSX default (BSD) and GNU implementation of nohup, with BSD not passing on the DYLD enviroment variable set by STAFEnv.sh.

  • anne1234 anne1234 posted a comment on discussion Help

    Hi, Is RHEL 8 supported for the latest STAF? I tried to install it, and getting this error: [root@rh8 STAF]# ./STAF3426-setup-linux-amd64.bin Preparing to install Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... JRE libraries are missing or not compatible.... Exiting.... Java installed: [root@rh8 STAF]# which java /usr/bin/java...

  • shiva shiva posted a comment on discussion Help

    I had a similar issue, my ping request used to take more than 15 sec to respond. Turned out to be a DNS resolution issue. Either have a DNS server in your domain or edit the /etc/hosts file to resolve the host names in both client and server machines. Hope that helps!

  • Techno.Scavenger Techno.Scavenger posted a comment on ticket #739

    I was able to compile STAX with Jython 2.7.x support. I did some quick test and it seems to work. Please provide feedback for any issues I can't upload here due to attachment file restrictions but you should be able to download form the following link: https://sourceforge.net/projects/stafmisc/files/stax/STAX_0_0_0.zip/download

  • Techno.Scavenger Techno.Scavenger posted a comment on a blog post

    Say, I wanted to (re) create the installer, how do we do this in an open source way? Is there an open source version or free for open source InstallAnywhere?

  • Techno.Scavenger Techno.Scavenger posted a comment on ticket #772

    I have compiled 64-bit Python for the following versions: Python 3.5 Python 3.6 Python 3.7 See attached. Note that I only did high level test.

  • Techno.Scavenger Techno.Scavenger posted a comment on discussion Help

    I use VMware on ESXi a lot. You might want to check if your machine is going into power saving mode. Also try to set the host to high performance mode and not sleep. Same for the VMs. On Wed, Mar 13, 2019, 1:20 PM Vyacheslav p572@users.sourceforge.net wrote: Thank you for answering. Extensive googling reveals that it may have to do with the fact that all machines are virtual, and VMware Workstation has some weird things with idle tcp connections. I'll have to look into alternatives. Simple STAF command...

  • Vyacheslav Vyacheslav modified a comment on discussion Help

    Since I can't get synchronous process execution to work( https://sourceforge.net/p/staf/discussion/104046/thread/66bfe4d234/ ) I decided to try running it asynchronously like this: staf '{machine_name}' process start shell command 'C:\\something.exe' stderrtostdout returnstdout notify onend sameconsole Executing this command gives me some process handle, say, for example, 77. I can check whether its done or not by staf '{machine_name}' process query handle 77 I checked registrations, and my current...

  • Vyacheslav Vyacheslav posted a comment on discussion Help

    Since I can't get synchronous process execution to work( https://sourceforge.net/p/staf/discussion/104046/thread/66bfe4d234/ ) I decided to try running it asynchronously like this: staf '{machine_name}' process start shell command 'C:\\something.exe' stderrtostdout returnstdout notify onend sameconsole Executing this command gives me some process handle, say, for example, 77. I can check whether its done or not by staf '{machine_name}' process query handle 77 I checked registrations, and my current...

  • Vyacheslav Vyacheslav posted a comment on discussion Help

    Thank you for answering. Extensive googling reveals that it may have to do with the fact that all machines are virtual, and VMware Workstation has some weird things with idle tcp connections. I'll have to look into alternatives.

  • Techno.Scavenger Techno.Scavenger posted a comment on discussion Help

    I have seen something similar before and was due to DNS/hostname/IP resolution issue. Essentially STAF is not notified when tasks we're completed from the other end. On Tue, Mar 12, 2019, 11:31 AM Vyacheslav p572@users.sourceforge.net wrote: I'm trying to execute .exe on remote machine with the following simple command: staf '{machine_name}' process start shell command 'C:\something.exe' stderrtostdout returnstdout wait I don't get any errors, it just stays there without any answer(ctrl-c interrupts...

  • Vyacheslav Vyacheslav posted a comment on discussion Help

    I'm trying to execute .exe on remote machine with the following simple command: staf '{machine_name}' process start shell command 'C:\\something.exe' stderrtostdout returnstdout wait I don't get any errors, it just stays there without any answer(ctrl-c interrupts just fine). I ran that exe locally on that machine, it works for 3 minutes, writes to file and exits without any errors. I tried running this STAF command on three different machines. Remotely, it worked on Windows Server 2016 machine, but...

  • Deepak K Deepak K posted a comment on discussion Help

    Hi, I want to know how many jobs STAX can run at a time and as well as system requirements so that the performance of the stax can be improved(like java version options to jvm etc) and can be staf used in production? performance of the staf/stax is decreasing as the number of jobs increases,if there about 150 jobs are simultaniously running in stax the performance is getting decreased. can i get any tips? Thank you.

  • Deepak K Deepak K posted a comment on a blog post

    Hi, How many jobs staf can run at a time? and what are the requirements the system need for running lot more jobs?

  • Bharath Viswanathan Bharath Viswanathan posted a comment on discussion Help

    Hello, STAF noob here :) So this is what I'm trying to do: - Run a staf command on a remote machine (Remote123) from a local machine (Local456) - Redirect the ouput to a local file on the remote machine (Remote123) - Copy the file back from the remote machine (Remote123) to my local machine (Local456) Commands I'm running on local machine (Local456): staf Remote123 process start command returnstdout stderrtostdout stdout C:\Dropbox\output_remote.txt staf Remote123 fs copy file C:\Dropbox\output_remote.txt...

  • Dawid Dawid posted a comment on discussion Help

    Hi, I've got a problem with creating directories under Mint 18.1. I would like to set 777 permissions to newly created folder and to allow different user(machine nickname) to create files in that folder. Thank you in advance for your help. Regards, Dawid

  • Dhananjay Gundre Dhananjay Gundre posted a comment on discussion Open Discussion

    I used STAF 3.4.26 installer for MacOS. Installed staf at default location by invoking installer with sudo. Now when I try to start STAF using startSTAFProc.sh then I am getting same error as that of OP.

  • Paolo Branca Paolo Branca modified a comment on discussion Open Discussion

    STAF is supported for several platforms, but not yet for Raspberry Pi, so there isn't a makefile. I've tried to write a makefile but without success. I'd like it to build for Raspberry pi 3+ with rasbian v9. Thoughts about makefile?

  • Paolo Branca Paolo Branca posted a comment on discussion Open Discussion

    It is supported for several platforms, but not yet for Raspberry Pi, so there isn't a makefile. I've tried to write a makefile but without success. I'd like it to build for Raspberry pi 3+ with rasbian v9. Thoughts about makefile?

  • Sharon Lucas Sharon Lucas posted a comment on discussion Help

    The STAX source code is part of the STAF source code that you can download. It’s in the services/stax directory. Sharon On Jan 7, 2019, at 1:01 AM, Techno.Scavenger technoscavenger@users.sourceforge.net wrote: Thanks for the reply Sharon! I would like to start on STAX, can't find the src. Can you please point me to the location? How to contribute to the project Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/staf/discussion/104046/ To unsubscribe from further...

  • Charles Rankin Charles Rankin posted a comment on a blog post

    Yes, you should be able to do the following to extract the source. cvs -z3 -d:pserver:anonymous@staf.cvs.sourceforge.net:/cvsroot/staf co -P src

  • Techno.Scavenger Techno.Scavenger posted a comment on discussion Help

    Thanks for the reply Sharon! I would like to start on STAX, can't find the src. Can you please point me to the location?

  • STAF Automated Build STAF Automated Build posted a comment on discussion Help

    We don't provide STAF binaries for ARM. You can try building STAF yourself from source code on your ARM system. See the STAF Developer's Guide at http://staf.sourceforge.net/current/stafdg.html for information on how to build STAF.

  • STAF Automated Build STAF Automated Build posted a comment on discussion Help

    Yes, the STAF source code is in CVS but SourceForge stopped supporting CVS a while ago. You can download the latest STAF source code by going to the STAF home page at http://staf.sourceforge.net and then select "Download STAF" from the navigation panel on the left which takes you to http://staf.sourceforge.net/getcurrent.php. Scroll down until you see the "Source code" section and download either STAF3426-src.tar.gz or STAF3426-src.zip.

  • Techno.Scavenger Techno.Scavenger posted a comment on a blog post

    Can someone provide a hing where I can download the source code? Should I use CVS client?

  • Techno.Scavenger Techno.Scavenger posted a comment on discussion Help

    Can somoene be my mentor to start contributing to this project? Is the source all in CVS?

  • Mahesh Chidrawar Mahesh Chidrawar posted a comment on discussion Help

    I am trying to complile staf 3436 version with latest perl 5.26.1 from active state, i am getting following error: /localdisk/STAF3426/src/staf/lang/perl/perl520/../STAFPerlGlue.cpp:11:20: fatal error: EXTERN.h: No such file or directory #include "EXTERN.h" How to resolve this?

  • Ashwin Balaji Kuppuraj Ashwin Balaji Kuppuraj posted a comment on discussion Help

    I have a Jenkins pipeline where it creates a linux VM for execution of test. The executor in the Jenkins is also a small vm which runs on windows. So basically its a STAF call between windows machine to Linux machine. When I try to run that, I am getting "mvn command not found" error. But when I login the Linux VM manually and check, I could see the mvn installed. (Also I could run the commands) Any idea how I can resolve this?

  • Igor Gilimson Igor Gilimson created ticket #1599

    Command 'STAF local VAR RESOLVE STRING {STAF/Config/OS/Name} ' has response WinSrv2016 on Windows Server 2019

  • Mojo Mojo created ticket #782

    add support for ARM aa64 architecture

  • Mojo Mojo posted a comment on discussion Help

    .

  • Ayo Adegbokun Ayo Adegbokun posted a comment on discussion Help

    Thank you very much. I knew it was something very simple.

  • Mojo Mojo posted a comment on discussion Help

    Hi, Is there any way to install STAF on ARM system ? thanks

  • Sergiu Sergiu posted a comment on ticket #769

    This issue reappears also on Windows Server 2019 which is recognized as Windows Server 2016, can someone add also support for Windows Server 2019? Or just tell us how we can add support for it.

  • Sergiu Sergiu posted a comment on discussion Help

    I think this is a normal behavior of startstafProc. You can open another command line and do whatever you want

  • Ayo Adegbokun Ayo Adegbokun posted a comment on discussion Help

    I'm new to STAF and while working with the tutorial provided came across this problem. I've installed version 3.4.26. I launch STAF by click on the Start STAF icon (Windows), the command prompt window opens showing the machine, machine nickname, startup time and STAFPROC version 3.4.26 initialized. When I now try to type nothing is appearing. I have tried cmd directly, entered the command 'stafproc' but once "STAFProc version 3.4.26 initialized" is shown, I can't type anything anymore. Can someone...

  • shashank singh shashank singh posted a comment on discussion Help

    There are two machines A and B. Created ppp session and interface on machine B. Trying to execute any command from A on B takes hidden 20-30 seconds but if the ppp interface is not present then the command is executed immediately. Is there a way around or should I raise a bug?

  • Achyuthapresksha AN Achyuthapresksha AN modified a comment on discussion Help

    hi , i want get the pid of the process . i am using staf local process start command pgrep parms "-f zooKeeper" where pgrep -f "name_of_the_process" gives the pid of that process ... but i am not getting the pid as i started zooKeeper using sudo command ,so i can only get the id if i run the above command with sudo along with i have to send the password of the superuser.How to achieve this .. i wont run through command i will trigger this using java with staf submit2() method . please help me , i...

  • Achyuthapresksha AN Achyuthapresksha AN posted a comment on discussion Help

    hi , i want get the pid of the process . i am using staf local process start command pgrep parms "-f zooKeeper" where pgrep -f "name_of_the_process" gives the pid of that process ... but i am not getting the pid as i started zooKeeper using sudo command ,so i can only get the id if i run the above command with sudo along with i have to send the password of the superuser.How to achieve this .. i wont run through command i will trigger this using java with staf submit2() method . please help me , i...

  • jiffy sun jiffy sun posted a comment on discussion Help

    Hi, I use Http service to get json content to config our test param, I have geted the content from our system. But I can not parse the content. this is my STAX script: <stafcmd name="'HttpTaskSearch'"> <location>'local'</location> <service>'http'</service> <request>taskSearchRequest</request> </stafcmd> <message log="1">'HttpTaskSearch RC=%s, STAFResult=%s' % (RC, STAFResult)</message> <if expr="RC!= 0"> <return>[RC, STAFResult]</return> </if> <script> notFound = 'Can not found %s' % serialNo content...

  • Bianca Calota Bianca Calota posted a comment on ticket #1571

    Hello, Could you please inform me if there is any new information/state of this ticket? Thank you in advance!

  • Bianca Calota Bianca Calota posted a comment on ticket #1571

    Java garbage collector investigation: - Memory usage for stax application at startup (before running any stax job) : 200 MB - Memory usage for stax application after running 5 stax jobs (1.2 GB) - Heap size in Visual Garbage Collector for stax application after running 5 jobs: 200 MB(from 4GB allocated) It seems that after the jobs end, heap size for the application return to it's original value (~200MB) but the memory usage shown in Task Manager remains the same. During the investigation I found...

  • Yves Grenier Yves Grenier posted a comment on discussion Help

    I am trying to access our internal TFS (Team Foundation Server) with the HTTP service. I have tried everything I can to get a positive response but always get a 401 back. What else do I need? It works fine when I invoke the URL with Internet explorer C:\Windows\System32>staf local http request method get url "http://tfs" session 1 RETURNHEADERS Error submitting request, RC: 4401 Additional info { Status Code : 401 Status Message: Unauthorized Headers : { Content-Length : 0 Date : Tue, 16 Jan 2018...

  • Kornel Hamula Kornel Hamula posted a comment on ticket #191

    Currently the return code is always 0.

  • Kornel Hamula Kornel Hamula created ticket #191

    STAF proc exit code

  • Brad Chin Brad Chin posted a comment on discussion Help

    Hi, I was running a powercycle test on my servers when STAF on my servers crashed STAFProc version 3.4.11 initialized 20171120-23:30:29;140652566550272;00000100;STAFProcess::processMonitorThread: Error opening /dev/tty, errno: 6 Error in `/var/staf/bin/STAFProc': free(): invalid size: 0x00007fec14001b80 ======= Backtrace: ========= /lib64/libc.so.6(+0x7c619)[0x7fec45853619] /var/staf/lib/libSTAF.so(STAFStringDestruct+0x27)[0x7fec46642407] /var/staf/lib/libSTAF.so(_Z30STAFObjectFreeSTAFStringTArrayPP24STAFStringImplementationj+0x21)[0x7fec46623e01]...

  • Hello world Hello world modified a comment on discussion Help

    I followed the instruction above and add test1 to Administrators Group and add test1 to "local Security Setting/Replace a process level toke. " in 10.162.13.31. And I got the following error messages while running the ping commands And then Because test1 is a domain user,I also added user test1 to "Replace a process level token" Security Ploicy settings under "Default Domain Controller policy->Computer Configuration -> Policies -> Windows settings -> Security Settings->Local Policy -> User Rights...

  • Hello world Hello world modified a comment on discussion Help

    Hi, Using STAF: I want to check if domain user "logtest1" can ping 10.33.79.20 by issuing the command below, but got the following error message. How to run a command for a specific user who are not an administrator using STAF PROCESS? root@machine:~# staf 10.160.247.151 process start shell command "ping -n 3 10.33.79.20" USERNAME "logtest1" password 'MMMMM1!' wait STDERRTOSTDOUT RETURNSTDOUT Error submitting request, RC: 10 Additional info Error starting the process. CreateProcessAsUser failed with...

  • Hello world Hello world modified a comment on discussion Help

  • Hello world Hello world modified a comment on discussion Help

    Hi, I installed STAF on a Windows machine. The STAFProc starts only when user login. For linux machines, you can create init scripts to start STAFProc automatically when booting up a linux machine. How to configure the Windows settings so that the STAFProc will start automatically once the machine is power on? Thanks,

  • Hello world Hello world modified a comment on discussion Help

    Hi, In a firewall rule test case, some of domain users can ping a destination, some of them can not. Manually I will login as a domain user and run ping 10.33.79.20. Using STAF: I want to check if domain user "logtest1" can ping 10.33.79.20 by issuing the command below, but got the following error message. How to run a command for a specific user who are not an administrator using STAF PROCESS? root@machine:~# staf 10.160.247.151 process start shell command "ping -n 3 10.33.79.20" USERNAME "logtest1"...

  • Hello world Hello world modified a comment on discussion Help

    10.162.13.31 is Windows 7 Enterprise. test1 is a domain user. I followed the instruction above and add test1 to Administrators Group and add test1 to "local Security Setting/Replace a process level toke. " in 10.162.13.31. And I got the following error messages while running the ping commands And then Because test1 is a domain user,I also added user test1 to "Replace a process level token" Security Ploicy settings under "Default Domain Controller policy->Computer Configuration -> Policies -> Windows...

  • Sergiu Sergiu created ticket #1598

    Automatic LogIn Not Possible on SLES12 systems after installing STAF 3.4.26 version

  • Sharon Lucas Sharon Lucas posted a comment on discussion Help

    When starting STAFProc, redirect its stdout and stderr to a file because STAFProc's output can be very helpful when investigating a problem: STAFProc >C:\temp\STAFProc.out 2>&1 Provide STAFProc's output.

  • Jelly Jelly created ticket #1597

    unicast-flood detected on switch

  • Sergiu Sergiu posted a comment on discussion Help

    Hi, I got some problems with STAFproc.exe which suddenly stopped working. The issue happened on a VM with Windows Server 2016 Datacenter. I've started 48h of reboot on this VM(VM is located on a ESXi host) and after 15 cycles STAFproc.exe has stopped working. The logs from Event Viewer are: Faulting application name: STAFProc.exe, version: 0.0.0.0, time stamp: 0x568db419 Faulting module name: STAFProc.exe, version: 0.0.0.0, time stamp: 0x568db419 Exception code: 0xc0000005 Fault offset: 0x000000000005c337...

  • Qualitia Qualitia modified a comment on discussion Open Discussion

    Qualitia is a scriptless test automation tool that is language and platform agnostic, and leverages the power of both Selenium and UFT. - Visit https://www.qualitiasoft.com/ for more details on STAF. The fundamental goals organizations seek to accomplish with test automation are faster time-to-market and better quality. When done well they achieve greater test coverage in shorter time, but it is generally true that most organizations struggle to attain these goals. This is where Qualitia comes in....

  • Qualitia Qualitia posted a comment on discussion Open Discussion

    Qualitia is a scriptless test automation tool that is language and platform agnostic, and leverages the power of both Selenium and UFT. - Visit https://www.qualitiasoft.com/ for more details on STAF. The fundamental goals organizations seek to accomplish with test automation are faster time-to-market and better quality. When done well they achieve greater test coverage in shorter time, but it is generally true that most organizations struggle to attain these goals. This is where Qualitia comes in....

  • Sharon Lucas Sharon Lucas created a blog post

    Future of STAF/STAX

  • Shambhu Sharma Shambhu Sharma posted a comment on discussion Help

    Hi Sharon, Thanks. After disabling ProcessAuthMode on autorat2, it is working fine now :)

  • Sharon Lucas Sharon Lucas posted a comment on discussion Help

    Don't set ProcessAuthMode to "None" on autorat2 (the system where the process will be run). Leave it set to the default setting "Disabled". This is because you're using "su" to run the process under a different user. Also, make sure you're running STAFProc as root on autorat2.

  • Shambhu Sharma Shambhu Sharma posted a comment on discussion Help

    Hi Sharon, Thanks for your reply. I am still getting the error "Data : su: must be run from a terminal". I am using Ubuntu 16.04. $ STAF autorat2 PROCESS START SHELL "su - %u -c %C" COMMAND pwd USERNAME autotest WAIT STDERRTOSTDOUT RETURNSTDOUT Response { Return Code: 1 Key : <None> Files : [ { Return Code: 0 Data : su: must be run from a terminal } ] } I am getting correct output, if I do not use "su - %u -c %C". $ STAF autorat2 PROCESS START SHELL COMMAND pwd USERNAME autotest WAIT STDERRTOSTDOUT...

  • Sharon Lucas Sharon Lucas posted a comment on discussion Help

    When using the PROCESS service to run a command, the process is run within the environment in hich STAFProc is running. To run a gui command like xclock on a remote system, you need to set the DISPLAY environment variable. You can use the ENV option on a PROCESS START request to set environment variables such as DISPLAY. See section "8.13.2 START" in the STAF User's Guide at http://staf.sourceforge.net/current/STAFUG.htm#HDRPROCSRV for more information on the ENV option. In regards to how to use...

  • Shambhu Sharma Shambhu Sharma posted a comment on discussion Help

    The issue I found is with setting up user environment with STAF. If I try to use: $ STAF remotehost PROCESS START SHELL "su - %u -c %C" COMMAND env RETURNSTDOUT STDERRTOSTDOUT USERNAME user1 I am getting error: Data : su: must be run from a terminal How to use "su" with "remotehost"?

1 >