【发布时间】:2017-08-24 10:59:59
【问题描述】:
我正在使用meteorDown 包对我的meteor 应用程序进行负载测试。但它没有按预期工作。下面是代码:
meteorDown.init(function (Meteor) {
console.log("userId is:", Meteor.userId());
})
meteorDown.run({
concurrency : 1,
url : "http://localhost:3000"
})
以下是输出:
(node:10727) [DEP0016] DeprecationWarning: 'GLOBAL' is deprecated, use
'global'
--------------------------------------------------
Time : 2017-8-24 16:45:43
--------------------------------------------------
Time : 2017-8-24 16:45:48
--------------------------------------------------
使用以下命令开始测试:sudo meteor-down my_load_test.js。 这个文件在我的应用文件夹之外
【问题讨论】:
-
此文件仅在我的应用文件夹中
-
你期待看到什么?
标签: performance meteor load