前言 日常接口测试和自动化测试时经常需要用到连接数据库,SoapUI JDBC 可以支持 JDBC 和 Scrip 两种方式连接,这里先纪录下JDBC方式连接 一、数据库连接 1.添加一个JDBC request 2.添加完毕后,看到JDBC的内容页面: 需要我们自己去添加驱动以及连接字符串 注意: ...
分类:
数据库 时间:
2021-06-02 13:22:00
阅读次数:
0
二维列表初始化 L=[[0]*n]*m方式初始化 初始化一个 \(m\times n\) 的二维列表,初值全为0 L=[[0]*3]*2 print("初始的:",L) #赋值 for i in range(2): for j in range(3): L[i][j]=i+j print("赋值后: ...
分类:
编程语言 时间:
2021-06-02 12:38:38
阅读次数:
0
#!/usr/bin/python # -*- coding:utf-8 -*- import time # 格式化成2016-03-20 11:45:39形式 nowTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) print( ...
分类:
编程语言 时间:
2021-06-02 12:30:27
阅读次数:
0
#include <stdio.h> #include <stdlib.h> #include <time.h> #define max(a, b) ((a) > (b) ? (a) : (b)) typedef struct Node { int key, height; struct Node ...
分类:
其他好文 时间:
2021-06-02 12:24:05
阅读次数:
0
请求转发与重定向的区别 **请求转发:**request.getRequestDispatcher("path").forWard(request,response); **请求重定向:**response.sendRedirect("path"); 相同点: 实现页面的跳转 区别: 使用请求转发的 ...
分类:
其他好文 时间:
2021-06-02 12:15:16
阅读次数:
0
1.将抓包到的request请求内容复制到一个文本文件 扫描接口是否有注入漏洞: sqlmap.py -r C:\Users\qiuro\Desktop\sqlmap.txt 查询对应的库名: sqlmap.py -r C:\Users\qiuro\Desktop\sqlmap.txt -dbs 2 ...
分类:
数据库 时间:
2021-06-02 11:55:15
阅读次数:
0
import os import time import smtplib from email.mime.text import MIMEText from email.header import Header sender = '2575125xxx@qq.com' receivers = ['1 ...
分类:
编程语言 时间:
2021-06-02 11:42:46
阅读次数:
0
#!/usr/bin/env python # encoding: utf-8 import datetime import os import shutil import subprocess import time import zipfile # 数据库用户名 db_user = "root" ...
分类:
数据库 时间:
2021-06-02 11:05:03
阅读次数:
0
找到该路径并添加以下信息 File->settings->Editor->File and Code Templates->Python Script #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : ${DATE} ${TIME} # ...
分类:
其他好文 时间:
2021-06-02 10:53:03
阅读次数:
0
源代码如下: BEGIN DECLARE i INT; DECLARE time_1 datetime; DECLARE ID_1 int; DECLARE charge_1 FLOAT; DECLARE length_1 FLOAT; DECLARE err_1 FLOAT; DECLARE RS ...
分类:
其他好文 时间:
2021-05-25 18:31:26
阅读次数:
0