Hey All:
 
I would like to do some automated testing with SIPp so I would like to start a UAC instance and a UAS instance that talk to each other, and then get the exit status from both these programs to log a success or failure for the test case. Does anyone have any suggestions to accomplish this on linux?
 
I have tried the following:
 
1. Start both SIPp instances in the background - but here, I'm not sure how I can get the respective exit statuses and then log them
2. Start both SIPp instances in the foreground, but use another script to call sipp with the "&" character, thus putting it in the background. After that I can capture the error codes. Here's an example:
 
# file executescenario.sh
./executesipp result1.txt
./executesipp result2.txt
 
# file: executesipp.sh
(sipp <various options except the "bg" option>; echo $? > $1) &
 
Now, I can check result1.txt and result2.txt for the results. This works for the most part, however, since I invoke both the instances from the file executescenario.sh, they both startup in the same terminal window (but of course different shells), and mess up the terminal window - for example, enter key does not go to a new line, etc.
 
I'd appreciate any suggestions.
 
Thanks,
 
Vic
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to