GO HOMEPAGE

Sunday, August 13, 2017

What is RESTful web services




RESTful web services are built to work best on the Web. Representational State Transfer (REST) is an architectural style used for the same . In the REST architectural style, data and functionality are considered resources and are accessed using Uniform Resource Identifiers (URIs), typically links on the Web. it is a typically HTTP. In the REST architecture style, clients and servers exchange representations of resources by using a standardized interface and protocol




Below is the list of web service protocol


    1-BEEP - Blocks Extensible Exchange Protocol
    2-E-Business XML
    3-Hessian
    4-JSON-RPC
    5-JSON-WSP
    6-REST-compliant Web services
    7-SOAP - outgrowth of XML-RPC, originally an acronym for Simple Object Access Protocol
    8-Universal Description, Discovery, and Integration (UDDI)
    9-Web Processing Service (WPS)
    10-WSCL - Web Services Conversation Language
    11-WSFL - Web Services Flow Language (superseded by BPEL)
    12-XINS Standard Calling Convention - HTTP parameters in (GET/POST/HEAD), POX out
    13-XLANG - XLANG-Specification (superseded by BPEL)
    14-XML-RPC - XML Remote Procedure Call

There are a number of web services that use markup languages. For testing purpose and for our this

 "Api Testing step by step tutorial" 

 We are going to use only REST. 
1.1.JSON-RPC
2.JSON-WSP
3.Web template
4.Web Services Description Language (WSDL) from the W3C
5.XML Interface for Network Services (XINS) provides a POX-style Web service specification format
6.Web Services Conversation Language (WSCL)
7.Web Services Flow Language (WSFL) (superseded by BPEL)
8.WS-MetadataExchange
9.Representational state transfer (REST) versus remote procedure call (RPC)


API-Web Service  testing step by step

In the field of information technology technologies are daily changing. It's needed to keep yourself updated with latest one. So I am sharing my knowledge of API testing. Basically we need to start from scratch understanding you are beginner in web service testing.

We will cover all required points step by step. Let's start


      1. 1.What is Web services 

        2.Web service that uses markup language  

        3.List of Web service Protocols

        4.What is RESTful Web Service 



What is Web Service-API?

Web service is standard way to create communication between client and server application over internet. It is way of communication between two stand alone application to share information among them irrespective of their architecture and framework



In above  diagram there is Client and Web service . Web services sends request to client to get required information and client sends appropriate response to web service with requested information.


Another example to understand in simple web service . Suppose you have a website where you wish to show weather report in your website but instead of developing everything you can use a data from existing website where weather forecast is already developed. Now you can use that weather data using API in your website.


Wednesday, November 9, 2016

 Here we are going to learn how to record  selenium script using Selenium IDE

Use below steps to learn recording selenium script using IDE



  1. Open Firefox Browser
  2. Go to tools Click on "Selenium IDE"
  3. Click on Red button 
4.  On click red button record record will start
5. Open Firefox browser
6. Type URL www.google.com
7. Search "Happiness"
8. Click on any link in search result
9. In Selenium IDE click on Red button to stop selenium recording
10. Selenium record script (Below image)
11. Save Script

Using this way you can record first selenium script using Selenium IDE. 








Sunday, November 6, 2016

Before starting practicing selenium IDE you need to install Firefox and selenium on Firefox

below are the steps to download and install selenium IDE


  1. Open Firefox browser
  2. Open URL seleniumhq.org
  3. In the menu tabs click on download 
  4. Press "Install now "button 
  5. Selenium IDE add on is installed 
  6. Click on "Restart Firefox" button 
  7. Go to tools and verify whether verify whether "Selenium IDE" is displayed 
  8. If Found then the selenium IDE installation is completed 






Important Links

Popular Posts

Subscribe Us Free

Enter your email address:

Delivered by FeedBurner