You are on page 1of 7

What is Soap UI? Soap UI is a free and open source cross-platform Functional Testing solution.

With an easy-to-use graphical interface, and enterprise-class features, soap UI allows you to easily and rapidly create and execute automated functional, regression, compliance, and load tests. In a single test environment, soap UI provides complete test coverage and supports all the standard protocols and technologies. What is SOA? In software engineering, a Service-Oriented Architecture (SOA) is a set of principles and methodologies for designing and developing software in the form of interoperable(able to exchange information) services. These services are well-defined business functionalities that are built as software components (discrete pieces of code and/or data structures) that can be reused for different purposes. SOA design principles are used during the phases of systems development and integration. SOA also generally provides a way for consumers of services, such as webbased applications, to be aware of available SOA-based services. For example, several disparate departments within a company may develop and deploy SOA services in different implementation languages; their respective clients will benefit from a well-understood, well-defined interface to access them. XML is often used for interfacing with SOA services, though this is not required. JSON is also becoming increasingly common. What is XML? Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards. The design goals of XML emphasize simplicity, generality, and usability over the Internet. It is a textual data format with strong support via Unicode for the languages of the world. Although the design of XML focuses on documents, it is widely used for the representation of arbitrary data structures, for example in web services. Many application programming interfaces (APIs) have been developed for software developers to use to process XML data, and several schema systems exist to aid in the definition of XML-based languages.

As of 2009, hundreds of XML-based languages have been developed including RSS, Atom, SOAP, and XHTML. XML-based formats have become the default for many office-productivity tools, including Microsoft Office (Office Open XML), (Open Document), and Apple's iWork.XML has also been employed as the base language for communication protocols, such as XMPP.
y y y y y y


stands for Extensible Markup Language. is a markup language much like HTML. was designed to carry data, not to display data. tags are not predefined. You must define your own tags. is designed to be self-descriptive. is a W3C Recommendation.

Difference between XML and HTML. XML and HTML were designed with different goals:
y y

XML was designed to transport and store data, with focus on what data is HTML was designed to display data, with focus on how data looks XML is about carrying

HTML is about displaying information, while information. Soap UI Soap UI mainly covers two areas: y y Web Service testing Web Service development

Web Service Testing: Soap UI is first a foremost test platform. It has a functionality of functional, load and compliance testing on your web services. We can perform functional testing by creating and executing complex script test scenario against your web services. we can also load testing option and result can be displayed in both numeric and graphical view. Test can be done in different scenario with multiple flexibilities:

y y y y

Data driven test: You can enter the data using different external input files such as excel and database files. Template Driven scenario: You can extends your testing option using your data file and executing them sequentially. You can also test your application without using GUI this adds more quality options. Using Groovy scripting you can make your testing more complex and quality best.

Web application development: SoapUI is integrated with several Java web service trade tool, it provide code generation tool for several web application like you can develop the wed application code in WSDL (web scripting description language). When is Soap UI appropriate? You should now have a basic idea about where SoapUI might come in handy. As we mentioned earlier, Soap UI's specialty is web service testing, although it can also help with web service development. Here are some situations where SoapUI should jump into the forefront of your mind:
y y y y

You have some web services that you need to performance test You have some web services and you need to verify how well they integrate You have some web services and you want to create mock objects for other web services to simplify your unit tests You are testing web services with custom SOAP messages such as MTOM and SAAJ, or you need to check a web service response message You want to do some basic code generation using one of the several supported web service frameworks.

Installing Soap UI Installing Soap UI is a very simple process just click the option as you getting on your computer screen. You can download the free trial or pro version from SoapUI runs as a standalone Java client application with a rich user interface that looks and feels like a modern IDE. There are also plug-ins available for NetBeans, Eclipse, and IntelliJ.

Testing Using Soap UI As Soap UI is GUI tools, after installing it you will see a tree like structure on left of screen where you can find a complete overview of your project . One of most important application of Soap UI is validating and inspecting the WSDL documents. The process of importing WSDL project is go to the file option of Soap UI and create new from here. Assertion in Soap UI Assertion in soapUI would help testers to affirm/confirm the correctness of test results/response. Invalid HTTP Status Code: When ever we try to open a website or try to make a connection using http,some time we get a status code from server regarding the messages generated by the server.This contains a particular status code for each message.Most common status code we always finds is 404 server not found. 1XX:Infomational 2XX:Success 3XX:Redirection 4XX:Client Error 5XX:Server Error For more: SoapUI functional Testing SoapUI provides a GUI functional testing in simple way you can use the drag and drop option rather than manuall writing the code ,it enhance its usability and efficiency. It also provide point and click option for testing. There are two options with it

Form editor:Creates a form to take the input from user end ,again remove the writing the manual code. Outline Editor:Simplifies the XML code and makes a fun for tester and save your valuable time.

Performance or Load Testing in SoapUI Performance testing is the process of determining the speed or effectiveness of a computer, network, software program or device. This process can involve quantitative tests done in a lab, such as measuring the response time or the number of MIPS (millions of instructions per second) at which a system functions. Qualitative attributes such as reliability, scalability and interoperability may also be evaluated. Performance testing is often done in conjunction with stress testing. Performance testing can verify that a system meets the specifications claimed by its manufacturer or vendor. The process can compare two or more devices or programs in terms of parameters such as speed, data transfer rate, bandwidth, throughput, efficiency or reliability. Performance Testing is artificially creating or simulating load and measuring how your environment handles it. This means it doesnt necessary have to be how a system performs under high load, it can also be how it performs under base load or expected load. It doesnt even have to be structured, automated or created in Test Ware like soap UI; simply refreshing you web browser over and over again very fast is a Load Test. Different Type of Load Testing: Baseline Testing: To find metrics under normal load. Load testing: Find the system performance under extreme load condition. Stress testing: to find the break point of systems. Soak Testing: Check the unwanted behavior of system. Scalability testing: System performance under high load network.

Mock Testing Service Mocking, or simulation, is the practice of creating a facsimile (shadow) environment that works similar to the environment youre facsimileing.