File tree Expand file tree Collapse file tree 2 files changed +45
-45
lines changed
Expand file tree Collapse file tree 2 files changed +45
-45
lines changed Original file line number Diff line number Diff line change 44 "spec_versions": {
55 "v1": {
66 "apigentools_version": "1.5.1.dev2",
7- "regenerated": "2021-11-04 19:47:03.525458 ",
8- "spec_repo_commit": "51e9017 "
7+ "regenerated": "2021-11-08 11:00:32.170076 ",
8+ "spec_repo_commit": "63c3c10 "
99 },
1010 "v2": {
1111 "apigentools_version": "1.5.1.dev2",
12- "regenerated": "2021-11-04 19:47:04.382840 ",
13- "spec_repo_commit": "51e9017 "
12+ "regenerated": "2021-11-08 11:00:32.808503 ",
13+ "spec_repo_commit": "63c3c10 "
1414 }
1515 }
1616}
Original file line number Diff line number Diff line change @@ -21920,7 +21920,47 @@ paths:
2192021920 content:
2192121921 application/json:
2192221922 examples:
21923- multistep-api-test:
21923+ 1-simple-api-test:
21924+ description: Example of an API test.
21925+ summary: Create an API test.
21926+ value:
21927+ config:
21928+ assertions:
21929+ - operator: lessThan
21930+ target: 1000
21931+ type: responseTime
21932+ - operator: is
21933+ target: 200
21934+ type: statusCode
21935+ - operator: is
21936+ property: content-type
21937+ target: text/html; charset=UTF-8
21938+ type: header
21939+ request:
21940+ method: GET
21941+ url: https://example.com
21942+ locations:
21943+ - azure:eastus
21944+ - aws:eu-west-3
21945+ message: <NOTIFICATION MESSAGE>
21946+ name: <TEST NAME>
21947+ options:
21948+ min_failure_duration: 0
21949+ min_location_failed: 1
21950+ monitor_options:
21951+ include_tags: true
21952+ locked: false
21953+ new_host_delay: 300
21954+ notify_audit: false
21955+ notify_no_data: false
21956+ renotify_interval: 0
21957+ tick_every: 60
21958+ status: live
21959+ subtype: http
21960+ tags:
21961+ - env:production
21962+ type: api
21963+ 2-multistep-api-test:
2192421964 description: 'Example of a multistep API test running on a fake furniture
2192521965 store.
2192621966
@@ -21998,46 +22038,6 @@ paths:
2199822038 tags:
2199922039 - env:prod
2200022040 type: api
22001- simple-api-test:
22002- description: Example of an API test.
22003- summary: Create an API test.
22004- value:
22005- config:
22006- assertions:
22007- - operator: lessThan
22008- target: 1000
22009- type: responseTime
22010- - operator: is
22011- target: 200
22012- type: statusCode
22013- - operator: is
22014- property: content-type
22015- target: text/html; charset=UTF-8
22016- type: header
22017- request:
22018- method: GET
22019- url: https://example.com
22020- locations:
22021- - azure:eastus
22022- - aws:eu-west-3
22023- message: <NOTIFICATION MESSAGE>
22024- name: <TEST NAME>
22025- options:
22026- min_failure_duration: 0
22027- min_location_failed: 1
22028- monitor_options:
22029- include_tags: true
22030- locked: false
22031- new_host_delay: 300
22032- notify_audit: false
22033- notify_no_data: false
22034- renotify_interval: 0
22035- tick_every: 60
22036- status: live
22037- subtype: http
22038- tags:
22039- - env:production
22040- type: api
2204122041 schema:
2204222042 $ref: '#/components/schemas/SyntheticsAPITest'
2204322043 description: Details of the test to create.
You can’t perform that action at this time.
0 commit comments