首页 > 解决方案 > 错误:--overrides 的值似乎不是有效的 JSON

问题描述

我正在尝试使用 easygraphql-lt 进行负载测试,我的代码如下所示,但我收到此错误

错误:--overrides 的值似乎不是有效的 JSON。

有什么建议么?

{
    "config": {
        "url": "http://localhost:3002/",
        "name": "Without Load Testing.......",
        "queryFile": true,
        "duration": 10,
        "arrivalRate": 10,
        "withOutput": true
    },
    "args": {
        "missionTemplates": {
            "_id": "68e4b4f0-b3df-11eb-aa42-1d83d5dd4339"
        }
    }
}

标签: javascriptnode.jsmongodbgraphqlload-testing

解决方案


推荐阅读