Your SlideShare is downloading. ×
Web service的自动化测试 soap ui的介绍
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Web service的自动化测试 soap ui的介绍

2,236
views

Published on

3rd session in BQConf

3rd session in BQConf

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,236
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
57
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Web  Service   -­‐soapUI     ThoughtWorks 
  • 2. Web  Service? •  •  •  XML+HTTP 
  • 3. Web  Service 
  • 4. Web  Service  Descrip:on  Language •  Web  Service  •  xml 
  • 5. Simple  Object  Access  Protocol •  XML  •  HTTP 
  • 6. Web  Service,WSDL SOAP 
  • 7. Web  Service •  service •  service •  
  • 8. Web  Service •  :  •  Governance  Tes:ng  •  Service-­‐level  Tes:ng  •  Integra:on  Tes:ng  •  Security  Tes:ng 
  • 9. SOAP POST /InStock HTTP/1.1Host: www.example.orgContent-Type: application/SOAP+xml; charset=utf-8Content-Length: nnn<?xml version="1.0"?><SOAP:Envelopexmlns:SOAP="http://www.w3.org/2001/12/SOAP-envelope"SOAP:encodingStyle="http://www.w3.org/2001/12/SOAP-encoding"> <SOAP:Body xmlns:m="http://www.example.org/stock"> <m:GetStockPrice> <m:StockName>NewStock</m:StockName> </m:GetStockPrice> </SOAP:Body></SOAP:Envelope> 
  • 10. SOAP HTTP/1.1 200 OKContent-Type: application/SOAP+xml; charset=utf-8Content-Length: nnn<?xml version="1.0"?><SOAP:Envelopexmlns:SOAP="http://www.w3.org/2001/12/SOAP-envelope"SOAP:encodingStyle="http://www.w3.org/2001/12/SOAP- encoding"> <SOAP:Body xmlns:m="http://www.example.org/stock"> <m:GetStockPriceResponse> <m:Price>34.5</m:Price> </m:GetStockPriceResponse> </SOAP:Body></SOAP:Envelope> 
  • 11. soapUI 
  • 12. soapUI ? •  SOAP REST  •  •  Windows,  Mac Linux 
  • 13. soapUI •  Web  Service •  Mock  Service  •  :  SOAP,  REST,  HTTP,  JDBC 
  • 14. soapUI •  Web  Service 
  • 15. soapUI •  (Amazon  E-­‐Commerce   Service) 
  • 16. soapUI •  Web  Service •  
  • 17. •  service •  •  
  • 18. : •  Governance  Tes:ng  •  Service-­‐level  Tes:ng  •  Integra:on  Tes:ng  •  Security  Tes:ng 
  • 19. •  www.soapUI.org  •  www.w3schools.com  •  www.wikipedia.org  •  hWp://www.webservicex.net/ WeatherForecast.asmx?wsdl  •  hWp://webservices.amazon.com/ AWSECommerceService/ AWSECommerceService.wsdl 
  • 20. 
  • 21. Q&A