Coder Social home page Coder Social logo

9527's Introduction

Jmter-performance-test-script

基于laravel开发的web站点,进行的性能测试

基本介绍

该脚本模拟2个用户,同时操作同一事务, 例如:13:30:16两人同时访问登录页面、13:30:17两人同时提交登录表单、13:30:18两人同时提交发帖表单; 也就是说,真实用户发帖一般需要2-3秒(可自定义)的思考和操作时间;3秒内对登录页面并发2次,登录并发2次,发帖并发2次,完整的模拟了2人同时发帖;

测试目的:能支持多少人同时发帖?

1.如下图:2个用户同时发帖3次

image

2.如下图:模拟1000个用户同时发帖,循环执行3次,只需准备好1000个账号密码,并修改2处地方即可(并发测试)

image

3.如下图:模拟1000个用户同时发帖,循环执行60秒(不指定固定次数),只需准备好1000个账号密码,并修改2处地方即可(负载测试、压力测试)

image

9527's People

Contributors

280357392 avatar

Watchers

James Cloos avatar  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.