Giter Club home page Giter Club logo

Comments (8)

chenziqiang666 avatar chenziqiang666 commented on June 27, 2024 1

http://localhost:27000/seckill/execution/1000/12345678912/c2097fe5d7ddf03207e4c3126b3d57b8
我试了一下这个也不行

from jseckill.

bootsrc avatar bootsrc commented on June 27, 2024
  1. 回答问题1

原因是手机号被js存入浏览器端端cookie中了。在seckill.js的131行左右
//电话写入cookie $.cookie('killPhone', inputPhone, {expires: 7, path: '/seckill'});

  1. 回答问题2
    压力测试,推荐用jmeter进行压力测试

from jseckill.

chenziqiang666 avatar chenziqiang666 commented on June 27, 2024

谢谢大佬,我去试试

from jseckill.

chenziqiang666 avatar chenziqiang666 commented on June 27, 2024

大佬,又来打扰你了,我现在还在尝试Jmeter测试,但是传参中还是有问题,例如
http://localhost:27000/seckill/detail/1000?phone=12312312312
这么传不行,那这个phone应该怎么传啊,是只把他作为cookie传吗,cookie的话应该都传什么值呢

from jseckill.

chenziqiang666 avatar chenziqiang666 commented on June 27, 2024

QQ截图20190610232114
我试了一下postman

from jseckill.

chenziqiang666 avatar chenziqiang666 commented on June 27, 2024

这个路径只能是排队中,怎么能让他进行秒杀活动呢

from jseckill.

bootsrc avatar bootsrc commented on June 27, 2024

http://localhost:27000/seckill/execution/1000/12345678912/c2097fe5d7ddf03207e4c3126b3d57b8
这里的md5值,应该取浏览器里cookie里保存的那个值, 而不是自己随便写的一个值。
cookie在浏览器F12的有的请求里,可以找的的。

from jseckill.

bootsrc avatar bootsrc commented on June 27, 2024

http://localhost:27000/seckill/execution/1000/12345678912/c2097fe5d7ddf03207e4c3126b3d57b8
这个格式是对的。
http://localhost:27000/seckill/detail/1000?phone=12312312312这种url是错的。

from jseckill.

Related Issues (18)

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.