<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Cheers Li 软件测试博客]]></title><description><![CDATA[软件测试技术积累、分享、交流......]]></description><link>https://blog.csdn.net/achang21</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; achang21]]></copyright><item><title><![CDATA[Mac XAMPP 安装Composer]]></title><link>https://blog.csdn.net/achang21/article/details/82317517</link><guid>https://blog.csdn.net/achang21/article/details/82317517</guid><author>achang21</author><pubDate>Sun, 02 Sep 2018 17:58:45 +0800</pubDate><description><![CDATA[Mac XAMPP 安装Composer

1、确认php是否是 XAMPP 的PHP版本

which php

返回 /usr/bin/php 说明是Mac自带的php，修改修改配置。

说明：xampp的php路径为：/Applications/XAMPP/bin/php

2、php版本修改为XAMPP的PHP版本

cd ~

vi .bash_profile

修改为： export ...]]></description><category></category></item><item><title><![CDATA[Nginx报错：nginx: [error] invalid PID number "" in "/run/nginx.pid" 解决方法]]></title><link>https://blog.csdn.net/achang21/article/details/80039561</link><guid>https://blog.csdn.net/achang21/article/details/80039561</guid><author>achang21</author><pubDate>Sun, 22 Apr 2018 15:53:20 +0800</pubDate><description><![CDATA[服务器重启之后，执行 nginx -t 是OK的，然而在执行 nginx -s reload 的时候报错nginx: [error] invalid PID number &quot;&quot; in &quot;/run/nginx.pid&quot;解决方法：需要先执行nginx -c /etc/nginx/nginx.confnginx.conf文件的路径可以从nginx -t的返回中找到。nginx -s reload...]]></description><category></category></item><item><title><![CDATA[Java HttpClient 发送multipart/form-data带有Json文件的Post请求]]></title><link>https://blog.csdn.net/achang21/article/details/79304276</link><guid>https://blog.csdn.net/achang21/article/details/79304276</guid><author>achang21</author><pubDate>Sat, 10 Feb 2018 13:00:13 +0800</pubDate><description><![CDATA[Java HttpClient 发送multipart/form-data带有Json文件的Post请求说明：发送multipart/form-data带有Json文件的Post请求，文件内容其实就是json字符串，这种请求之前都是通过postman发的，见postman截图：目前但是要做接口自动化测试，所以须用代码实现。直接贴代码：（需要至少2个jar包：httpclient-4.5.3.jar...]]></description><category></category></item><item><title><![CDATA[Android studio+真机 运行报错[INSTALL_FAILED_INSUFFICIENT_STORAGE]解决方法]]></title><link>https://blog.csdn.net/achang21/article/details/78174095</link><guid>https://blog.csdn.net/achang21/article/details/78174095</guid><author>achang21</author><pubDate>Sun, 08 Oct 2017 12:02:34 +0800</pubDate><description><![CDATA[Android studio+真机 运行报错[INSTALL_FAILED_INSUFFICIENT_STORAGE]解决方法


说明：Android手机 OPPO r5 root版本，Android 4.4.4
Android studio在真机上运行Android工程，报错 [INSTALL_FAILED_INSUFFICIENT_STORAGE]



解决方法：
   ]]></description><category></category></item><item><title><![CDATA[Appium 1.7 实现上下、左右滑动页面方法]]></title><link>https://blog.csdn.net/achang21/article/details/78167793</link><guid>https://blog.csdn.net/achang21/article/details/78167793</guid><author>achang21</author><pubDate>Fri, 06 Oct 2017 23:52:30 +0800</pubDate><description><![CDATA[Appium 1.7 实现上下、左右滑动页面方法
说明：之前的文章：Appium
 测试，实现上下、左右滑动页面 只适用于Appium 1.6.4及以下
Appium升级到1.7 后的问题：
（1）以前的driver.swipe方法不能用了。
（2）即便使用TouchAction类的滑动方法也不能用了，因为waitAction有变化（waitAction（Duration）注意 这里表是]]></description><category></category></item><item><title><![CDATA[Appium click事件 报错 Injecting to another application requires INJECT_EVENTS permission解决]]></title><link>https://blog.csdn.net/achang21/article/details/78164206</link><guid>https://blog.csdn.net/achang21/article/details/78164206</guid><author>achang21</author><pubDate>Fri, 06 Oct 2017 10:47:36 +0800</pubDate><description><![CDATA[Appium click事件 报错 Injecting to another application requires INJECT_EVENTS permission 解决方法


说明：手机 Vivo Y66，
Android 版本：6.0.1 Appium 1.7.0
解决方法：
在 开发者选项 中，将
USB模拟点击 打开，再次运行，问题解决。（其他手机大家可以参考）]]></description><category></category></item><item><title><![CDATA[java使用Jsch实现从linux服务端下载文件]]></title><link>https://blog.csdn.net/achang21/article/details/77897839</link><guid>https://blog.csdn.net/achang21/article/details/77897839</guid><author>achang21</author><pubDate>Fri, 08 Sep 2017 18:42:25 +0800</pubDate><description><![CDATA[java利用Jsch实现在windows平台下载linux服务器端文件
直接贴代码，大家只需改下配置
package com.swiftcoder.qa;

