interview questions uh uh uh v

technical problem:

1. Among the items you have tested, which item do you think makes you feel the most meaningful, and why?

Come and pay. This project is the first APP project I tested. This project allowed me to quickly understand the business development status of the entire company. Through this project, I also better practiced the APP testing process and understood Some permissions of some APP third-party functions and the focus of testing.

2. Now open an interface, the interface shows 500, how will you judge and deal with this situation?

The 500 status code means a server error. First, check whether the currently required service is not up. If you are sure that the service is not up, you can check whether there is a problem with the configuration. If there is no problem, you need to cooperate with the development to find it. address specific issues;

3. If you encounter a problem that can be reproduced in the test environment, but cannot be reproduced in the development environment, how will you deal with this situation?

First connect with the development to see if the configuration method is the same as the method that the development told us. If there is no problem, describe the specific reproduction steps to the development. If the development still cannot reproduce, you may need to develop in your Assist in locating the cause on the computer;

4. If you encounter a problem that is not inevitable, and you have not found a way to reproduce it, how will you deal with it?

Firstly, record this problem on jira, describe the problem, phenomenon, frequency, impact on main business, etc. in detail, and then make a positioning with development assistance;

5. If there is a demand that will be launched on the same day, and all your preparatory work is done, you will wait for the development to launch the test, and then the development will launch the test on the morning of the launch day, but during the test, the process is completely blocked. It's a development problem, but it's going to go live that day, how will you deal with it?

First determine the time required for development and modification. If there is still no progress in the current progress for a long time, you need to report this situation to your leader in advance, explaining that the current demand may not be online on time, and explaining a current problem and its impact. Need postpone the launch;

6. Have you ever used packet capture? Have you used any packet capture tool?

If you usually test the web side, you can directly use F12 to locate the problem, and if you test the APP, you will use fiddler to capture packets

7. How do you check the error log?

Since the business I am currently testing has a main process, when an error occurs, after proficiency in the business, I can quickly locate the possible service exception, and then through the k8s command, I can find the relevant information in the service log. mistake;

8. Have you ever used jmeter or postman for stress testing?

I have used jmeter to run the interface, stress test a single interface, and use postman to debug an interface after mainly finding problems.

9. What are the steps for postman to perform interface testing?

  1. design test cases
  2. Configure the PostMan test environment
  3. Fill in the interface information in PostMan according to the test case (single execution, batch execution)
  4. Execute and analyze whether the result is consistent with the requirement document (add test assertion)

10. If I want to initiate a request, which three parts does this request consist of?

request header, request line, request body

11. When testing, there will be switching between multiple environments. How do you operate quickly? What are the operating steps when setting environment variables?

I will set up the test environment and the official environment. Postman is set in Enviroments. You can set global variables and environment variables, set the variables you need, click Save, and then switch the environment according to your needs when testing. Use { { } } reference variable

12. What are the differences between APP testing and WEB testing? How to conduct APP testing?

the difference:

The web side is a B/S architecture, based on a browser, and the APP is a C/S architecture, based on a client

The web test needs to be compatible with different browsers, and the APP side is compatible with different operating systems, system versions, mobile phone models, etc.

The web test update does not need to be downloaded, but the APP update needs to be downloaded

In addition to the basic function test, APP test also has APP special test, such as: installation and uninstallation test, interruption test, network test

 How to test APP:

APP testing is mainly Android and IOS two mainstream operating systems. Functional testing is actually the same as web-side testing. Understand requirements, set use cases, and execute use cases. For APP, fiddler will be used to capture packets.

13. What programming language are you most familiar with? What kind of scripts have you written using it?

I will be a little familiar with python here. For the convenience of testing, I used python+selenium to write an automated script for creating products.

14. In python, what method is used to add new elements at the end of the list?

append

15. When you use python for interface testing, what are your commonly used functions? How do you operate when connecting to the server? By what means?

16. What are the commonly used Linux commands? What command is used to view the log

grep\ls\pwd\cat    

tail -f info.log : Dynamically view the real-time output info.log log

tail -n 200 info.log: view the 200 lines after the info.log log

tail -f info.log | grep "orderId": Dynamically view logs containing the keyword orderId

17. Is the http protocol stateful or stateless? Do you know session and cookie? What's the difference?

HTTP is stateless, session exists on the server side, and cookie exists on the client side. The security of the two is not the same. Relatively speaking, session is more secure; the cookie storage size can only be 4K, and the number will also vary. There are restrictions, and the session has no data restrictions. However, when the service is accessed heavily, it may cause server resource constraints, so it is recommended to use cookies.

