如何在SOAPUI首选项中设置字符编码

问题描述:

我似乎在 SoapUI 首选项中找不到任何字符编码选项。

I can't seem to find any character encoding options in SoapUI preferences.

我想模拟 iso-8859-1 编码的xml响应。

I want to mock xml response in iso-8859-1 encoding.

要设置请求/响应的编码,您必须在导航器中将其标记。然后在导航器下的视图中转到请求/响应属性,选择编码并将其设置为UTF-8或iso-8859-1。

To set up an encoding for request/response you have to mark it in Navigator. Then in the view under the navigator go to "Request/Response properties" choose encoding and set i.e. to UTF-8 or iso-8859-1.