Web	  Service                     	           -­‐soapUI          	                       	           ThoughtWorks	
Web	  Service?                              	•    	•             	•          XML+HTTP	
Web	  Service   	
Web	  Service	  Descrip:on	  Language                                       	•      Web	  Service	  •  xml   	
Simple	  Object	  Access	  Protocol                                         	•       XML	  •       HTTP          	
Web	  Service,WSDL SOAP                       	
Web	  Service           	•       service     	•  service                	•                   	
Web	  Service                          	•                                    :	  •    Governance	  Tes:ng	  •    Service-...
SOAP                    	POST /InStock HTTP/1.1Host: www.example.orgContent-Type: application/SOAP+xml; charset=utf-8Cont...
SOAP                 	HTTP/1.1 200 OKContent-Type: application/SOAP+xml; charset=utf-8Content-Length: nnn<?xml version="1...
soapUI     	
soapUI                     ?                                      	•    SOAP REST	  •                               	•  ...
soapUI              	•           Web	  Service         	•  Mock	  Service	  •                :	  SOAP,	  REST,	  HTTP,	 ...
soapUI            	•    Web	  Service	
soapUI                           	•                  (Amazon	  E-­‐Commerce	       Service)	
soapUI            	•    Web	  Service   	•                             	
•    service   	•                    	•        	
:                                     	•    Governance	  Tes:ng	  •    Service-­‐level	  Tes:ng	  •    Integra:on	  Tes:n...
•  www.soapUI.org	  •  www.w3schools.com	  •  www.wikipedia.org	  •  hWp://www.webservicex.net/   WeatherForecast.asmx?ws...

Q&A	  
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Web service的自动化测试 soap ui的介绍
Upcoming SlideShare
Loading in …5
×

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

2,629 views

Published on

3rd session in BQConf

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,629
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
61
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

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

  1. 1. Web  Service   -­‐soapUI     ThoughtWorks 
  2. 2. Web  Service? •  •  •  XML+HTTP 
  3. 3. Web  Service 
  4. 4. Web  Service  Descrip:on  Language •  Web  Service  •  xml 
  5. 5. Simple  Object  Access  Protocol •  XML  •  HTTP 
  6. 6. Web  Service,WSDL SOAP 
  7. 7. Web  Service •  service •  service •  
  8. 8. Web  Service •  :  •  Governance  Tes:ng  •  Service-­‐level  Tes:ng  •  Integra:on  Tes:ng  •  Security  Tes:ng 
  9. 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. 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. 11. soapUI 
  12. 12. soapUI ? •  SOAP REST  •  •  Windows,  Mac Linux 
  13. 13. soapUI •  Web  Service •  Mock  Service  •  :  SOAP,  REST,  HTTP,  JDBC 
  14. 14. soapUI •  Web  Service 
  15. 15. soapUI •  (Amazon  E-­‐Commerce   Service) 
  16. 16. soapUI •  Web  Service •  
  17. 17. •  service •  •  
  18. 18. : •  Governance  Tes:ng  •  Service-­‐level  Tes:ng  •  Integra:on  Tes:ng  •  Security  Tes:ng 
  19. 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. 20. 
  21. 21. Q&A  

×