现在想用soapUI这个工具做一个web server压力测试

h394867099 2013-08-08 02:39:22
如题,用来测试其它同事做的网管头端的压力测试,用soapUI来模拟一个大用户量的操作。
当前只需要模拟开机心跳的功能即可,但是wsdl文件摸不着头脑,也看了下demo,算是看懂了,但是写难度,so,来论坛来请教各界牛人。我的心跳soap如下:

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<soap:Header>
<cwmp:ID soap:mustUnderstand="1">1</cwmp:ID>
</soap:Header>
<soap:Body>
<cwmp:Inform>
<DeviceId xsi:type="cwmp:DeviceIdStruct">
<Manufacturer xsi:type="xsd:string(32)" xsi:name="">C00001</Manufacturer>
<OUI xsi:type="xsd:string(6)"></OUI>
<ProductClass xsi:type="xsd:string(64)">101331</ProductClass>
<SerialNumber xsi:type="xsd:string(64)">101331001998</SerialNumber>
</DeviceId>
<Event soap:arrayType="cwmp:EventStruct[1]">
<EventStruct>
<EventCode xsi:type="xsd:string(64)">1 BOOT</EventCode>
<CommandKey></CommandKey>
</EventStruct>
</Event>
<MaxEnvelopes xsi:type="xsd:unsigendInt">1</MaxEnvelopes>
<CurrentTime xsi:type="xsd:dateTime">1970-01-01T00:00:17</CurrentTime>
<RetryCount xsi:type="xsd:unsigendInt">0</RetryCount>
<ParameterList soap:arrayType="cwmp:ParameterValueStruct[24]">
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.DeviceInfo.ManufacturerOUI</Name>
<Value xsi:type="xsd:string(6)">C00001</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.DeviceInfo.ProductClass</Name>
<Value xsi:type="xsd:string(64)">101331</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.DeviceInfo.SerialNumber</Name>
<Value xsi:type="xsd:string(64)">101331001998</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.DeviceInfo.HardwareVersion</Name>
<Value xsi:type="xsd:string(64)">1.0</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.DeviceInfo.SoftwareVersion</Name>
<Value xsi:type="xsd:string(64)">1.3</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.ManagementServer.URL</Name>
<Value xsi:type="xsd:string(256)">http://www.*.com/boot1</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.ManagementServer.ConnectionRequestURL</Name>
<Value xsi:type="xsd:string(256)"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.Time.NTPServer</Name>
<Value xsi:type="xsd:string(64)"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.LAN.DNSServers</Name>
<Value xsi:type="xsd:string(256)">10.*.*.*</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.LAN.DNSServers2</Name>
<Value xsi:type="xsd:string(256)">10.*.*.*</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.STBService.StreamingControlProtocols</Name>
<Value xsi:type="xsd:string">RTSP,IGMP,IGMPv2,IGMPv3,HTTP</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.STBService.StreamingTransportProtocols</Name>
<Value xsi:type="xsd:string">UDP,TCP,RTP,HTTP,IPQAM</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.STBService.StreamingTransportControlProtocols</Name>
<Value xsi:type="xsd:string">RTCP</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.STBService.DownloadTransportProtocols</Name>
<Value xsi:type="xsd:string">HTTP,</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.STBService.MultiplexTypes</Name>
<Value xsi:type="xsd:string">MPEG1-SYS,MPEG2-PS,VOB,MPEG2-TS,mkv,mp4,wmv,avi</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.STBService.AudioStandards</Name>
<Value xsi:type="xsd:string(256)">MPEG1 layer I/II,MP3,MPEG2- Layer II,Dolby Digital,Dolby Digital Plus,MPEG4 AAC-LC,MPEG4 AACplus,WMA9,WMA9pro</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.STBService.VideoStandards</Name>
<Value xsi:type="xsd:string(256)">MPEG2-Part2,MPEG4-Part2,MPEG4-Part10,SMPTE-VC-1</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.X_ISX_STB.STBInfo.STBID</Name>
<Value xsi:type="xsd:string(32)">00000000000000000000045872673202</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.X_ISX_STB.StatisticConfiguration.LogServerUrl</Name>
<Value xsi:type="xsd:string(256)"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.X_ISX_STB.STBInfo.OperatorInfo</Name>
<Value xsi:type="xsd:string(32)"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.X_ISX_STB.STBInfo.UpgradeURL</Name>
<Value xsi:type="xsd:string(256)"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.X_ISX_STB.STBInfo.BrowserURL1</Name>
<Value xsi:type="xsd:string(256)"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.X_ISX_STB.STBInfo.BrowserURL2</Name>
<Value xsi:type="xsd:string(256)"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name xsi:type="xsd:string(256)">Device.X_ISX_STB.STBInfo.UserProvince</Name>
<Value xsi:type="xsd:string(3)"></Value>
</ParameterValueStruct>
</ParameterList>
</cwmp:Inform>
</soap:Body>
</soap:Envelope>
...全文
48 点赞 收藏 回复
写回复
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
相关推荐
发帖
Apache
创建于2007-09-28

2.4w+

社区成员

Web 开发 Apache
申请成为版主
帖子事件
创建了帖子
2013-08-08 02:39
社区公告
暂无公告