即使每个测试都有效,收集仍会失败

时间:2018-07-23 08:14:56

标签: rest automated-tests postman

我用邮递员创建了一个包含测试的集合。我可以运行每个测试,并且按顺序运行,但是当我尝试运行整个集合时,我收到406。我发现了一些信息,但对我没有用。

测试结果:result

标题: The headers of a test

日志:

        {
"id": "eea04d56-b5e4-4ba2-b8a9-6b36191667a5",
"name": "ThingWorx",
"allTests": [],
"timestamp": "2018-07-23T07:19:19.221Z",
"collection_id": "17459600-431b-469d-a945-581df41c011f",
"folder_id": 0,
"target_type": "collection",
"environment_id": "0",
"data": [],
"delay": 0,
"count": 1,
"collection": {
    "id": "17459600-431b-469d-a945-581df41c011f",
    "name": "ThingWorx",
    "description": null,
    "auth": null,
    "events": null,
    "variables": null,
    "order": [
        "ab81c3fe-6b67-4239-b090-2df98531925d",
        "2ff68d15-f0bc-49b6-8288-ac8b37bc6eef",
        "5ff8dee2-80c4-463b-90de-02a838707cff",
        "1a588e07-9be3-43d6-b449-3dc44cbae261",
        "8fc5e5d1-da14-4aca-9ed7-35f170c2410f",
        "e840c9ff-805a-4dd4-93db-39bb0f238f00",
        "07128451-0125-4e89-b68e-1eedf7708572",
        "ba006023-548a-498e-bf7f-c65fbba6154d",
        "908d6c7e-3b90-4421-a253-d599627627e7",
        "995a7430-95e9-418e-bb48-660b1ae703e9",
        "6b87fede-c5e3-4d3b-8e57-c9e2639cb5cb",
        "a4848ef7-7f4a-46f0-9638-620ee919d8b8",
        "7f448b93-3cdb-40e1-b2db-aa4bc3900782"
    ],
    "folders_order": [],
    "owner": "4810751",
    "permissions": {},
    "favorite": false,
    "shared": false,
    "type": "collection",
    "depth": 0"name": "D3_Network",
        "id": "e840c9ff-805a-4dd4-93db-39bb0f238f00",

        "url": "http://localhost:8015/Thingworx/ExtensionPackageUploader",
        "totalTime": 0,
        "responseCode": {
            "code": 406,
            "name": "Not Acceptable",
            "detail": {
                "name": "Not Acceptable",
                "detail": "The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request."

0 个答案:

没有答案
相关问题