Merge pull request #2968 from dwisiswant0/add/api-particle

Add Particle Cloud API test
patch-1
Prince Chaddha 2021-10-24 14:03:25 +05:30 committed by GitHub
commit 5759e77e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: api-particle
info:
name: Particle Cloud API Test
author: dwisiswant0
severity: info
reference: https://docs.particle.io/reference
tags: token-spray,particle
self-contained: true
requests:
- method: GET
path:
- "https://api.particle.io/v1/user?access_token={{token}}"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"account_info":'
- '"username":'
condition: and