- I tested the ability of the megaphone module to receive data.
- I resolved to test from the client side of the API.
- I encountered an annoying problem and thereby vindicated my efforts.
Well, actually, I just found a problem last time, but nevertheless, I feel vindicated. More or less.
At any rate, the problem that I was running into was due to the wrong message being sent to the megaphone process by the megaphone_receiver process. Specifically, I needed to send a message that said "Hey! There's some data that you should keep track of!" Whereas I was sending a message that was more like "Here's some data. I'm not going to tell you it's something you should keep track of, so there!"
Anyhow, that problem was quickly fixed. And then I ran into another problem. But it wasn't my fault.
The test data that I was sending had the form:
<body>whatever</body>
whereas the megaphone process was expecting HTTP. And just because I was the person who wrote the data, does not mean that it was my fault.
Actually I guess it does.
Oh bugger.
Next time: better test data.
No comments:
Post a Comment