redis org.springframework.data.redis.RedisSystemException: Error in execution

Background When running a certain system, the test class stores a certain value into redis and then takes it out. 1. Problems encountered Error reported: org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify […]

springMVC execution process and working principle

SpringMVC execution process: 1. The user sends a request to the front-end controller DispatcherServlet 2. DispatcherServlet receives the request and calls the processor mapper HandlerMapping. 3. The processor mapper finds the specific processor according to the request URL, generates the processor execution chain HandlerExecutionChain (including the processor object and processor interceptor) and returns it to […]

selenium waits for element loading, element manipulation, js execution, switching tabs, logging into cnblogs (chrome), and drawer semi-automatic likes

selenium waits for elements to load Code operations are very fast ? \dashrightarrow ? Some tags have not been loaded yet ? \dashrightarrow ? Can’t find it even if I look for it ? \dashrightarrow ? will report an error Set wait: show wait, hermit wait # Search for a certain tag. If it cannot […]

[Mango] Use explain() to view the execution plan of mongodb query statement

Use explain() to view the execution plan of the mongodb query statement Similar to relational databases such as MySQL and Oracle, MongoDB calculates the optimal query plan for each query statement through the query optimizer, including selected indexes, query time, scanned records, number of scanned indexes, alternative execution plans, etc. information. This article introduces using […]

WEB Security (Command Execution) Note 2

Foreword A command execution vulnerability is a security vulnerability that allows an attacker to execute malicious system commands. This vulnerability typically occurs when an application or system does not properly validate user input, allowing the user to execute system commands by entering specific data. The occurrence of vulnerabilities is usually related to the following factors: […]

Python+requests+unittest execution interface automation test details

This article mainly introduces the details of automated testing of the Python + requests + unittest execution interface. The article provides a detailed introduction around the topic, which has certain reference value. Friends in need can refer to it. 1. Install requests, xlrd, json, unittest libraries Pip command installation: pip install requests pip install xlrd […]

Task execution control in Ansible

1. Loop Loop iteration task 1. Simple loop loop: ##Assignment list – value1 – value2 -… {<!– –>{item}} ##Iteration variable name #Example# — – name: create file hosts: 172.25.0.254 tasks: – name: file module file: name: /mnt/{<!– –>{item}} state: present loop: – westos_file1 – westos_file2 2. Circular hash or dictionary list — – name: create […]

Oracle-execution plan

Several ways to generate execution plans 1. EXPLAIN FOR grammar: EXPLAIN PLAN FOR SQL statement SELECT * FROM TABLE(dbms_xplan.display()); advantage: No need to actually execute SQL shortcoming: No relevant statistical information is output, such as how many logical reads, physical reads, recursive calls, etc. are generated. Unable to tell how many rows were processed Unable […]