In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "how to install Web front-end performance testing tool YellowLabTools with Docker". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
I. Overview of YellowLabTools
Introduction to 1.YellowLabTools
Yellow Lab Tools: an open source Web front-end performance testing tool with some unique features that can't be seen in other tools, such as JavaScript interacting with DOM when the page loads and other program code verification issues.
Yellow Lab Tools tends to be a tool for discovering bad practices and will get a comprehensive score in terms of page weight, number of requests, DOM, wrong Javascript, wrong CSS, etc. It also shows how DOM interacts with each other as the page loads.
2.YellowLabTools Application Mode & scenario
With the use of YellowLabTools, there is no need to install online operation, or you can set up a dedicated service in the local environment for testing. For projects that are not allowed to be made public too much, or tests multiple times a day, and there is no need to queue online for testing. In this scenario, online YellowLabTools testing is not recommended, but it is recommended to build an exclusive service environment in the local environment.
This article mainly uses the Docker container to install the YellowLabTools image service in the local environment for testing, as follows:
II. Installation and use of YellowLabTools
Method 1: directly use online YellowLabTools services for testing
Official website: https://yellowlab.tools/
Method 2: use Docker to install YellowLabTools server
Docker run-- rm-p 8383 jguyomard/yellowlabtools
The YellowLabTools port listening in the Docker container is 8383, and the YellowLabTools server (http://192.168.99.100:8383/) can be accessed in the browser of the physical host.
If the software testing, interface testing, automated testing, performance testing, LR script development, interview experience exchange. If you are interested in 175317069, there will be free links distributed in the group from time to time, which are collected and sorted out from various technical websites. If you have good learning materials, you can chat and send me in private. I will indicate the source and share it with you.
Where 192.168.99.100 is the IP address in the Docker virtual machine, which can be queried by the command docker-machine env.
Test considerations:
1) before testing, you can select the equipment you want to simulate.
Alternative options: PC, tablet, mobile phone
2) Advanced settings can also be made according to actual needs.
1. For example, in the login scenario, you need to configure user name and password, or cookie information.
two。 Set the proxy IP and port, which can be applied to the test environment of the same website at different stages
3. Configure the blacklist and whitelist of the domain name under test, and control the sites that need and do not need to be tested
3) guarantee of test reliability
1. In order to ensure the reliability of the test, it is necessary to ensure the smooth and stable network transmission where the test server is located.
two。 In order to reduce the interference of accidental factors, the or of the same site can be tested several times in different time periods under different network conditions, and the results can be compared for comprehensive evaluation.
Such as: testing URL= https://www.baidu.com
Test results:
According to the loading of website resources, after starting the test, you can wait on the page for a short period of time to see the automatically generated test results, as follows:
"how to use Docker to install Web front-end performance testing tool YellowLabTools" is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.