[jdev] Inputting arbitrary XML for testing

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Sat May 7 15:44:32 CDT 2005


On Saturday 07 May 2005 12:46 pm, Jacob Bunk Nielsen wrote:
> Thanks, but I might not be the best person for commenting on PSI's
> XML-console as I doubt that it was written for someone in my position,
> but rather as a tool to (primarily) just view the XML exchanged from
> the more normal use of PSI.
>
> I'm probably looking for something with more interaction (like
> xmpptest) or something commandline that can read XML-input on stdin or
> from a file.

Yes, the Iris xmpptest is definitely nicer for testing than the Psi XML 
console, if only because it will check your XML input before sending so the 
server doesn't kick you. :)  Someday these facilities should be unified.

Regarding commandline testing, Iris has another tool called 'conntest', which 
first performs an XMPP login and then acts like telnet from that point on.  
It should be possible to pipe a file into it, although I've never tried.

-Justin



More information about the JDev mailing list