ICode9

精准搜索请尝试: 精确搜索
  • jmeter笔记(8)--关联2019-04-20 16:43:22

    关联是jmeter中比较重要的一个点,在测试过程中有些数据是经常发生变化的,要获取这些数据,就需要使用关联,Jmeter可以通过“后置处理器”中的“正则表达式提取器”来处理关联。。 正则表达式提取器 1、在取样器下点击【添加】--【后置处理器】--正则表达式提取器     2、以随机查询城

  • python正则使用,取一个字符串中的多个字段2019-04-03 16:49:51

    有这样一个大字符串 str_rrr=r"<tr class='tr_first' id='731602'><td>731602 </td><td class='chartBall01'>01</td><td class='chartBall01'>08</td><td class='chartBall01'

  • 求s=1+1(1+2)+1(1+2+3)….+1(1+2+3….+n)的值2019-03-16 15:55:07

    求s=1+1/(1+2)+1/(1+2+3)….+1/(1+2+3….+n)的值#include <stdio.h>float fun(int n){int i,s1=0;float s=0.0;for(i=1;i<=n;i++){s1=s1+i; /求每一项的分母/s=s+1.0/s1; /求多项式的值/}return s; }void main(){ int n; float s;void NONO ( );printf("\nPlease e

  • Nginx八:配置2019-03-14 08:55:53

    server { listen 80; server_name sx.snail.com; index index.php index.html; root /var/www/html/snail; location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass php:9000;

  • python接口自动化测试十四: 用正则表达式提取数据2019-03-06 13:49:55

    import requestsimport reurl = 'xxxx'r = requests.post(url)# 正则公式:postid = re.findall(r"(.+?)", r.url)    # r.url:匹配的url对象   # ^表示从头开始匹配u = re.findall(r"^(.+?)\?", url) # 如果参数在末尾,匹配到最后# 参数:postid=35454&actiontip=按时发res =

  • 03.Numpy数组属性2019-03-05 22:47:30

    shape 这一数组属性返回一个包含数组维度的元组,它也可以用于调整数组大小。 示例 >>> a = np.array([[1, 2, 3], [4, 5, 6]]) >>> a.shape (2, 3) >>> a.shape = 3, 2 >>> a.shape (3, 2) >>> a array([[1, 2], [3, 4], [5, 6]]) >>> b =

  • Js实现简易Markdown转html解析器2019-02-24 10:50:38

    效果图 基本思路 input上传文件 fileReader读取内容并储存在content中 用正则表达式replace替换content中的内容 利用<a>标签中的download属性,动态更改href的值下载文件 知识点 FileReader 正则表达式 <a>标签中的download属性 blob对象 window.URL.createObjectURL 代码

  • nginx server2019-02-10 20:43:00

    server { listen 80; client_max_body_size 2000m; server_name dev.za.jiaoshitech.com; root /Users/ismdeep/projects/jiaoshitech/zhixing/admin/public; index index.php index.html index.htm; location / { if (!-e $request_filename) { rewrite ^(.*)

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有