zoukankan      html  css  js  c++  java
  • 接口测试随记2

    1. 一般开发写好接口后会有一个接口文档,文档里面会写名这接口是哪个功能的接口 会说明接口的请求类型 请求参数 还有返回数据里面的提示成功或者失败
    测试的重点是检查数据交互、传递、和控制管理过程以及系统间的相互依赖关系等。有点书面语句.
    简单的说就是接口通过工具 请求接口 会有一个返回数据 然后核对返回的数据 这是接口中最普通的做法, 通过浏览器就能实现了 当然对于专业的测试人员肯定不能用浏览器输入网址那么low的方式做了

     2. 

     Loop Count

    Using Loop Count you can specify the number of times to execute the Performance Test. You can select check-box “forever”, it will keep on executing same Test script in loop until you manually stop the execution. There is also an option to manually define the loop count.

    Now let’s look at some examples to understand Thread Count + Ramp-Up Time + Loop Count combination.

    – Scenario 1 : Thread Count = 20, Ramp Up Time (Seconds) = 100 & Loop Count = 1

    Every 5 seconds (100/20) one Thread / Request will hit the server. Execution will start with one request at a time.

    – Scenario 2 : Thread Count = 20, Ramp Up Time (Seconds) = 100 & Loop Count = 4

    Every 5 seconds (100/20) 4 Thread / Requests will hit the server. Once the first thread completes the first round of execution, it will start 2nd loop by executing same HTTP request. Execution lasts until all 20 threads executes all HTTP requests 4 times.

  • 相关阅读:
    haproxy实现负载均衡集群
    docker私有仓库搭建,证书认证,鉴权管理
    dockerhub私有镜像仓库harbor部署
    Delphi用窗体类名创建窗体(需要用到GetClass)
    Delphi中Class of 第二篇
    Delphi中Class of
    Delphi中ADO之初识
    Delphi遍历枚举
    二进制乘除的原理
    Delphi图像处理之图像着色
  • 原文地址:https://www.cnblogs.com/zwingblog/p/7196116.html
Copyright © 2011-2022 走看看