Giter Site home page Giter Site logo

insane's Introduction

insane

一个 Go 编写的 http 并发测试客户端.

技术栈:go react

Header
    KEY:Content-Type VALUE:application/x-www-form-urlencoded // 发送表单数据
    KEY:Content-Type VALUE:application/json // 发送Json数据
Body
    KEY:username  TYPE:Int  LENGTH:10  DEFAULT:insane
    KEY:password  TYPE:string  LENGTH:10  DEFAULT:
    KEY:age  TYPE:Int  LENGTH:2  DEFAULT:

    sendData:{username:"insane", password:"wI27Ayy2S2", age:24} // 不填写默认值会随机生成一个值
Cookie
        sample1:123;sample2:456;sample3:789;...

使用

示例的机器只有 1M 带宽,方便大家观看,要使用可以下载到本地测试。

进入到项目根目录

windows: insane.exe

linux: ./insane

访问:http://localhost:9500

压测例子

压测机器:4 核 8G,模拟 5000 用户,发起 http 请求

受压测机器:2 核 4G,获取参数写入 log

go

go go

php

php php

insane's People

Contributors

phper-hejing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.