18. If there is a transfer function, how would you design these use cases? What methods will be used?

(Entrance of transfer, transfer process, change of amount after transfer, display of payee, change of payee amount) To design use cases from the perspectives of function, interface, security, etc., equivalence classes, boundary values, and scene method,

19. If there is a function of WeChat to publish Moments, how would you design test cases?

Publish entry, publish content (text, picture, video), friend permission (only visible to whom, invisible to whom, set permission group), publish address (mobile phone self-location, manually select location), publish

20. When testing interfaces, how would you design test cases? How do you think about the network level?

First of all, fill in the fields, required fields, non-required field combinations, default values, and the character type of the value, data size, data length and other dimensions to test;

21. If a new requirement comes in now, what is the testing process like?

Requirements Review, Test Plan, Write Use Cases, Use Case Review, Execute Tests, Log Bugs, Regression Tests, Test Reports

22. Now that you have found a bug, how would you locate the bug, and how would you deal with it?

Bugs in the development code can be located by looking at the logs. If they are functional or design flaws, you can go to the requirements document to see if your analysis is not in place. If not, you can directly contact the product manager for confirmation. , which is the most convenient and fastest.

I will compare my use case to confirm that it is a bug, then judge whether it is a front-end problem or a back-end problem, and submit it to ZenTao and assign it to the corresponding development. If my use case does not have this scenario, or they have modified it without notification For testing, I will confirm with the product whether there is a bug. If there is a problem with the product design, I will ask the product to consider a solution, or suggest a solution to him, and let him make a decision and notify the corresponding relevant personnel

23. Have you ever used a database? If there is a multi-table query now, how would you write this sql?

Use left joins, right joins, inner joins, cross joins, etc.

24. There is where in the database for conditional filtering, do you know the difference between where and having?

where can be used in select, update, delete, insert statements, and having can only be used in select;

When where and having are used at the same time, where is executed first, and after having is executed;

25. Have you ever used Linux, how familiar are you with Linux commands? If now I need to filter user A's real-time logs, how do you write this Linux command?

"tail -f log | grep 'A'", the k8s command I often use is, "kubectl logs -f srv-name --tail=30 | grep 'A'"
 

Non-technical question:

1. You are from Chongqing. You are working in Shenzhen now. Do you plan to return to Chongqing later?

I have been here in Shenzhen since I was an intern in my senior year, and I have not considered returning to Chongqing for the time being.

2. What is the reason for your resignation? Why did you choose to change jobs?

The project team of the previous company was integrated, the technical department in Shenzhen was disbanded, and all technical personnel were transferred to Chengdu. I have no plans to go to Chengdu at present.

3. What is your future career development direction?

As for my short-term direction, I hope to improve my technology, slowly learn in the direction of automation, and become an irreplaceable role.

4. Do you think you are qualified for this position? Compared with others, what advantages do you have?

The position I am interviewing for is testing. First of all, I am a software engineering graduate. The whole university is mainly to learn various languages ​​and computer content, and I have an advantage in the IT industry; secondly, my actual The working time is one year longer than my graduation time. I can quickly get started with the project, have my own logical analysis of the tested products, can assist in the product competition analysis, and have a certain understanding of various skills. If necessary, I can quickly Learning to put into practical work, and finally, for myself, as a test, I especially like to communicate with the development of products, which can facilitate the progress of follow-up work and the effectiveness of communication.

The position I am interviewing for is testing. First of all, I should have some abilities related to testing: be careful, be able to conduct tests just right, and ensure the quality of products after testing; have my own unique understanding, and when a demand comes in, I can quickly Extract demand points to avoid too much useless work; secondly, in terms of skills, I have mastered some testing tools commonly used in testing and can use them proficiently. Even unfamiliar tools can be used quickly. Not bad; I can write some scripts to assist testing and improve my testing efficiency; finally, in other aspects, my communication skills are not bad, and I can communicate with people in development, product or other departments or customers;

 

First of all, my graduation time is not too long, but I have a long time to actually participate in the work, so I have more work experience from other people who graduated in the same period, and I will be more comfortable in dealing with work problems; secondly, for 3-5 years of work experience may not be comparable, but compared to them, I am more willing to try things in my work; finally, for my own long-term development, now I have two The work experience of the company, I want to develop in the test for a long time, I hope that I can also work stably in the next company for a period of time, and make certain achievements in the follow-up work;

Guess you like

Origin blog.csdn.net/cxxc980322/article/details/129670415