1.webservice接口测试

如图右键file创建soap项目

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

输入要测试的webservice接口地址

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

创建后如图所示

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

 

如图将报文粘贴后点击绿色按钮即可测试

2.使用soapui进行压力测试

同上创建新的soap项目命名为接口压测

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

新建testSuite测试

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

在原来基础上简历testcase测试

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

建好后在如图所示的地方放入测试的报文

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

定时执行如图所示

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

 

如果需要添加变量,则如下图所示

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

选中testStep添加变量

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

3.数据库压测

下载mysql-connector-java-5.0.5.jar驱动,并将驱动放在SmartBear\SoapUI-5.3.0\bin\ext

如图建立数据库压测

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

新建jdbc

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

双击配置jdbc信息即可测试

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

 

开始测试并查看结果

使用soapui压力测试webservice接口,数据库压力测试,普通接口调用测试

以上使用soapui测试完成

相关文章:

  • 2021-11-27
  • 2021-11-03
  • 2022-02-07
  • 2022-12-23
  • 2021-07-05
  • 2021-11-27
  • 2021-11-27
  • 2021-11-27
猜你喜欢
  • 2021-11-23
  • 2021-07-19
  • 2022-03-02
  • 2021-11-19
  • 2021-07-30
  • 2021-05-26
相关资源
相似解决方案