Ramp-up trong JMeter là gì?

Viewing 2 reply threads
  • Author
    Posts
    • #686
      tvn
      Keymaster

      Trong JMeter, Ramp-up là tổng thời gian thực hiện hết tất cả các yêu cầu (request) của bạn.
      Ví dụ, nếu bạn có 10 yêu cầu, và bạn thiết lập ramp-up là 100 (giây) thì JMeter sẽ thực hiện 10 yêu cầu đó trong 100 giây, nghĩa là mỗi yêu cầu sẽ được gửi cách nhau 10 giây. Nói cách khác, cứ mỗi 10 giây JMeter sẽ gửi 1 yêu cầu lên server.

      Tương tự như vậy, nếu bạn có 30 yêu cầu và ramp-up bạn thiết lập là 120 thì cứ cách 4 giây JMeter sẽ gửi 1 yêu cầu.

      The ramp-up period tells JMeter how long to take to “ramp-up” to the full number of threads chosen. If 10 threads are used, and the ramp-up period is 100 seconds, then JMeter will take 100 seconds to get all 10 threads up and running. Each thread will start 10 (100/10) seconds after the previous thread was begun. If there are 30 threads and a ramp-up period of 120 seconds, then each successive thread will be delayed by 4 seconds.

      Nguồn: http://jmeter.apache.org/usermanual/test_plan.html

    • #1202
      tuanpl
      Participant

      Trong trường hợp có 2 requests theo thứ tự A -> B
      Request A tạo ra variable a và a được sử dụng làm input của request B.
      Vì performance issue hay 1 số lý do nào đó response A “về trễ” hơn tính toán thì B xử lý thế nào ạ?

    • #1230
      junkts
      Participant

      1

Viewing 2 reply threads
  • You must be logged in to reply to this topic.