如何执行上下文
import scala.concurrent.ExecutionContext.Implicits.global
Run Code Online (Sandbox Code Playgroud)
与Play的执行上下文不同:
import play.core.Execution.Implicits.{internalContext, defaultContext}
Run Code Online (Sandbox Code Playgroud) 我想从代码中运行Gatling测试.怎么做? 教程只说命令行和sbt.
上下文:我想扩展测试.在后台我有自定义套接字通信,我需要模拟.从模拟中我需要将一些生成的ID传递给Gatling测试.我可以通过我的模拟应用程序使用参数运行它(但我还不知道如何).其他解决方案也是一个很好的答案.
我可以做一些传递文件和http://gatling.io/docs/2.1.6/cookbook/passing_parameters.html,但它很丑..
也许有办法从scala代码运行sbt任务?
任何演员都会收到太多的信息。如何发现这样的瓶颈?
如果发生这种情况,CPU 使用率会如何?是否总是至少有 1 个核心处于 100% 使用率?
在 Akka 1.x 中,我可以检查消息队列的长度,但在 2.x 中不可用。现在该如何处理呢?