【Java分享客栈】未来迈向高级工程师绕不过的技能:JMeter压测

Java79

前言

因为工作需要,久违的从自己的有道云笔记中去寻找压测相关的内容,翻开之后发现还不错,温故一遍后顺便整理出来分享给大家。

题外话,工作8年多,有道云笔记不知不觉都6G多了,扫一眼下来尽是云烟过往,竟然还能发现Struts的东西,令人甚为感怀,挺好奇你们的云笔记长什么样子。

话说,我如果一直这么记下去,有朝一日能成为IT界的司马迁不哈哈?

为何JMeter

犹记得当年工作之初,压测根本不成为话题,当时的框架也相对复杂,和现在的SpringBoot用法简直云泥之别,在那种环境下,除了大公司,压测自然不是项目首要考虑的范畴。
但时代已经改变了。在互联网井喷的时代,信息爆炸性输出、大数据和云时代层出不穷。测试岗位的重要性日益突出,相应的压力测试和性能测试已成为项目不可分割的一部分。

[En]

But times have changed. In the era of Internet blowout, information explosive output, big data and cloud era have come one after another. The importance of testing posts has become increasingly prominent, and the corresponding pressure testing and performance testing have become an inseparable part of the project.

如果说一个Java程序员在迈向高级工程师必须要掌握主流的技能如SpringBoot、SpringCloud、MQ、k8S等等以外,还需要具备什么辅助技能,我可以很负责任的说,压测一定是未来挡在面前的一扇门。
你为什么这么说?首先,并不是所有的公司都有一定的规模,有自己的测试团队,或者测试人员都有能力进行压力测试。相反,相当多的中小企业不具备这些基本条件,但它们也承担一定规模的项目。不要惊讶。这在中国很常见,那里的人际关系网络纵横交错。

[En]

Why do you say this? First of all, not all companies have a certain scale, have their own testing teams, or testers have the ability to perform pressure testing. On the contrary, quite a number of SMEs do not have these basic conditions, but they also undertake projects of a certain scale. Don't be surprised. This is very common in China, where the network of relationships is crisscrossed.

我多年的工作经验告诉我,大多数程序员主要活跃在中小型工厂,包括初级和中级工程师,以及由于各种原因从大型工厂沦为中小型工厂的高级工程师。此外,疫情给市场带来了更大的下行压力。我大胆地判断,未来的软件公司将变得支离破碎,更小、更精简的公司团队将承担更大、更特殊的项目任务,这种现象将在接下来的几年中逐渐出现。

[En]

My years of work experience tells me that most programmers are mainly active in small and medium-sized factories, including junior and intermediate engineers, as well as senior engineers who have sunk from large factories to small and medium-sized factories for various reasons. In addition, the epidemic has caused greater downward pressure on the market. I am bold to judge that future software companies will become fragmented, and smaller and leaner company teams will undertake larger and more special project tasks, This phenomenon will gradually emerge in the following years.

然后,对于生活在这样的团队中的程序员来说,如果他们将来想成为高级工程师,压力测试是必要的技能之一。只有在测试阶段经过反复的压力测试和优化,他们才能在最终的生产环境中更加安全可靠,这样的团队才会得到客户的认可。

[En]

Then, for programmers living in such teams, if they want to become senior engineers in the future, pressure testing is one of the necessary skills. Only after repeated pressure testing and optimization in the testing phase can they be more safe and reliable in the final production environment, and such teams will be more recognized by customers.

这也是我专门出一篇JMeter压测相关文章的原因,尝试了好几个工具,还是觉得JMeter的实用性更强,压测结果也更可靠。

输入验证码查看隐藏内容

扫描二维码关注本站微信公众号 Johngo学长
或者在微信里搜索 Johngo学长
回复 svip 获取验证码
wechat Johngo学长