1. Introduction
SOAPUI is a tool for testing Web service developed in Java.
2. Installation
2.1.
http://www.soapui.org/
2.2. Installation
By downloading and installing SoapUI using the Windows Installer from SourceForge SoapUI Web Site, which includes the requ ired 1.6 JRE (Java Runtime environment). Use the installer if is unsure about your systems Java installation or if you want startup menu icons and an uninstal Ler.
1.6 JRE Environment
Double-click the installation to use it.
2.3. Instructions for use
Http://www.soapui.org/userguide/index.html
3. Start testing
3.1. Preparation
SOAPUI has been installed successfully
Knowing the address of the service to be tested, here is an example of the EBI Wsdbfetch WSDL address:
http://www.ebi.ac.uk/Tools/webservices/wsdl/WSDbfetch.wsdl
3.2. Start the program
Soapui-25-beta2
3.3. New plan
File->new SoapUI Project
New plan
After OK, review the services provided by the Web service.
Service list for Web service
3.4 Example 1 Getsupporteddbs (no edit request required)
Double-click the Request1, display the request screen, click the Green Submit button, submit the request, and return the result on the right side, the request and the result are in XML format.
3.5 Example 2 Fetchbatch (edit request)
The requested page has a question mark where you need to edit it, just as you would choose the database input query results when querying.
Fetchbatch
<soapenv:Body>
<wsd:fetchbatch soapenv:encodingstyle= "http://schemas.xmlsoap.org/soap/encoding/" >
<db xsi:type= "xsd:string" >uniprotkb</db>
<ids xsi:type= "xsd:string" >wap_mouse,wap_rat</ids>
<format xsi:type= "xsd:string" >default</format>
<style xsi:type= "xsd:string" >default</style>
</wsd:fetchBatch>
</soapenv:Body>
Submit return Results
return results
Introduction to testing Web Service using SOAPUI