The 100 questions of the interface test interview, no longer worry about not being able to hang the interviewer

HTTP, HTTPS protocol

  • What is DNS

  • HTTP protocol

  • How to grab HTTPS protocol

  • Say common return status codes in the request interface

  • HTTP protocol request method

  • The difference between HTTP and HTTPS protocol

  • What is the difference between HTTP and HTTPS implementations?

  • Difference between POST and GET

  • HTTP request message and response message format

  • What is the HTTP protocol stateless protocol? How to solve the HTTP protocol stateless protocol

  • Common POST submission data methods

  • HTTP request message and response message format

  • Which versions of the HTTP protocol have you learned?

  • Difference between Session and Cookies

  • Which layer is HTTPS, and which layer is the session layer?

  • What happened after the browser entered the url and pressed Enter?

TCP, UDP protocol

  • The difference between TCP/UDP protocol, how to ensure the correctness of TCP, what protocol is WeChat based on, what protocol is QQ based on, and why?

  • Are you familiar with the OSI protocol? what is the principle

Interface use case design

  • How to design interface test cases?

  • HTTPS test point

  • Change from HTTP to HTTPS protocol, test point

  • Shopping cart module, add to the shopping cart interface test point analysis

  • http://…?orderId=,**, interface design use case

  • When designing an interface test case, it involves an e-commerce system, which includes many modifications, such as commodities, merchants, stores, etc. The modification of these data will involve many parameters. Such as the name of the product, the size of the product, the color of the product, etc. When designing and implementing the "modification" interface, how to determine what parameters to pass? Do I only need to pass the parameters I want to modify, or do I need to pass all the parameters?

  • Upload file test point

  • Design test cases according to the following interface

  • How to measure all the several states of an order, such as: unprocessed, processing, processing failed, processing successful

interface test

  • Why do interface testing

  • What bugs have you found during your usual interface testing?

  • How do you usually test the interface

  • What tool do you usually use to measure the interface?

  • There is no interface document, if you do interface testing

  • Interface testing process

  • What interface testing tools are commonly used, and an example of how you do interface testing at work?

  • How to deal with irreversible operations, such as how to test an interface such as deleting an order

  • How to clean up the garbage data generated by the interface

  • Where do you put the test data

  • How did you achieve your digital signature?

  • When an exception occurs in an interface, how do you analyze the exception

  • How do you do parameterization

  • How to perform data cleaning

  • How to perform data verification

  • How to verify the response, there are many parameters

  • How to analyze whether it is a front-end or back-end problem when doing interface testing

  • How to know whether the request succeeded or failed in the test interface

  • How to simulate a weak network test

  • How to test asynchronous interface

  • What is the difference between symmetric encryption and asymmetric encryption in the encryption test of the interface? How to conduct the test? Please explain

  • Please elaborate on how interface testing and UI testing work together in testing activities?

  • At present, the interface documents are managed in word format. Due to the fast iteration, a lot of texts are generated. It is difficult to distinguish which interfaces are unused, which are the interfaces in use, and which are the updated interfaces. The texts are messy. Management, inconvenient to ask, how to manage? Each time you view the interface document, you need to download multiple words, and the download operation cannot be avoided. The efficiency is not high. How to improve work efficiency?

interface dependency

  • What should I do if many interfaces require login?

  • How login-dependent interfaces handle -token and session management

  • In the process of manual interface testing or automated interface testing, how to deal with data dependencies between upstream and downstream interfaces?

  • How to test interfaces that depend on third-party data

  • How to test the interface that depends on the login status in the interface test

  • If the two requests have a strict sequence, you need to test the situation of reversing the order

  • The next interface request parameter depends on the return data of the previous interface

Web Service

  • What is the difference between HTTP interface testing and Web Service interface testing?

  • How the Web Service Interface is Tested

interface framework

  • How is the interface testing framework built?

  • Have you done any work related to framework stability optimization?

  • How does continuous integration work?

Mock

  • How to use Mock

  • how do you mock

RPC

  • How to test the rpc interface

  • What is an RPC interface, design an RPC interface with Http

  • Have you implemented the rpc framework yourself?

