jmeter实现天气webservice请求

 

使用post请求发送webservice请求

请求接口:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?op=getWeatherbyCityName

 

 

 

1.请求头要添加:

Content-Type: text/xml; charset=utf-8 

声明提交请求数据为xml格式数据

 

2.请求方式为post

 

3.查看结果树,返回结果正常

 

 

 

 


posted on 2018-06-19 20:02  zz测试笔记  阅读(854)  评论(0编辑  收藏  举报