ASM - Script monitor query
search cancel

ASM - Script monitor query

book

Article ID: 217857

calendar_today

Updated On:

Products

CA App Synthetic Monitor

Issue/Introduction

Hi, For ASM script monitor, if number of threads is configured as more than 1, when a monitor runs, does it initiate 3 threads and execute the script 3 times ?

Environment

Release : SAAS

Component : APP SYNTHETIC MONITOR ENVIRONMENTAL

Resolution

Here are two:

 https://www.redline13.com/blog/2018/05/guide-jmeter-thread-groups/

https://www.redline13.com/blog/2019/05/jmeter-thread-count/

 

  • Scenario 1: If the number of thread count is 10, ramp-up time is 10 and loop count is 1.
  • Let’s walk through the differences. In Scenario 1, 10 threads are used, and the ramp-up period is 10 seconds, so JMeter will take 10 seconds to get all 10 threads up and running. Each thread will start 1 second (10 divided by 10)
  • Number Of Threads: It represents the total number of virtual users performing the test script execution.
  • Ramp-Up Period (in seconds): It tells JMeter how long to take to reach the full number of threads. For example, if you have 100 users with a ramp-up period of 50 seconds, JMeter will take 50 seconds to get all 100 threads running, adding 2 threads per second.
  • Loop Count: It is the number of executions for the script. For example, if the loop count is 2 and number of threads is 100 then the script will run 200 times. If the loop count is set “forever” then new threads will keep starting until the tests are stopped.

 In your case is 3 threads (simulating 3 virtual users) that will take 3 seconds for all three threads to start up. The script is executed once,

The Jmeter Users Guide has some good details as well.

-- https://jmeter.apache.org/usermanual/test_plan.html#thread_group

 

Additional Information

Jmeter script settings and ASM Script Monitor settings are two different things. Changing script threads will not change monitor impacts.