getTestJobResults

get

/ccadminx/v1/testJobs/{id}

Get Test Job Results. Returns the status of a given test job from the extension server.

Request

Supported Media Types
Path Parameters
  • The id of the job to return the results for. Job Id is the date time the job was created in the format of yyyyMMddHHmm.
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getTestJobResults_response
Type: object
Show Source
Nested Schema : testResults
Type: array
An array of test results.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : failedExpectations
Type: array
An array of the failed expectations.
Show Source
Nested Schema : specs
Type: array
An array of test spec result details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : failedExpectations
Type: array
An array of the failed expectations.
Show Source
Nested Schema : passedExpectations
Type: array
An array of the passed expectations.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "testResults":[
            {
                "specs":[
                    {
                        "pendingReason":"",
                        "description":"returns status code 200",
                        "fullName":"Calculate Shipping GET /v1/calculateShipping returns status code 200",
                        "passedExpectations":[
                            {
                                "stack":"",
                                "matcherName":"toBe",
                                "passed":true,
                                "message":"Passed."
                            }
                        ],
                        "id":"spec0",
                        "failedExpectations":[
                        ],
                        "status":"passed"
                    },
                    {
                        "pendingReason":"",
                        "description":"returns shippingMethods Array",
                        "fullName":"Calculate Shipping GET /v1/calculateShipping returns shippingMethods Array",
                        "passedExpectations":[
                            {
                                "stack":"",
                                "matcherName":"toBe",
                                "passed":true,
                                "message":"Passed."
                            }
                        ],
                        "id":"spec1",
                        "failedExpectations":[
                        ],
                        "status":"passed"
                    },
                    {
                        "pendingReason":"",
                        "description":"returns shippingMethods Array",
                        "fullName":"Calculate Shipping GET /v1/calculateShipping returns shippingMethods Array",
                        "passedExpectations":[
                            {
                                "stack":"",
                                "matcherName":"toBe",
                                "passed":true,
                                "message":"Passed."
                            },
                            {
                                "stack":"",
                                "matcherName":"toBe",
                                "passed":true,
                                "message":"Passed."
                            }
                        ],
                        "id":"spec2",
                        "failedExpectations":[
                        ],
                        "status":"passed"
                    }
                ],
                "description":"GET /v1/calculateShipping",
                "fullName":"Calculate Shipping GET /v1/calculateShipping",
                "id":"suite1",
                "failedExpectations":[
                ],
                "status":"finished"
            },
            {
                "specs":[
                    {
                        "pendingReason":"",
                        "description":"returns status code 200",
                        "fullName":"Hello World Server GET /v1 returns status code 200",
                        "passedExpectations":[
                            {
                                "stack":"",
                                "matcherName":"toBe",
                                "passed":true,
                                "message":"Passed."
                            }
                        ],
                        "id":"spec3",
                        "failedExpectations":[
                        ],
                        "status":"passed"
                    },
                    {
                        "pendingReason":"",
                        "description":"returns Hello World",
                        "fullName":"Hello World Server GET /v1 returns Hello World",
                        "passedExpectations":[
                            {
                                "stack":"",
                                "matcherName":"toBe",
                                "passed":true,
                                "message":"Passed."
                            }
                        ],
                        "id":"spec4",
                        "failedExpectations":[
                        ],
                        "status":"passed"
                    }
                ],
                "description":"GET /v1",
                "fullName":"Hello World Server GET /v1",
                "id":"suite2",
                "failedExpectations":[
                ],
                "status":"finished"
            }
        ],
        "extensionName":"externalShippingCalculator",
        "jobId":"201612191709",
        "status":"succeeded"
    }
]

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top