Test Life | From a monthly salary of 5K to an annual salary of 30W, what did she do right with both non-educational qualifications?

For a long time after graduation, I worked as a tester in a Hong Kong company, and my job was very leisurely, without 996 or kpi. But the salary is only 5k a month. The projects in Hong Kong companies are Hong Kong projects, which are very stable. A project can often be done for 3 years or more, and each requirement may be to upgrade the framework, and the function changes are not large. I only need to do a little bit every day, and I can cope with it. It sounds like this is a job that is very suitable for lying down Work. But this is only superficial. When you are in such a non-Internet company, you will find that your salary is at the peak when you enter the company. You are surrounded by local people. They have no mortgage or car loan pressure, but you are different. There is no mine in your home. The reality Under normal circumstances, if you don’t improve the technology level, the industry will often abandon you easily.

People without thought, he must worry about

Under such extremely worrying and low-paying working conditions, I have been looking for an entry point. I asked many classmates around me about their plans for the future and how they improved. It's a pity that the students are all unprofessional workers. They don't know what the development trend of a test job is, and they can't give you more advice.

I try to go out and submit my resume to see if the outside market can give me an answer. There is also an interview opportunity. The interviewer asked about the level of language mastery, specific practical experience in automation performance, how to implement continuous integration, etc. I have learned about it during work, but I really don’t have much practical experience.

Anxiety is high every day, so I start looking for information in various ways. Baidu searched for testing and learning, and many training institutions popped up. During the period, I saw many other institutions and listened to many public courses. The reason why I finally chose CTI Education was because the system knowledge of the previous interviews happened to be theirs. There are well-matched test skills under the course details directory. With the most basic python basics for quick learning, httprunner, a popular interface automation framework, app automation testing of appium for UI, platform development, etc., I suddenly feel that I have a savior.

Improve personal abilities in all aspects

CTI Education is a process of live broadcasting/recording + after-school homework + after-school Q & A + employment guidance, and the course resources are considered long-term effective. In addition to reading the basic course catalog, I have an in-depth understanding of how the entire learning system is carried out. For office workers like me, there is no need to worry about missing the live broadcast.

After-school homework and Q&A are also answered for a long time. It feels like someone corrected and supervised the explanation when doing homework when I was a child. In fact, the efficiency is very high.

After the study, I also organized my acquired skills as follows:

insert image description here
I didn't know what is the test left shift right before, after learning the course, you will understand the idea of ​​test left shift, the essence is to test before everything starts, the test object is the demand, the sooner you find out that the demand is unreasonable The chances of problems are lower.

The test is moved to the right, which is essentially to move after the release. That is to say, some testing activities can also be carried out after the product is launched. Of course, it is not recommended to test directly in the production environment, but we can do monitoring in the production environment to monitor online performance and availability. Once any problems occur online, we will respond as soon as possible and respond in advance to give users a good experience.

In fact, to sum it up, it is the change of thinking from QC to QA. Testing is a closed-loop quality assurance work from requirements to final release.

Employment guidance, from resume guidance to interview questions, to targeted delivery to famous companies is a complete chain. I think this is very guaranteed, like a reassurance. Summarizing the above mental journey, I have a direction and a goal, so I decided to give it a try.

Here comes the real interview question

In the beginning, the salary in a Hong Kong company was actually 5k a month, but now the annual total contract is about 30w. I have also worked very hard, but I feel that the hard work is not enough, and I need to continue to work hard. But the premise is that you can't blindly learn from the superficial waters, you still need to carry out your own learning plan in a systematic, planned and practical way and strictly implement it.

To sum up, some interview questions in the recent interview (answers refer to the answers on the Internet):

(1) How to ensure software quality in the project?

Products, guarantee the product logic in the iterative process, make predictions about possible compatibility and upgrades, and give solutions

Design, while satisfying the product expression, ensures the continuity of the design

Development, guarantee of product details, rigorous selection of technical solutions, consideration of compatibility and performance, full self-test after development is completed, and strictly follow the development specification operation

Test, verify product logic, systematically verify interaction design from the perspective of users, use as many technical means as possible to ensure test quality

