Web Service Testing using RestAssured & Apache HttpClient

所在平台: Udemy

课程主页: https://www.udemy.com/course/web-service-testing-using-apache-httpclient/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 使用 RestAssured & Apache HttpClient 进行 Web 服务测试 **课程概述:** 本课程将从零开始,深入讲解 RESTful Web 服务的测试。RESTful Web 服务基于 REST 架构,以资源为中心,具有轻量、高扩展性和易维护性等优点,是构建 Web 应用 API 的常用方式。 **课程内容概要:** 1. **RESTful Web 服务基础:** 介绍 RESTful Web 服务的基本概念和本课程所需的知识。 2. **手动测试 (Postman):** * HTTP 方法(GET, POST, PUT, DELETE)的概念。 * 使用 Postman 创建和发送请求。 * 验证响应体和状态码。 * 为请求添加自定义头部。 * 以 JSON 和 XML 格式验证响应。 3. **自动化测试 (Apache HttpClient):** * 设置 Maven 项目进行自动化测试。 * 通过代码创建和发送 HTTP 请求(GET, POST, PUT, DELETE)。 * 通过代码为请求添加自定义头部。 * 通过代码验证响应体和状态码。 * 将响应进行 JSON 和 XML 格式的解序列化。 * 处理带 SSL 安全的端点。 * 框架开发。 **课程目标:** 完成本课程后,您将深入理解 RESTful 服务,并掌握使用 Apache HttpClient 库对其进行自动化的能力。 **额外说明:** 本课程内容将持续更新,并提供视频讲座中展示的源代码供下载。

课程评论(0条)

课程详情

RESTful Web Services are REST architecture based web services. In REST Architecture everything is a resource. RESTful web services are light weight, highly scalable and maintainable and are very commonly used to create APIs for web based applications. This course will teach you about the testing of Restful Web Services. In this course everything is taught from scratch. In the first section, I am going to discuss about the basic of restful web services and required concept for this course. In the next section, we will start with manual testing part of restful web services using Postman client. Which will give you more detail understanding about what we should test. This includes Concept of HTTP methods (GET,POST,PUT and DELETE) Creating and sending the request using Postman Validation of response body and status code Attaching the custom headers to the request Validation of response in Json and Xml format In the next section, I will start with the automation part, discussing about Apache HttpClient library. This includes Setting up the Maven project for the automation Creating and sending the HTTP request (GET,POST,PUT and DELETE) from the code Attaching the custom headers to the request from code Validation of response body and status from code Deserialization of response in Json and Xml format Handling the endpoint secure with SSL Framework development By the end of this course, you will have great understanding of restful service and how to automate them using Apache HttpClient library The course is not limited to following content. In future I will keep adding the new topics to this course. And source code shown as part of video lecture will be provided for download

课程标签

0人关注该课程

主题相关的课程