小编Raj*_*aju的帖子

calculate Duration of The stepping Thread Group Execution in Jmeter

we are developing tool that's support For execute Jmx files in our Application currently i have issue with get the Execution Duration Time Based On Steping thread Group Values.

I got the Duration time by using Java

 public class SteppingThreadGroup {

    public static void main(String[] args) {
        int TotalThreads = 500,
            firstWait   = 25,
            thenStart_threads = 5,
            nextAdd_threads    = 25,                        
            threadsEverySeconds = 30,
            usingRamupSeconds = 5,  
            holdForSeconds =600,
            finallyStopThreads =25,
            down_threadsEverySeconds =25,
            //extra varaibles
            RemaingThreads =0, Duration=0;
        float RampDown =0,rampupTime …
Run Code Online (Sandbox Code Playgroud)

java jmeter formula performance-testing jmeter-plugins

5
推荐指数
0
解决办法
250
查看次数