(2) The reason why the app crashed?

insert image description here

(3) What is the difference between primary key, foreign key and index?

Primary key: uniquely identifies a record, cannot be duplicated, and is not allowed to be empty; used to ensure data integrity, there can only be one.

Foreign key: The foreign key of a table is the primary key of another table, and the foreign key can have duplicates or null values; it is used to establish relationships with other tables, and a table can have multiple foreign keys.

Index: This field has no repeated values, but can have a null value; to improve the speed of query sorting, a table can have multiple indexes.

(4) Introduce the structure of the overall framework of the automation project?

The automated testing framework covers basic method encapsulation, custom exception encapsulation, tool class encapsulation, element management encapsulation, Page Object mode encapsulation, log encapsulation, data management encapsulation, failure retry encapsulation, browser/mobile adaptation encapsulation, database operation encapsulation, Test case management packaging, test reports, etc.

(5) How does the Jmeter tool associate between interfaces?

Interface association means that an interface uses the return value of another interface as a parameter, which we call association in jmeter.

There are several ways to implement associations:

Use the regular expression extractor to get a certain value in the response result of the previous request, store it in a variable, and then use the variable for reference in the next interface;

Use the json extractor to obtain a certain value in the response result of the previous request, store it in a variable, and then use the variable for reference in the next interface;

Using the beanshell post processor, the parsing response result is stored in a variable, and then the next interface uses the variable to refer to the cross-thread group association, and the association field needs to be set as a global attribute.

(6) In the performance test, the TPS is relatively low, what may be the problem?

Performance bottleneck of the press itself

Network IO bottleneck

Middleware (tomcat/nginx/mysql) connection limit

Blocking and waiting of Java threads

Bottlenecks of system resources (cpu, memory, disk, network, etc.)

The response time of other external systems is too long, resulting in the time-wait of this system

(7) Briefly tell me what the script you wrote in the jmeter post-processor looks like?

prev.setDataEncoding("utf-8"); 
String response_data = prev.getResponseDataAsString();

String Str = "\"code\":\"1000\"";
if (response_data == ""){
    
    
 log.info(carnumber+":"+"系统无响应,获取不到响应数据!");
}
else if(response_data.contains(Str) == false){
    
    
 log.info("报错:"+response_data);
}

(8) Reverse the string "Abc123"

print("Abc123"[::-1])

(9) How much do you know about python's re module?

import re
# 常见操作方法
res = re.findall('a', 'jason apple eva')  # 查找所有符合正则表达式要求的数据 结果直接是一个列表 
res = re.finditer('a', 'jason apple eva')  # 查找所有符合正则表达式要求的数据 结果直接是一个迭代器对象
res = re.search('a', 'jason apple eva')
print(res)  # <re.Match object; span=(1, 2), match='a'>
print(res.group())  # a  匹配到一个符合条件的数据就立刻结束
res = re.match('a', 'jason apple eva')  # None  匹配字符串的开头 如果不符合后面不用看了
print(res.group())  # 匹配开头符合条件的数据 一个就结束
obj = re.compile('\d{3}')  # 当某一个正则表达式需要频繁使用的时候 我们可以做成模板
res1 = obj.findall('23423422342342344')
res2 = obj.findall('asjdkasjdk32423')

(10) Python threading realizes multithreading

from threading import Thread
from time import sleep, ctime

class MyClass(object):
    def func(self,name,sec):
        print('---开始---', name, '时间', ctime())
        sleep(sec)
        print('***结束***', name, '时间', ctime())

def main():
    # 创建 Thread 实例
    t1 = Thread(target=MyClass().func, args=(1, 1))
    t2 = Thread(target=MyClass().func, args=(2, 2))

    # 启动线程运行
    t1.start()
    t2.start()

    # 等待所有线程执行完毕
    t1.join()  # join() 等待线程终止,要不然一直挂起
    t2.join()

if __name__=="__main__":
    main()

Finally: In order to give back to the die-hard fans, I have compiled a complete software testing video learning tutorial for you. If you need it, you can get it for free【保证100%免费】
insert image description here

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.

insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/m0_67695717/article/details/131474763