performance

  • How does JMeter store variables for the next interface to use

  • How to perform an interface stress test

  • JMeter executes 10 times

  • JMeter gets the result of the previous request

  • JMeter completes a use case

  • When doing an interface test, when there are many request parameters, the tps drops significantly. This interface obtains data from redis according to the parameters, and each parameter interacts with redfs once. When one set of parameters is tps5133, and the five sets of parameters are tps1l69, multiple interactions affect the processing performance. Please describe in detail how you can improve your performance enhancement options

high energy part

  • TCP header format

  • UDP header format

  • The difference between TCP/UDP (not only macroscopically, it is best to explain clearly according to their respective mechanisms)

  • HTTP status codes (best used in combination with scenarios, like which one to use on cache hits)

  • HTTP protocol (the role of some header fields, such as cace-control, keep-alive)

  • OSI protocol, TCP/IP protocol and the corresponding protocol for each layer

  • Session mechanism, Cookie mechanism

  • TCP handshakes three times and waves four times (this question really has to be answered and vomited, but it is really the interviewer's favorite question. It is recommended to do it once a day, and not only the process of each request, but also various FIN_WAIT and TIME_WAIT states. to master).

  • The process from opening a web page to page display (covers all aspects, DNS resolution process, Nginx request forwarding, connection establishment and maintenance process, browser content rendering process, the more detailed the better).

  • The difference between http and https, https is an additional process when requesting, how does https ensure data security

  • IP address subnetting

  • Difference between POST and GET

  • DNS resolution process

  • How does TCP ensure the reliable transmission of data (this problem can be extended to many sub-problems, congestion control slow start, congestion avoidance, fast retransmission, sliding window protocol, stop-wait protocol, timeout retransmission mechanism, it is best to master)

  • ARP

  • Difference Between Switch and Router

  • HTTP2.0、thrift

  • The difference between API interface and SDI interface (API is the interface provided to others)

  • How does dubbo make multiple calls concurrently with one link. The principle of Dubbo, serialization related issues

  • How do you understand the http protocol

  • Talk about the workflow of the http protocol

  • What are the request submission methods for http?

  • What status do 200, 302, 403, 404, 500, 503 in http represent?

  • What is web caching? What are the advantages

  • How do you understand cookies and sessions, and what are the differences?

  • What is https, talk about how https works

  • What is an http proxy server and what is it used for

  • What is a distributed system

  • What aspects of distributed systems would you consider

  • Talk about the CAP concept

  • How to understand strong consistency, monotonic consistency and eventual consistency

  • What strategies will you consider in distributed system design

  • Talk about the three-way handshake and four-way wave process of the TCP protocol

  • Talk about the three-way handshake and four-way wave process of the TCP protocol

  • Why does TCP establish a connection protocol with a three-way handshake, while closing a connection is a four-way handshake? Why can't you connect with two handshakes

  • Why does the TCP TIME_WAIT state need to wait 2MSL before returning to the CLOSED state?

  • What are DoS, DDoS, DRDoS attacks? how to defend

  • Why is the TCP/IP protocol unreliable?

  • What are the seven-layer models of OSI? What is the four-layer model of TCP/IP?

Finally, I also share a test data

for software testing friends: the above content should be the most comprehensive and complete preparation warehouse for software testing friends. In order to better organize each module, I also refer to many online The high-quality blog posts and projects of the website, and strive to not miss every knowledge point. Many friends rely on these content to review and get offers from big companies such as BATJ. This warehouse has also helped many software testing learners. I hope that they can also help you. Follow my official account: Programmer Erhei, get it for free!

Opportunities favor only those who are prepared. This is a society that relies on ability. Sometimes, the reason you don't develop well is not because you didn't have the opportunity, but because you weren't ready, and the opportunity passed you by. If you want to learn, it's never too late to start, instead of looking ahead, you just do your best and leave the rest to time! If you don't want to experience the feeling that you can't find any information during self-study, no one answers your questions, and give up after a few days, you can join our koukou group [785128166], which contains various software testing resources and technical discussions.

Come on, testers! The road is at your feet, success is tomorrow!

Recommended reading

Working in Alibaba for 6 years, the voice of a 29-year-old female software testing engineer

Worked as a waiter and courier, now earning 30W a year, and the rebellious teenager will eventually grow up

The company's new Ali p8, after reading the APP and interface tests I did, gave me this document

Guess you like

Origin blog.csdn.net/m0_53918927/article/details/121304275