Welcome to SSR Software Testing Training

Rest Assured concepts

  1. waht is use of Rest Assured
  2. Installation of Rest Assured in Maven project
  3. Details about HTTP protocol
  4. Details about URL protocol
  5. HTTP status codes
    1.1xx informational response: the request was received, continuing process
    2.2xx successful: the request was successfully received, understood, and accepted
    3.3xx redirection: further action needs to be taken in order to complete the request
    4.4xx client error: the request contains bad syntax or cannot be fulfilled
    5.5xx server error:the server failed to fulfill an apparently valid request
  6. HTTP Methods
    1.GET: The GET method is used to retrieve information from the given server using a given URL
    2.POST: The POST method request method sends data to the server for processing
    3.PUT: The PUT method is used to send data to a server to create/update a resource.
    4.DELETE: The DELETE method deletes the specified resource.
    5.PATCH:The PATCH method is used to apply partial modifications to a resource.

    6.HEAD:HEAD is almost identical to GET, but without the response body.
    7.OPTIONS:The OPTIONS method describes the communication options for the target resource.
    8.CONNECT:The CONNECT method is used to start a two-way communications (a tunnel) with the requested resource.
    9.TRACE: The TRACE method is used to perform a message loop-back test that tests the path for the target resource
  7. Use of JSON data file and XML data file
  8. Rest Assured scripts with HTTP Methods for HTTP status codes by using TestNG framework
Back