import java.io.File;
import java.util.Properties;
import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.JSch;
impo]]></description><category></category></item><item><title><![CDATA[ffmpeg中的时间 DTS、PTS、AV_TIME_BASE、AV_TIME_BASE_Q 介绍]]></title><link>https://blog.csdn.net/achang21/article/details/77890961</link><guid>https://blog.csdn.net/achang21/article/details/77890961</guid><author>achang21</author><pubDate>Fri, 08 Sep 2017 09:25:51 +0800</pubDate><description><![CDATA[ffmpeg中的时间 DTS、PTS、AV_TIME_BASE、AV_TIME_BASE_Q等介绍 
         原文：http://www.cnblogs.com/yinxiangpei/articles/3892982.html   作者：裴银祥


目录 [hide]

1 视频的显示和存放原理

1.1 DTS和PTS
2 ffmpeg中的时间单位

2.1 A]]></description><category></category></item><item><title><![CDATA[使用ffmpeg循环推流(循环读取视频文件)方法以及局限]]></title><link>https://blog.csdn.net/achang21/article/details/77870066</link><guid>https://blog.csdn.net/achang21/article/details/77870066</guid><author>achang21</author><pubDate>Wed, 06 Sep 2017 19:10:19 +0800</pubDate><description><![CDATA[使用ffmpeg循环推流(循环读取视频文件)方法
命令如下：
ffmpeg -re -stream_loop -1 -i 2minTransformers6281_trailer1080p.flv -vcodec copy -f flv rtmp://192.168.1.26:1935/live/PFM_test_HD_test1

说明：
-stream_loop -1
 中 -1 ]]></description><category></category></item><item><title><![CDATA[FFmpeg基础知识之-—— H264编码profile & level控制]]></title><link>https://blog.csdn.net/achang21/article/details/77824485</link><guid>https://blog.csdn.net/achang21/article/details/77824485</guid><author>achang21</author><pubDate>Sun, 03 Sep 2017 18:54:56 +0800</pubDate><description><![CDATA[FFmpeg基础知识之————H264编码profile & level控制
原文： http://www.cnblogs.com/tinywan/p/6404411.html         作者：Tinywan


H.264有四种画质级别,分别是baseline, extended, main, high：

1、Baseline Profile：基本画质。支持I/P 帧，只支持]]></description><category></category></item><item><title><![CDATA[管理处理器的亲和性（affinity）]]></title><link>https://blog.csdn.net/achang21/article/details/77816469</link><guid>https://blog.csdn.net/achang21/article/details/77816469</guid><author>achang21</author><pubDate>Sun, 03 Sep 2017 11:00:17 +0800</pubDate><description><![CDATA[管理处理器的亲和性（affinity）
        原文：https://www.ibm.com/developerworks/cn/linux/l-affinity.html



为什么（3
 个原因）以及如何使用硬（相对于软）CPU 亲和性（affinity）




了解 Linux® 2.6 调度器如何处理 CPU 亲和性（affinity）可以帮助您更好地设计]]></description><category></category></item><item><title><![CDATA[linux内核调度算法（3）--多核系统的负载均衡]]></title><link>https://blog.csdn.net/achang21/article/details/77815579</link><guid>https://blog.csdn.net/achang21/article/details/77815579</guid><author>achang21</author><pubDate>Sun, 03 Sep 2017 09:38:22 +0800</pubDate><description><![CDATA[linux内核调度算法（3）--多核系统的负载均衡


原文：http://blog.csdn.net/russell_tao/article/details/7102297     作者：陶辉

        多核CPU现在很常见，那么问题来了，一个程序在运行时，只在一个CPU核上运行？还是交替在多个CPU核上运行呢？Linux内核是如何在多核间调度进程的呢？又是内核又是CPU核，两]]></description><category></category></item><item><title><![CDATA[关于 直播流转码系统 性能测试经验总结【逐步完善】]]></title><link>https://blog.csdn.net/achang21/article/details/77802466</link><guid>https://blog.csdn.net/achang21/article/details/77802466</guid><author>achang21</author><pubDate>Sat, 02 Sep 2017 17:25:23 +0800</pubDate><description><![CDATA[直播流转码系统 性能测试的经验总结

目前测试直播流转码 性能 关注如下几个方面：
1. 直播流转码系统 能支持的最大的多少路同时转码（一路转码 一路输出，这样为了容易测试和验证问题）
2. 直播流转码系统 在支持最大的转码路数前提下，流的质量不能有卡顿，花屏等现象
3. 影响 转码视频质量的关键因素都有那些。

