ByteDance (Douyin) Software Testing Monthly Salary 23K Post, Technical Two-face Interview Questions Released

What is the tester's task in testing?

  • ① Find bugs in the system as early as possible;
  • ② Avoid defects in the software development process;
  • ③ Assist in developing and locating bugs. And follow-up bug tracking
  • ④ Everything is based on the needs of users to ensure the quality of the software

What is the difference between HTTP and HTTPS protocols?

  • The http protocol is also called the hypertext transfer protocol. When making network requests, we basically use the http protocol.
  • Request methods include get requests and post requests.
  • The https protocol requires CA to apply for a certificate. Generally, there are few free certificates and a certain fee is required.
  • The http protocol is a hypertext protocol, also known as plaintext transmission, while https is a secure SSL encrypted transmission protocol.
  • The connection method used by the http protocol and the https protocol is different, the http port is 80, and the https port is 443.
  • The http link is simple and stateless, while the https protocol is constructed by SSL+http for encrypted transmission, and the identity authentication network protocol is safer than the http protocol.

What is the process of test case review?

  • Purpose: It is mainly to provide guidance for launching test case review and standardize test case management.
  • process:
     

Whether the test cases are written according to the template defined by the company;

Whether the description of the test case itself is clear and whether there is objection;

Whether the content of the test case is correct and consistent with the requirement goal;

Whether the expected result of the test case is definite and unique;

Whether the operation steps should be consistent with the description;

Does the test case cover all requirements;

Whether there is redundancy in the test design; whether the use case is executable

Whether to design test cases for user usage scenarios and business processes from the user level;

Whether the scenario test case covers the business process of the load;

Whether the use case design includes positive and negative use cases;

Whether the output items automatically generated by the system indicate the generation rules;

Use cases should include checks on intermediate and background data;

Test cases should have correct names and numbers;

Test cases should be marked with the priority of execution;

Test cases include relevant configuration information: test environment, data, pre-test cases, user authorization, etc.;

Each test case step should be <=15 step;

Automated test scripts must have comments (the comments should include: purpose, input, expected results, etc.);

Whether non-functional test requirements or non-testable requirements are listed and explained in use cases.

What does a bug report include?

  • The software version corresponding to the bug generation;
  • Interface staff for development;
  • the priority of the bug;
  • the severity of the bug;
  • The module that the bug may belong to, if you are not sure, you can ask the developer to judge;
  • The title of the bug needs to clearly describe the phenomenon;
  • Bug description, you need to give the steps of the bug as much as possible;
  • Relevant logs and screenshots can be given in the bug attachment.

How to do app testing with monkey?

  • First use adb logcat -c to clear the logcat log of the phone;
  • Next, use adb logcat -v time to get the logcat log, and import the local file and use monkey to run the application under test adb shell monkey -p sign up -v
  • 100000 and import the execution result to the local test;
  • If it fails halfway, you need to check whether there are crash or anr keywords in the monkey log;
  • If you still need to locate the cause of the anr or crash problem, submit the relevant log, logcat log and process number to the development location;
  • If it is anr problem, you also need to get the /data/anr/traces.txt file from Android and submit it to the development location

Why does the app appear CRASH?

  • Null pointer value, array out of bounds, insufficient memory, full CPU load (now mobile phones are basically 8-core CPU, and the CPU full load will basically not appear)

Why should jmeter be parameterized?

  • When doing stress testing, we often need to replace parameters. In jmeter, there are many forms of parameterization. Global parameters can be set in the test plan, user parameters can be set, and user parameters can be set in the preprocessor. When performing multi-thread concurrency, if multiple parameters are required, you can use the csv configuration element.
  • For example, in the login operation, the background may restrict a user from logging in multiple times. If you demonstrate the concurrent login operation, you can use the csv software in jmeter to export user information and put it in a file, so that threads can share these data.
  • In addition, for some randomly changing parameters, you can use the function assistant in jmeter to generate random functions for parameterized testing. For example, for an operation such as registration, the user name must be unique, so it can be simulated by using a random function.

What is the difference between App testing and web testing?
 

Same point:

  • The same test case design method;
  • The same test method: the UI will be checked according to the prototype;
  • Test page loading and page turning speed, login time, memory overflow, etc.;
  • Test the stability of the application system.

difference:

  • App interruption test: incoming call interruption, SMS interruption, Bluetooth interruption, alarm clock, etc.;
  • App installation and uninstallation: full installation, upgrade installation, third-party tool installation and uninstallation, message push, front and back switch, network environment, etc.;
  • Compatibility testing: web projects consider compatibility with different browsers, apps consider different operating systems, different models, different screens, etc.;
  • Network test: different networks and operators, different network standards, such as GSM, CDMA, 3G, etc., app behavior under bad or no network conditions; 2G 3G 4G 5G wifi
  • Web automation testing tools are more commonly used selenium, while mobile automation monkey and appium;
  • App testing platform: Baidu Cloud Test

What are the MySQL database query languages? Will you check multiple tables?

The most commonly used database language is SQL

Multi-table joint query: select * from table1 t1,table2 t2 where tl.id=t2.id

This is multi-table join query.

  • left join
  • right join
  • inner join

The instructions for operating the Linux system:

  • Add, delete, copy, move, etc.?
  • cd: enter the directory
  • cd app: switch to the app directory
  • cd... : switch to the previous directory
  • cd/: switch to the system root directory
  • tail -10 a.txt : view the last 10 lines of data
  • ifconfig: view ip
  • ll: View files and their attributes
  • vi: edit
  • rm-rf: delete
  • car: decompression and compression commands
  • cp: copy
  • pwd: display the current path
  • mv: move
  • cat: View file content
  • touch: create file
  • tail logcat: View logs
  • cat logcat: View logs
  • tomcat: log
  • tail : View logging information, tail -f catinalia out
  • tar -xvf filename: decompress
  • tar -n logcat view system log
  • tar -zcvf filename:compress
     

 

Finally, I would like to thank everyone who has read my article carefully. Reciprocity is always necessary. Although it is not a very valuable thing, you can take it away if you need it:

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, and I hope it can help you! Partners can click the small card below to receive   

Guess you like

Origin blog.csdn.net/kk_lzvvkpj/article/details/132217085