Scala 使用并行性遍历列表

Scala 使用并行性遍历列表,scala,concurrency,parallel-processing,scalatest,Scala,Concurrency,Parallel Processing,Scalatest,我想在一次测试中加速这个过程 listOfUrls.map(url => { "call the url" should "return 200" in { requesting page and check for HTTP-Code } } 问题是这种方法是按顺序进行的。使用scalatest/scala是否可以对此映射使用并行性?例如:每2秒请求一页?或者使用指定数量的线程?这个答案是否有帮助。。。ScalaTest测试不是已经并行运行了吗?

我想在一次测试中加速这个过程

listOfUrls.map(url => {
    "call the url" should "return 200" in {
       requesting page and check for HTTP-Code
    }
}

问题是这种方法是按顺序进行的。使用scalatest/scala是否可以对此映射使用并行性?例如:每2秒请求一页?或者使用指定数量的线程?

这个答案是否有帮助。。。ScalaTest测试不是已经并行运行了吗?