-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #462 from apideck-libraries/361-folder
Bugfix for integrationTests - merge folders/suites into one
- Loading branch information
Showing
6 changed files
with
177 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"version": 1.0, | ||
"tests": { | ||
"integrationTests": [ | ||
{ | ||
"name": "suites_no1", | ||
"operations": [ | ||
{ | ||
"openApiOperationId": "leadsAdd", | ||
"variations": [ | ||
{ | ||
"name": "Add in SUITE 01", | ||
"tests": { | ||
"contractTests": [ | ||
{ | ||
"statusSuccess": { | ||
"enabled": true | ||
} | ||
}, | ||
{ | ||
"responseTime": { | ||
"enabled": true, | ||
"maxMs": 1000 | ||
} | ||
}, | ||
{ | ||
"schemaValidation": { | ||
"enabled": true | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "suites_no2", | ||
"operations": [ | ||
{ | ||
"openApiOperationId": "leadsAll", | ||
"variations": [ | ||
{ | ||
"name": "All in SUITE 02", | ||
"tests": { | ||
"contractTests": [ | ||
{ | ||
"statusSuccess": { | ||
"enabled": true | ||
} | ||
}, | ||
{ | ||
"responseTime": { | ||
"enabled": true, | ||
"maxMs": 1000 | ||
} | ||
}, | ||
{ | ||
"schemaValidation": { | ||
"enabled": true | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"globals": { | ||
"stripResponseExamples": true, | ||
"collectionPreRequestScripts": [ | ||
"pm.collectionVariables.set('status', pm.iterationData.get('status') || 'open')" | ||
], | ||
"collectionTestScripts": [ | ||
"pm.collectionVariables.set('applicationId', pm.iterationData.get('applicationId') || '1111');" | ||
], | ||
"keyValueReplacements": { | ||
"x-apideck-app-id": "{{applicationId}}" | ||
}, | ||
"valueReplacements": { | ||
"<Bearer Token>": "{{bearerToken}}" | ||
}, | ||
"rawReplacements": [ | ||
{ | ||
"searchFor": "Unify", | ||
"replaceWith": "Unify ApiDeck" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.