在Pre-request Script 中增加代码 可以实现在请求时自动添加Header ,可在Collection中添加 // 添加新 header pm.request.headers.add({ key: 'Accept-Encoding', value: 'gzip' }); // 添加或修 ...
分类:
其他好文 时间:
2020-10-30 12:27:30
阅读次数:
61
Java中的List你真的会用吗?List是Java中比较常用的集合类,关于List接口有很多实现类,本文就来简单介绍下其中几个重点的实现ArrayList、LinkedList和Vector之间的关系和区别。ListList是一个接口,它继承于Collection的接口。它代表着有序的队列。当我们讨论List的时候,一般都和Set作比较。List中元素可以重复,并且是有序的(这里的有序指的是按照
分类:
编程语言 时间:
2020-10-29 09:23:54
阅读次数:
16
Difficulty: Medium Related Topics: Backtracking Link: https://leetcode.com/problems/permutations/ Description Given a collection of distinct integers, ...
分类:
其他好文 时间:
2020-10-27 10:57:46
阅读次数:
22
对于Java中Collection集合来说,在输出时调用其实是不必要的,只是在某些特殊的情况下除外。 对于Buffered输出流来说,关闭时会自动调用flush方法将缓冲区中的数据写入目的地。大部分情况下并不需要手动调用flush方法,尤其是边读边写,写入目的地时在调用flush方法,这样缓冲区的存 ...
分类:
编程语言 时间:
2020-10-22 22:25:41
阅读次数:
25
FatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to take the data on a collection of mice and put as large ...
分类:
其他好文 时间:
2020-09-23 23:55:07
阅读次数:
46
在接口自动化过程中,每次都打开postman工具来手动运行脚本显得不智能,所以可以通过命令在无UI或者其他持续集成的平台上执行脚本和数据。 环境准备 导出collection 安装node.js和cnpm 安装newman 环境检查 检测node.js: 检测cnpm: 安装教程:http://6t ...
分类:
其他好文 时间:
2020-09-18 02:01:40
阅读次数:
34
Problem LeetCode Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where t ...
分类:
编程语言 时间:
2020-09-17 20:29:16
阅读次数:
30
1、集合-->数组:toArray() Collection coll = new ArrayList(); coll.add(133); coll.add(53); Object[] array = coll.toArray(); 2、数组-->集合:调用Arrays类的静态方法asList() ...
分类:
编程语言 时间:
2020-09-17 16:19:58
阅读次数:
34
目录 前言 什么是动态SQL? 常用的标签 if choose、when、otherwise where foreach set sql include 总结 拓展一下 Mybatis中如何避免魔数? 如何引用其他XML中的SQL片段? 总结 前言 通过前两篇的文章我们了解了Mybatis基本的CR ...
分类:
数据库 时间:
2020-09-17 16:05:59
阅读次数:
37
一、参数化步骤 1、需要用UTF-8文件制作CSV文件,表头一般是参数名称 2、在raw传入的json数据中,对数据进行参数{{参数名}},键值对也可以{{参数名}} 3、在项目中,运行接口中设置参数化,选中CSV文件 4、在collection中设置场景,选中csv文件 5、并且跑完的接口成功数量 ...
分类:
其他好文 时间:
2020-09-17 13:26:23
阅读次数:
24