Unanswered question

Validate error on custom headers?

I have validation errors returned on custom headers and the request body, any idea why this would happen?

Jonathan T.
Jonathan T.

Jonathan T.

Level
0
35 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

You would need to attach the yaml

Jonathan T.
Jonathan T.

Jonathan T.

Level
0
35 / 100
points

Yaml File:

user_paths:

  • name: traffic_lookup_post
  • actions:
    steps:

    • transaction:
    • name: Request step
      description: Request test script to be executed
      steps:

      • request:
      • url: /1/Orders/{orders.Order}
        server: qa_enviroment
        method: POST
        sla_profile: SR_QA_SLA
        headers:

        • accept: application/json
        • Content-Type: application/json
        • x-api-key: zBZGkJgPDLVv080qX7PR88lL3oBWzzO7BQ1lL196
        • body:
          {
          "accountLookupTraffic": {
          "noticeNumber": "string"
          },
          "moneymarket": {
          "mmaudit": {
          "employeeNumber": "string",
          "employeeFullName": "string",
          "cashierNumber": "string",
          "branchNumber": "string",
          "brandName": "string",
          "deviceId": "string",
          "deviceType": "POS",
          "ipAddress": "string",
          "MMSessionID": "string",
          "ticketNo": 0,
          "tillNo": 0
          },
          "channelType": "Internal",
          "requestId": "${Requests.RequestID}",
          "orderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "orderLineItemId": "${RequestsOrderlineID.RequestOrderlineID}",
          "originator": {
          "institution": {
          "id": "string",
          "name": "string"
          }
          }
          },
          "shoprite": {
          "customerId": "string"
          },
          "mmProduct": {
          "productId": "string",
          "barcode": "string"
          }
          }

          • delay: 1s

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

Can you zip the yaml file and add the zip.