Test Policy File service without Flash?

219 Views Asked by At

I have a Policy File service written in Node.js (Windows 7 environment). I simply want to test that the service returns the policy when a request is made over port 843, but without using Flash (i.e. Telnet, Browser, Powershell, Python, anything really.)

I've looked extensively but can't find any solution that does this. I have attempted with Telnet, but on connection, any keypress at all causes the server to return a bad response (presumably because the request didn't contain the requisite <policy-file-request/>\0 data.)

Is this possible?

1

There are 1 best solutions below

0
On BEST ANSWER

You need to rebuild your service to wait for more data if there is incomplete data. Then you will be able to use Telnet to debug the service.