package com.course.testng.thread;

import org.testng.annotations.Test;

public class multiThread {
    @Test(invocationCount = 10, threadPoolSize = 3)
    public void test(){
        System.out.println("线程测试");
        System.out.printf("Thread Id: %s%n",Thread.currentThread().getId());
    }
}

TestNG(十四) 线程测试

TestNG(十四) 线程测试

 

相关文章:

  • 2021-11-16
  • 2022-02-12
  • 2021-11-15
  • 2021-11-03
  • 2021-06-13
  • 2021-07-14
  • 2021-08-23
  • 2021-07-05
猜你喜欢
  • 2021-11-03
  • 2021-10-11
  • 2021-07-13
  • 2022-03-04
  • 2022-02-12
  • 2021-11-03
  • 2022-02-03
相关资源
相似解决方案