Use Golang to do the HTTP interface stress test and output it to the echarts scatter plot.

Source: Internet
Author: User
Tags http post
This is a created article in which the information may have evolved or changed.

Go-post-scatter

go http post echarts scatter golang 并发测试 http post 并使用echarts输出表表统计运行时间

Project Address: Https://github.com/jixieshi999/go-post-scatter

Catalogue Introduction

运行Client生成并发报表 分析基本每次连接执行时间out 输出目录config 配置目录golang代码修改修改config文件夹里面的config/output.html里面需要替换的内容 用%s代替

Modify Extension

由于连接的是自己的golang服务器,需要修改链接的服务器地址,和修改代码里面http传输的内容修改才能实现修改getPostUploadResData方法修改postLoginTest登录测试

Test Scatter Diagram Link

  • 1000 Concurrency graph
  • 200 Concurrency graph

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.