测试方案：
见我另一篇文章： srs-bench 针对特定业务性能测]]></description><category></category></item><item><title><![CDATA[srs-bench 针对特定业务性能测试并发推流 解决方案]]></title><link>https://blog.csdn.net/achang21/article/details/77799636</link><guid>https://blog.csdn.net/achang21/article/details/77799636</guid><author>achang21</author><pubDate>Sat, 02 Sep 2017 10:40:31 +0800</pubDate><description><![CDATA[srs-bench 针对特定业务性能测试并发推流 解决方案

srs-bench 相信做过直播流并发测试的并不陌生，不在这过多介绍，了解更多见：

特定业务说明:
        项目在对推流服务端做了限制，推流成功不是简单将 流推到服务端，推流是，需要带上token，而这个token是API 产生的，需要用户登录后，根据一些规则组合产生，算了不说这么多了。简单说下，就是推流时，需要带认]]></description><category></category></item><item><title><![CDATA[Linux shell 命令学习：循环读取文件内容]]></title><link>https://blog.csdn.net/achang21/article/details/77799039</link><guid>https://blog.csdn.net/achang21/article/details/77799039</guid><author>achang21</author><pubDate>Sat, 02 Sep 2017 10:03:27 +0800</pubDate><description><![CDATA[Linux shell 命令循环实例

         因为测试需要，要写一个shell脚本，功能为： 从 一个文件(token 列表)中，读取所有的token，然后组合成Linux命令，依次在后端执行。
        需要组合的命令如下：
nohup ./sb_rtmp_publish -i ../doc/pfmdata/2minTransformers2000_trailer.fl]]></description><category></category></item><item><title><![CDATA[ffmpeg 中print_report中相关日志说明]]></title><link>https://blog.csdn.net/achang21/article/details/77748648</link><guid>https://blog.csdn.net/achang21/article/details/77748648</guid><author>achang21</author><pubDate>Thu, 31 Aug 2017 16:22:43 +0800</pubDate><description><![CDATA[ffmpeg 中print_report中相关日志说明
            原文地址：http://www.cnblogs.com/my_life/articles/6890701.html  https://my.oschina.net/u/2326611/blog/679993


输出帧率设的比输入帧率大，没意义，除非有好的插帧算法； 比输入帧率小，出画面的速度就会变慢， 意味着]]></description><category></category></item><item><title><![CDATA[linux下批量杀进程方法【非常实用】]]></title><link>https://blog.csdn.net/achang21/article/details/77253364</link><guid>https://blog.csdn.net/achang21/article/details/77253364</guid><author>achang21</author><pubDate>Wed, 16 Aug 2017 16:56:46 +0800</pubDate><description><![CDATA[linux下批量杀死进程方法
       原文地址：http://www.cnblogs.com/lgh344902118/p/6509615.html
     
       非常实用方法,推荐学习。  
       ps aux|grep
sb_rtmp_publish|grep -v grep|cut -c 9-15|xargs kill -15

　　管道符“|”用来隔]]></description><category></category></item><item><title><![CDATA[Java中substring的妙用，解决字符串提取的问题]]></title><link>https://blog.csdn.net/achang21/article/details/77230586</link><guid>https://blog.csdn.net/achang21/article/details/77230586</guid><author>achang21</author><pubDate>Wed, 16 Aug 2017 10:45:47 +0800</pubDate><description><![CDATA[Java中substring的妙用，解决字符串提取的问题
例子：
       从 "{"push_url": "rtmp://192.168.1.26:1935/live/PFM_test_HD_test0?token=1502873530-caa280c0295bfaa65eae3b739f25d774"}" 中提取token的值。
这个问题困扰我很久，尝试过正则表达是，最终都是无果，最]]></description><category></category></item><item><title><![CDATA[Linux nohup命令详解]]></title><link>https://blog.csdn.net/achang21/article/details/77188051</link><guid>https://blog.csdn.net/achang21/article/details/77188051</guid><author>achang21</author><pubDate>Tue, 15 Aug 2017 13:49:52 +0800</pubDate><description><![CDATA[Linux nohup命令详解




nohup命令及其输出文件   
                                                                           


　　今天在linux上部署wdt程序，在SSH客户端执行./start-dishi.sh,启动成功,在关闭SSH客户端后，运行的程序也同时终止了，怎样才]]></description><category></category></item><item><title><![CDATA[你的网卡真有千兆么？——千兆网卡传输速度解析]]></title><link>https://blog.csdn.net/achang21/article/details/76853126</link><guid>https://blog.csdn.net/achang21/article/details/76853126</guid><author>achang21</author><pubDate>Mon, 07 Aug 2017 17:17:15 +0800</pubDate><description><![CDATA[你的网卡真有千兆么？——千兆网卡传输速度解析
        转自： R9IT技术网
   随着PS3it技术的破解和可以利用电脑FTP向PS3传送文件，千兆网卡成为了不少玩家必备的工具。要知道PS3it技术本身自带千兆网卡，如果利用FTP软件以及电脑上的千兆网卡进行文件传输，其速度远比采用USB
 2.0的外置硬盘来传输要快。但是在使用的过程中，玩家却发现，无论是采用电脑主板上自带的千兆网]]></description><category></category></item></channel></rss>