Hello everyone,
For the specific needs of a project, I have to interface some of my code with other closed-source code. My idea is to understand how the original application communicates and then mimic the behaviour. I have already done the first step, which is analysing some HTTP exchanges (done using POST request and XML replies) with Wireshark. At the end of the exchange, the server produces an output that I need to record.
Now, my question is: what is the easiest way to replicate the client behaviour with my input? ie the one that involves less coding? Basically I don't need much "programming" power, just the ability to parse some variables in the server responses and re-use them in the successive request.
I've already done a similar job replicating the client behaviour with a command-line PHP script, but it's rather tedious and the code is hardly readable and hence maintainable.
Any suggestion is welcome!! Thanks