EasyTest would get stuck if the json string is corrupted

LESSON: I used java code with Eclipse to generate a entity class's corresponding JSON string, and I copied the JSON output from Eclipse console to the Excel.

When I run the easy test, it got stuck, no error or exception thrown, just stuck.

Root cause: Eclipse console might wrap the long string line automatically if you configured.

Solution: Be careful when you copy JSON from Eclipse Console, you have to remove the \n \t alike invisible characters.

你可能感兴趣的:(EasyTest would get stuck if the json string is corrupted)