Recently, I am working on public account development. However, when an error occurs during mobile phone debugging, I did not reply to anything. The efficiency of debugging by logging is too low, as a result, this little tool was born.
Function introduction:
When developing public platforms, most of them use mobile phones to send messages, and then use logs to record some debugging information, because once our WEB programs have errors or times out, it cannot be seen on the mobile phone end. You can use this tool to solve this problem. Even if it is time-out (the server only gives 5 seconds), you don't have to worry about it. Of course it is best not to time out.
1.Request URLEnter the URL (for example) in the development mode of the public platform in the request URL. This tool does not contain a signature algorithm, so you do not need to enter a Token, however, for security purposes, we need to verify the signature in WEB programs. Therefore, you must add parameters that only you know, such as debug = true, so that WEB programs do not perform the verification, in this way, you can skip the verification part for debugging. A maximum of three request URLs can be saved. Each record the parameters submitted last time to facilitate debugging between multiple servers.
2.FromUserNameWhen a user sends a message to a public account, the server sends the unique ID used to identify the user each time, and also sends the unique ID of the public account,Submit buttonThe text box above shows the content submitted by the simulation server to our WEB server. You can see FromUserName and ToUserName.
3.ToUserNameSimilar to FromUserName above.
4.Text/Voice/image/location/follow/cancel follow/menuThese options simulate the type of message sent by the user. You must enter the actual message content.
5.Submit buttonNeedless to say
6.Check box for automatic disconnection in 5 secondsSimulate the server's timing mechanism. Generally, requests will not exceed 5 seconds, but sometimes there will be more than 5 seconds of requests, and I will see them myself. Some specific operations will happen, therefore, this is useful.
7.Response contentI don't need to explain this.
8.Clear response content buttonYou don't need to explain this.
:
Local download
I