研究了两天SoapUI,连踩两个坑,记录一下:
1.中文问题
有个接口body为中文时接口报500,在postman上面能够成功运行,解决方案如下:
(1)新建restful类型的接口
在restful定义的时候disable url-encoding
(2)新建为http请求时
在properties中修改encoding为utf-8
2.缺少传参
改为get请求就好了暂且先这样
研究了两天SoapUI,连踩两个坑,记录一下:
1.中文问题
有个接口body为中文时接口报500,在postman上面能够成功运行,解决方案如下:
(1)新建restful类型的接口
在restful定义的时候disable url-encoding
(2)新建为http请求时
在properties中修改encoding为utf-8
2.缺少传参
改为get请求就好了暂且先这样
本文标题:SoapUI第一天
本文链接:https://www.haomeiwen.com/subject/aidsqttx.html
网友评论