What are the three stages of interface learning?

1. What should be learned in the first stage of interface testing?

At this stage, we mainly understand some basic knowledge of interface testing, including the following:

 1) Understand the interface and the introduction to interface testing

  Know what is an interface, what is an interface test, and understand the principle of interface testing and why interface testing is required

 2) Understand the Http protocol

  (1) Understand what the function of the Http protocol is and what are its characteristics;

  (2) Understand the URL and its components;

  (3) Understand the two components of the Http protocol, Http request and Http response, master how to capture the interface through Fiddler, Google's developer tools, and charles, and view the contents of these two parts;

  (4) Focus on mastering the request methods of Http requests;

  (5) Focus on mastering the status codes of common Http responses and what they mean;

 3) Understand the interface specification, focusing on understanding the Restful interface style

 4) Analysis of interface documents

  (1) Understand the role of interface documents

  (2) Know what the interface document should contain

 5) Most importantly, write test cases for the interface. The focus here is to understand the ideas and methods of interface test case design.

2. What should I learn in the second stage of interface testing?

  For beginners, I suggest starting with postman to start learning interface testing, because it is much friendlier than Jmeter for novices, basically it can be mastered in about 5 days, and it is a little problematic to test the interfaces that are generally encountered nothing.

  The learning of Postman can be learned from the following aspects:

 1) Basic settings

  •  create interface requests,

  •  set the request method,

  • URL,

  •  set parameters in the URL,

  •  set request headers,

  •  Set the form format and request body parameters of JSON type, and view the response data and status code of the response.

 2) Advanced usage

  (1) Manage interface test cases,

  (2) Use postman to complete the assertion,

  (3) Use Postman to complete the data association before the interface,

  (4) Use postman to complete the parameterization of the test data,

  (5) Learn to use the requested pre-script.

 3) Learn to use the newman plug-in to complete the generation of test reports.

3. What should be learned in the third stage of interface testing?

  The third stage of interface testing can actually be understood as the automated testing of interfaces. At present, most of the interface automation in this industry is realized in two directions, one is JAVA, and the other is Python. But for someone who has no code foundation, I strongly recommend Python, because from learning Python to building an interface automation framework, it can be achieved in at most one month. And if you want to choose JAVA, you haven't even finished learning the basics in one month.

  If you want to learn Python for interface automation, it can be divided into the following steps:

 1) Learn Python

  Learning 1: Basic syntax of Python, such as variables, functions and classes, sequence, branch, loop;

  Learning 2: Encapsulation;

  Learning 3: Python's unit testing framework, unittest and pytest.

 2) Learn to use code to operate the database, the toolkit pymysql

  Learning 1: Learn to use codes to add, delete, modify, and check SQL statements;

  Learning 2: Learning to use code to manually submit transactions;
      Learning 3: Self-encapsulating a database tool class.

 3) Learn to use code for interface testing, learning toolkit requests

 4) Learn to use unittest or pytest to build an interface automation framework 

Finally:  The complete software testing video learning tutorial below has been sorted out and uploaded, and friends can get it for free if they need it【保证100%免费】

insert image description here

 These materials should be the most comprehensive and complete preparation warehouse for [software testing] friends. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. I hope it can help you too!

软件测试技术交流群社:786229024(里面还有工作内推机会,毕竟我们是关系社会。)

Software Testing Interview Documentation

We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.

How to obtain interview documents:

Guess you like

Origin blog.csdn.net/wx17343624830/article/details/130019078