I don't know why I was so stuck on the idea of *actually* using the XML-RPC interface to test the functionality exposed by XML-RPC, when I can just call all of the methods directly.
Unless something in xmlrpclib or SimpleXMLRPCServer breaks (which isn't something I can do much about), you end up with the same results. I can't believe I wasted this much time on the problem!!!
Well, sort of. Sure, XML-RPC probably won't break, but you really want to test the interface between your code and the XML-RPC protocol. In particular, do your XML-RPC functions return things that can be serialized over XML-RPC? With this approach you would not know from your tests.
ReplyDelete