Simon Priet e69a613a37 feat: Created a mini nodeJS server with NewMan for testing without PostMan GUI.
This will mimic a run in a CD/CI environment or docker container.
2021-09-08 14:01:19 +02:00

22 lines
485 B
CoffeeScript

perf 'Create simple object', 100000, (run) ->
obj =
ele: "simple element"
person:
name: "John"
'@age': 35
'?pi': 'mypi'
'#comment': 'Good guy'
'#cdata': 'well formed!'
unescaped:
'#raw': '&<>&'
address:
city: "Istanbul"
street: "End of long and winding road"
contact:
phone: [ "555-1234", "555-1235" ]
id: () -> return 42
details:
'#text': 'classified'
run () -> xml(obj)