Skip to content

Instantly share code, notes, and snippets.

@aurelienlair
Last active July 9, 2020 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aurelienlair/c9e624f3e1216f31bd22a11a6c9dae12 to your computer and use it in GitHub Desktop.
Save aurelienlair/c9e624f3e1216f31bd22a11a6c9dae12 to your computer and use it in GitHub Desktop.
Postman output
MyCollection
Iteration 1/2
❏ CART-CREATION
↳ 1 - Create Cart
POST https://api.musement.com/api/v3/carts [200 OK, 1.65KB, 346ms]
✓ Check http status code
↳ 2 - Add tickets
POST https://api.musement.com/api/v3/carts/e9a6e506-c00d-4045-be44-aeff8965f288/items [200 OK, 2.43KB, 451ms]
✓ Check http status code
{
cursor: {
position: 1,
iteration: 0,
length: 2,
cycles: 2,
empty: false,
eof: false,
bof: false,
cr: false,
ref: '901e61f2-2857-48c7-963e-27ee18c1520c'
}
}
Iteration 2/2
↳ 1 - Create Cart
POST https://api.musement.com/api/v3/carts [200 OK, 1.65KB, 194ms]
✓ Check http status code
↳ 2 - Add tickets
POST https://api.musement.com/api/v3/carts/47b39458-99d7-4ad7-a002-f5be70491c3d/items [200 OK, 2.43KB, 318ms]
✓ Check http status code
{
cursor: {
ref: '901e61f2-2857-48c7-963e-27ee18c1520c',
length: 2,
cycles: 2,
position: 1,
iteration: 1,
eof: true
}
}
So far, so good!
PostmanVariableList {
members: [
PostmanVariable {
type: 'any',
value: 'http://api.musement.com/api/v3',
key: 'api_base_url'
},
PostmanVariable {
type: 'any',
value: '47b39458-99d7-4ad7-a002-f5be70491c3d',
key: 'cart_uuid'
}
],
reference: {
api_base_url: PostmanVariable {
type: 'any',
value: 'http://api.musement.com/api/v3',
key: 'api_base_url'
},
cart_uuid: PostmanVariable {
type: 'any',
value: '47b39458-99d7-4ad7-a002-f5be70491c3d',
key: 'cart_uuid'
}
},
Type: [Function: PostmanVariable] {
_postman_propertyName: 'Variable',
_postman_propertyIndexKey: 'key',
types: {
string: [Function: String],
boolean: [Function: Boolean],
number: [Function: Number],
json: [Object],
array: [Object],
object: [Object],
any: [Object]
},
isVariable: [Function: isVariable]
},
_postman_listIndexKey: 'key'
}
┌─────────────────────────┬────────────────────┬────────────────────┐
│ │ executed │ failed │
├─────────────────────────┼────────────────────┼────────────────────┤
│ iterations │ 2 │ 0 │
├─────────────────────────┼────────────────────┼────────────────────┤
│ requests │ 4 │ 0 │
├─────────────────────────┼────────────────────┼────────────────────┤
│ test-scripts │ 8 │ 0 │
├─────────────────────────┼────────────────────┼────────────────────┤
│ prerequest-scripts │ 8 │ 0 │
├─────────────────────────┼────────────────────┼────────────────────┤
│ assertions │ 4 │ 0 │
├─────────────────────────┴────────────────────┴────────────────────┤
│ total run duration: 1561ms │
├───────────────────────────────────────────────────────────────────┤
│ total data received: 4.81KB (approx) │
├───────────────────────────────────────────────────────────────────┤
│ average response time: 327ms [min: 194ms, max: 451ms, s.d.: 91ms] │
└───────────────────────────────────────────────────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment