{
  "front-version": "2.7.4",
  "version": 3,
  "nodes": [
    {
      "type": "Scenario",
      "id": "54A3ADA2-9B9A-45A7-9574-E324D907EFFE",
      "lastModified": "2017-08-06T18:36:05.621+01:00",
      "name": "Log-in scenario",
      "requestOrder": [
        "Log me in",
        "Greet me"
      ],
      "parentId": "317A64F2-FEDB-42D3-9382-468736419317"
    },
    {
      "type": "Request",
      "method": {
        "requestBody": true,
        "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
        "name": "POST"
      },
      "body": {
        "formBody": {
          "overrideContentType": true,
          "encoding": "application/x-www-form-urlencoded",
          "items": [
            {
              "enabled": true,
              "type": "Text",
              "name": "grant_type",
              "value": "password"
            },
            {
              "enabled": true,
              "type": "Text",
              "name": "username",
              "value": "admin@admin.pl"
            },
            {
              "enabled": true,
              "type": "Text",
              "name": "password",
              "value": "admin"
            }
          ]
        },
        "bodyType": "Form",
        "autoSetLength": true,
        "textBody": ""
      },
      "headersType": "Form",
      "uri": {
        "query": {
          "delimiter": "&",
          "items": []
        },
        "scheme": {
          "name": "http",
          "version": "V11"
        },
        "host": "localhost:8080",
        "path": "/oauth/token"
      },
      "id": "920A6E5A-0252-49EC-9D95-335CDCF7378D",
      "lastModified": "2017-08-06T18:37:36.410+01:00",
      "name": "Log me in",
      "headers": [
        {
          "enabled": true,
          "name": "Content-Type",
          "value": "application/x-www-form-urlencoded"
        },
        {
          "enabled": true,
          "name": "Authorization",
          "value": "Basic ZnJvbnRlbmRQYXNzd29yZEZsb3c6c2VjcmV0"
        }
      ],
      "assertions": [
        {
          "comparison": "Equals",
          "subject": "ResponseStatus",
          "path": "code",
          "value": "200"
        },
        {
          "comparison": "Exists",
          "subject": "ResponseJsonBody",
          "path": "$.access_token",
          "value": "200"
        }
      ],
      "metaInfo": {
        "ownerId": "google-oauth2|105171000467559785611"
      },
      "parentId": "54A3ADA2-9B9A-45A7-9574-E324D907EFFE"
    },
    {
      "type": "Request",
      "method": {
        "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
        "name": "GET"
      },
      "body": {
        "bodyType": "Text",
        "autoSetLength": true,
        "textBody": ""
      },
      "headersType": "Form",
      "uri": {
        "query": {
          "delimiter": "&",
          "items": []
        },
        "scheme": {
          "name": "http",
          "version": "V11"
        },
        "host": "localhost:8080",
        "path": "/greet/me"
      },
      "id": "7A300F8C-A3F8-4A27-A9C8-337B21AC7EE2",
      "lastModified": "2017-08-06T18:40:34.566+01:00",
      "name": "Greet me",
      "headers": [
        {
          "enabled": true,
          "name": "Authorization",
          "value": "Bearer ${\"Projekt bilet\".\"Log-in scenario\".\"Log me in\".\"response\".\"body\".\"access_token\"}"
        }
      ],
      "assertions": [
        {
          "comparison": "Equals",
          "subject": "ResponseStatus",
          "path": "code",
          "value": "200"
        }
      ],
      "metaInfo": {
        "ownerId": "google-oauth2|105171000467559785611"
      },
      "parentId": "54A3ADA2-9B9A-45A7-9574-E324D907EFFE"
    },
    {
      "type": "Project",
      "id": "317A64F2-FEDB-42D3-9382-468736419317",
      "lastModified": "2017-08-06T18:40:34.566+01:00",
      "name": "Projekt bilet"
    }
  ]
}