Background: The need to simulate the balance of payment, and release large quantities, I think of jmeter. Is a few simple interface, I think is very simple, get started, I did not expect the final penis, causing me to search for a long reason.
Operation: The script I wrote:
Request content encoding default value is empty I also, at that time I have been reminded account does not exist or wrong, I was forced to look ignorant.
Troubleshooting tips:
- Use postman, exactly the same request, the request was successful; this is my ignorant force, why this can
- Then I went back to jmeter, open eads log and found that some Chinese compiled, are? ?
- I feel I might be not forget to add utf-8, I would add, it really successful, then finally I spit blood
- postman can compile recognize many formats, jmeter not, so use jmeter must add utf-8 inside request the default value, not because some can not, just ignore it, or else suspected poor life,
Summary: This is a small problem, but also caused me to reflect, to see why, we must look at the log; secondly more contrast, to develop good habits