When the extend-theme-template template Httprunner of return information in Chinese, it is displayed as ASCII code of the solution

We all know that HttpRunner use the default report mode, the display style is not beautiful, it will expand the use of templates, but when using an extended template, if there is the interface response results in Chinese words, Chinese characters are Unicode encoding.

Figure:

 

 

Solution for modifying the value of the tag template, remove tojson this filter, as follows:

 

 After saving, run again display the contents of normal:

 

Guess you like

Origin www.cnblogs.com/benben-wu/p/12519336.html