From: acoliver <nu...@jb...> - 2004-03-15 20:45:33
|
Client Side: This script runner should: 1. read a script file 2. Connect to a port 3. run the script against the server validating replies. 4. repeat deviences and fail with asserts in junit tests It will need to offer some "IF/THEN/ELSE" semantics in order to deal with multiple acceptable states/configurations as well as wildcards (because time/date, etc might vary) There is code ready for this, but it needs more work. Server Side: This script runner should: 1. read a script file 2. listen on a port 3. wait for the client to send the expect output and then return the replies 4. log everything This will serve as a dev tool. I've already needed this several times but haven't gotten to it yet. The reason being that its very difficult to debug why certain clients work and don't without seeing what they send. Yes we can log that but it would be useful to run through scenarios that are much harder to replicate without throw away code. Estimated time: 2-4 days (including some scripts) <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825778#3825778">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825778>Reply to the post</a> |