Super detailed web automation tutorial - advanced operation of TestCafe page
prefaceThis article follows the previous one to introduce some advanced operations of TestCafe page interaction.1, Mouse drag1. Drag element offsetMethod: t.drag can offset and drag the element relative to the original position.caseimport { Selector } from 'testcafe';fixture element drag.page `https://www.runoob.com/try/try.php?filename=jqueryu ...
Posted by chiefrokka on Mon, 06 Dec 2021 17:14:42 -0800
A very useful pressure measuring tool - Apache Bench tool
Author: roast chicken PrinceSource: Hang Seng LIGHT cloud communitybrief introductionThis year's company developer conference is in the form of online. According to the Convention, in order to ensure the service, it is necessary to evaluate the performance of the whole system temporarily. The more commonly used tools are jmeter and Apache Bench ...
Posted by andrewgauger on Sun, 28 Nov 2021 22:11:18 -0800
Locust stress test
(the catalog is on the right →
Official website
file
configuration parameter
Code file address of this article
The preparation section is of personal interest. You can directly see the use section of locust. You can find a public interface test, such as https://www.baidu.com
prepare
database
Start a database
# Lifting container
do ...
Posted by CodeBuddy on Tue, 23 Nov 2021 13:27:38 -0800
allure plug-in novice demo
allure is a plug-in that can generate visual test reports. It has the following characteristics:
allure is a lightweight, flexible and multilingual test reporting tool
Multi platform and luxurious report framework;
Can be dev/qa Provide detailed test report, test steps and log;
It can also provide high-level statistical reports for the ...
Posted by asherinho on Sun, 31 Oct 2021 03:52:40 -0700
Server real-time monitoring platform: Telegraf+InfluxDB+Grafana
This chapter mainly explains how to build and deploy in CentOS environment
1,InfluxDB
InfluxDB is an open source distributed time series, events and indicators database written in Go language without external dependence.
Similar databases include Elasticsearch, Graphite, etc.
Download address:
https://portal.influxdata.com/downloads/
1.1 ...
Posted by Jak-S on Fri, 22 Oct 2021 06:57:20 -0700
01 - Common Pytest commands
01 - Common Pytest commands
1.Run a single use case
pytest -v test_day01.py::test_simple_case1
Operation effect:
Administrator@PC-202102061358 MINGW64 /d/python_demo/pytest
$ pytest -v test_day01.py::test_simple_case1
=========================================================================================== test session starts ========= ...
Posted by vishwavivek on Thu, 23 Sep 2021 10:21:17 -0700
Not technically, because the Pytest framework
summary
pytest is a very mature and full-featured Python testing framework. Its main features are as follows:
Simple and flexible, easy to use, rich documents; Support parameterization, which can fine-grained control the test cases to be tested; It can support simple unit testing and complex function testing, and can also be used for selen ...
Posted by bough on Wed, 22 Sep 2021 07:16:59 -0700
Golang benchmark - Test code performance
preface
Performance is a very important indicator when optimizing code or determining algorithm selection. For example, I need to use hash algorithm for signature when making requirements recently. At first, I wanted to use md5 without thinking about it, and then a few big words popped up on the IDE: md5 has known security problems, so it is r ...
Posted by benphelps on Tue, 14 Sep 2021 12:03:01 -0700