From 1930cde695386c249c10708823baf8d72d207e9c Mon Sep 17 00:00:00 2001 From: Dariusz Augustyniak Date: Wed, 17 May 2023 14:08:16 +0200 Subject: [PATCH] Postman tests (#194) Co-authored-by: augustyd Reviewed-on: https://gitea.release11.com/R11/release11-tools/pulls/194 Reviewed-by: Adam Bem Co-authored-by: Dariusz Augustyniak Co-committed-by: Dariusz Augustyniak --- ...elease Tools Tests.postman_collection.json | 11342 ++++++++++++++++ 1 file changed, 11342 insertions(+) create mode 100644 Tests/Release Tools Tests.postman_collection.json diff --git a/Tests/Release Tools Tests.postman_collection.json b/Tests/Release Tools Tests.postman_collection.json new file mode 100644 index 0000000..f979a93 --- /dev/null +++ b/Tests/Release Tools Tests.postman_collection.json @@ -0,0 +1,11342 @@ +{ + "info": { + "_postman_id": "429fb09c-4653-405d-b6cb-de03b624e67b", + "name": "Release Tools Tests", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "Xpath functions 2.0", + "item": [ + { + "name": "SaxonTrace", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"5\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"trace(5, 'the value of 5 is:')\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonAdjust-dateTime-to-timezone", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2002-05-30T03:00:00Z\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"2002-05-30T09:00:00+06:00\",\n \"process\": \"adjust-dateTime-to-timezone(/start)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonAdjust-date-to-timezone", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2002-09-23Z\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"2002-09-24+06:00\",\n \"process\": \"adjust-date-to-timezone(/start)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonAdjust-time-to-timezone", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"09:30:10.5Z\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"adjust-time-to-timezone(/start)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonAnalyze-string", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"\\n The\\n \\n cat\\n \\n sat\\n \\n on\\n \\n the\\n \\n mat\\n .\\n\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"analyze-string(\\\"The cat sat on the mat.\\\", \\\"\\\\w+\\\")\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonApply", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"abc\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"apply(concat#3, [\\\"a\\\", \\\"b\\\", \\\"c\\\"])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonAvailable-environment-variables", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"PATH\\nHOSTNAME\\nJAVA_HOME\\nPWD\\nJAVA_VERSION\\nLANG\\nHOME\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"available-environment-variables() \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonAvg", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"avg((1,2,3))\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonBase-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.chevrolet.com/\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"base-uri(/l:library)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonBoolean", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"boolean(/start) \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCodepoint-equal", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"codepoint-equal(string(/start),'09:30:10.5') \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCodepoint-to-String", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"ψ\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"0968\",\n \"process\": \"codepoints-to-string(xs:integer(/start)) \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCollation-key", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"AAB4AABzAAA6AABzAAB0AAByAABpAABuAABn\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"collation-key('xs:string') \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCollection", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"AAB4AABzAAA6AABzAAB0AAByAABpAABuAABn\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"collation-key('xs:string') \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCompare", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"compare('xs:string','jakisstring') \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonContains", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"contains('xs:string','string') \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonContains-token", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"false\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"contains-token('xs:string sting strung same','string') \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCount", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"4\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"count(('xs:string',' sting',' strung ','same')) \",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCurrent-date", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result.slice(0, 10)).to.eql((new Date()).toISOString().slice(0, 10));", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"current-date()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCurrent-dateTime", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result.slice(0, 18)).to.eql((new Date()).toISOString().slice(0, 18));", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"current-dateTime()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCurrent-time", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result.slice(0, 8)).to.eql((new Date()).toISOString().slice(11, 19));", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"09:30:10.5\",\n \"process\": \"current-time()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonData", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"data(/l:library)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonDeep-equal", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"deep-equal(/l:library/l:readerList/p:person[1],/l:library/l:readerList/p:person[2])\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonDefault-collation", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.w3.org/2005/xpath-functions/collation/codepoint\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"default-collation()\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonDefault-language", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"en\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"default-language()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "Saxondistinct-values", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\\n2\\n3\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"distinct-values(('1','1','2','3'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "Saxondistinct-values-parametryzacja", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\\n2\\n3\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + " var request = pm.request.toJSON().url.query;", + " console.log(request);", + " pm.environment.set(\"process\", request[0].value);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"{{process}}\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "process", + "value": "distinct-values(('1','1','2','3'))", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonDocument-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"document-uri()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonDoc-available", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"doc-available('https://www.w3schools.com/xml/note.xml')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonDoc", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"\\n Tove\\n Jani\\n Reminder\\n Don't forget me this weekend!\\n\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"doc('https://www.w3schools.com/xml/note.xml')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonEmpty", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + " pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"empty(/l:library/l:readerList/p:person[0])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonEncode-for-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"l%3Alibrary%2Fl%3AreaderList\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"encode-for-uri('l:library/l:readerList')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonEnds-with", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"ends-with('l:library/l:readerList','ist')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonEnvironment-variable", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"/usr/local/openjdk-18\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"environment-variable('JAVA_HOME')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonError", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(400);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"Error signalled by application call on error()\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"error()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonExactly-one", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\" \");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"exactly-one(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonExists", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"exists(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFalse", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"false\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"false()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFloor", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"5\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"floor(5.5)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFold-left", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"15\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"fold-left(1 to 5, 0, function($a, $b) { $a + $b })\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFold-right", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"15\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"fold-right(1 to 5, 0, function($a, $b) { $a + $b })\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFor-each", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\\n4\\n9\\n16\\n25\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"for-each(1 to 5, function($a) { $a * $a })\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFor-each-pair", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"ax\\nby\\ncz\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"for-each-pair(('a', 'b', 'c'), ('x', 'y', 'z'), concat#2)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFormat-date", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " const date = new Date();", + "", + "let day = date.getDate();", + "let month = date.getMonth() + 1;", + "let year = date.getFullYear();", + "if (date < 10) {", + " date = '0' + date;", + "}", + "", + "if (month < 10) {", + " month = '0' + month;", + "}", + "", + "// This arrangement can be altered based on how we want the date's format to appear.", + "let currentDate = `${month}/${day}/${year}`;", + "console.log(currentDate); // \"17-6-2022\"", + " pm.expect(jsonData.result).to.eql(currentDate);", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"format-date(current-date(), '[M01]/[D01]/[Y0001]')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFormat-dateTime", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " const date = new Date();", + "", + "let day = date.getDate();", + "let month = date.getMonth() + 1;", + "let year = date.getFullYear();", + "if (date < 10) {", + " date = '0' + date;", + "}", + "", + "if (month < 10) {", + " month = '0' + month;", + "}", + "", + "// This arrangement can be altered based on how we want the date's format to appear.", + "let currentDate = `${month}/${day}/${year}`;", + "console.log(currentDate); // \"17-6-2022\"", + " pm.expect(jsonData.result).to.eql(currentDate);", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"format-dateTime(current-dateTime(), '[M01]/[D01]/[Y0001]')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFormat-integer", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"one hundred and twenty three\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"format-integer(123, 'w')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFormat-number", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"14%\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"format-number(0.14, '01%')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFormat-time", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql((new Date()).toISOString().slice(11, 19));", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"format-time(current-time(), '[H01]:[m01]:[s01]')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFunction-arity", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('3');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"function-arity(substring#3)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFunction-lookup", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('2011-11-11T11:11:11Z');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \" (function-lookup(xs:QName('xs:dateTimeStamp'), 1), xs:dateTime#1)[1] ('2011-11-11T11:11:11Z')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonFunction-name", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('fn:substring');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"function-name(substring#3)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonGenerate-id", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('d0e11');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"generate-id(/l:library/l:readerList/p:person[2])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonHas-children", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('true');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"has-children(/l:library/l:readerList/p:person[2])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonHead", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(' ');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"head(/l:library/l:readerList/p:person)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonHours-from-dateTime", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql((new Date().getHours()-2).toString());", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"hours-from-dateTime(current-dateTime())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonHours-from-duration", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('10');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"hours-from-duration(xs:dayTimeDuration('P3DT10H'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonHours-from-time", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('11');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"hours-from-time(xs:time('11:23:00'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonId", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"id(d0e1)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "Saxonidref", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"idref(d0e11)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonImplicit-timezone", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('PT0S');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"implicit-timezone()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonIndex-of", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('2\\n5');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"index-of((10, 20, 30, 30, 20, 10), 20)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonInnermost", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(' \\n\\n 7321\\n Adam\\n Choke\\n\\n\\n 7321\\n Adam\\n Choke\\n\\n\\n 5123\\n Lauren\\n Wong\\n\\n\\n 6422\\n Harry Potter\\n 7542\\n\\n\\n 1234\\n Macbeth\\n 5123\\n\\n\\n 9556\\n Romeo and Juliet\\n');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"innermost((/l:library/l:bookList/b:book , /l:library/l:readerList/p:person))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonIn-scope-prefixes", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('b\\nl\\np\\nxsi\\nxml');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"in-scope-prefixes(/l:library/l:bookList/b:book[1])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonInsert-before", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('1\\n2\\n8\\n9\\n10\\n3\\n4\\n5\\n6\\n7');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"insert-before((1,2,3,4,5,6,7),3,(8,9,10))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonIri-to-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('http://tools.zipper.release11.com:8086/');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"iri-to-uri ('http://tools.zipper.release11.com:8086/')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonJson-to-xml", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('\\n saxon\\n');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"{\\\"processor\\\": \\\"saxon\\\"}\",\n \"process\": \"json-to-xml(/)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonLang", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('false');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"lang(/l:library/l:readerList/p:person[2])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonLast", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('4\\n4\\n4\\n4');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/p:person/last()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonLoad-xquery-module", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(400);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('An empty sequence is not allowed as the first argument of fn:load-xquery-module()');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"load-xquery-module(document-uri(/))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonLocal-name", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('library');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"local-name(/l:library)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonLocal-name-from-QName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('person');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"local-name-from-QName(QName(\\\"http://www.example.com/example\\\", \\\"person\\\"))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonLower-case", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('sarcastic');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"lower-case('SaRcAsTiC')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMatches", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('true');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"matches(/l:library/l:readerList/p:person[2]/p:name,'Adam')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMax", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('6');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"max((2,3,4,5,6,1))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMin", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('1');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"min((2,3,4,5,6,1))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMinutes-from-dateTime", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql((new Date().getMinutes()).toString());", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"minutes-from-dateTime(current-dateTime())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMinutes-from-duration", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('0');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"minutes-from-duration(xs:dayTimeDuration('P3DT10H'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMinutes-from-time", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('23');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"minutes-from-time(xs:time('11:23:00'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMonth-from-date", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('3');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"month-from-date(xs:date('2023-03-16'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMonth-from-dateTime", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql((new Date().getMonth()+1).toString());", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"month-from-dateTime(current-dateTime())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonMonths-from-duration", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('0');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"months-from-duration(xs:dayTimeDuration('P3DT10H'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('l:library');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/name()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNamespace-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.release11.com/library\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/namespace-uri()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNamespace-uri-for-prefix", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.w3.org/XML/1998/namespace\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"namespace-uri-for-prefix('xml', element())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNamespace-uri-from-QName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.w3.org/XML/1998/namespace\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"namespace-uri-for-prefix('xml', element())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNilled", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"false\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"nilled(/l:library)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNode-name", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"l:library\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"node-name(/l:library)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNormalize-space", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"aaaa aaa a aaa\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"normalize-space(' aaaa aaa a aaa ')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNormalize-unicode", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"aaaa aaa a aaa\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"normalize-unicode(' aaaa aaa a aaa ','NFKC')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNot", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"false\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"not(1)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNumber", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1.11\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"number(1.11)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonOne-or-more", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\" \\n\\n 7321\\n Adam\\n Choke\\n\\n\\n 7321\\n Adam\\n Choke\\n\\n\\n 5123\\n Lauren\\n Wong\\n\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"one-or-more(/l:library/l:readerList/p:person)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonOutermost", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\" \\n\\n 7321\\n Adam\\n Choke\\n\\n\\n 7321\\n Adam\\n Choke\\n\\n\\n 5123\\n Lauren\\n Wong\\n\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"outermost(/l:library/l:readerList/p:person)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonParse-ietf-date", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1994-06-06T07:29:35Z\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"parse-ietf-date('Wed, 06 Jun 1994 07:29:35 GMT')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonParse-json", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"map{\\\"data\\\":\\\"09:30:10.5\\\"}\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"parse-json('{\\\"data\\\": \\\"09:30:10.5\\\"}')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonParse-xml", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"09:30:10.5\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"parse-xml('09:30:10.5')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonParse-xml-fragment", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"09:30:10.5\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"parse-xml-fragment('09:30:10.5')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonPath", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"/Q{http://www.release11.com/library}library[1]/Q{http://www.release11.com/library}readerList[1]/Q{http://www.release11.com/person}person[2]\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"path(/l:library/l:readerList/p:person[2])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonPosition", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\\n2\\n3\\n4\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/p:person/position()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonPrefix-from-QName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"p\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"prefix-from-QName(QName('http://www.example.com/example', 'p:person'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonQName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"p:person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"QName('http://www.example.com/example', 'p:person')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonRandom-number-generator", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"p:person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"QName('http://www.example.com/example', 'p:person')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonRemove", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\\n3\\n4\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"remove(('1','2','3','4'),2)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonReplace", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"ACC\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"replace('ABC', 'B', 'C')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonResolve-QName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"hell\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"resolve-QName('hell', /l:library)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonResolve-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"p:person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"resolve-uri('p:person')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonReverse", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"4\\n3\\n2\\n1\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"reverse(('1','2','3','4'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonRoot", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"\\n City library\\n 345123\\n \\n \\n \\n 7321\\n Adam\\n Choke\\n \\n \\n 7321\\n Adam\\n Choke\\n \\n \\n 5123\\n Lauren\\n Wong\\n \\n \\n \\n \\n 6422\\n Harry Potter\\n 7542\\n \\n \\n 1234\\n Macbeth\\n 5123\\n \\n \\n 9556\\n Romeo and Juliet\\n \\n \\n\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"root(//p:person[1])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonRound", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"5\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"round(5.49)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonRound-half-to-even", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"5.5\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"round-half-to-even(5.49,1)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSeconds-from-dateTime", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result.slice(0, 2)).to.eql((new Date().getSeconds()).toString() || (new Date().getSeconds()-1).toString());", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"seconds-from-dateTime(current-dateTime())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSeconds-from-duration", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('0');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"seconds-from-duration(xs:dayTimeDuration('P3DT10H'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSeconds-from-duration", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('0');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"seconds-from-duration(xs:dayTimeDuration('P3DT10H'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSerialize", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('1 2 3 4');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"serialize((1,2,3,4))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSort", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('1\\n-2\\n5\\n8\\n10\\n-10\\n10');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"sort((1, -2, 5, 10, -10, 10, 8), (), abs#1)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonStarts-with", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('true');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"starts-with('ABC','A')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonStatic-base-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/static-base-uri()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonString", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('Adam');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"string(/l:library/l:readerList/p:person[2]/p:name)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonString-join", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('1A2A3');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"string-join((1,2,3),'A')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonString-length", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('1');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"string-length('A')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonString-to-codepoints", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('65');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"string-to-codepoints('A')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSubsequence", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('2\\n3');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"subsequence((1,2,3,4),2,2)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSubstring", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('BC');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring('ABCDEF',2,2)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSubstring-after", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('BCDEF');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring-after ('ACBCDEF','C')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSubstring-before", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('A');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring-before ('ACBCDEF','C')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonSum", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('6');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"sum((1,2,3))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonTail", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('2\\n3');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"tail((1,2,3))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonTimezone-from-date", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('PT0S');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"timezone-from-date(current-date())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonTimezone-from-dateTime", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('PT0S');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"timezone-from-dateTime(current-dateTime())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonTimezone-from-time", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('PT0S');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"timezone-from-time(current-time())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonTokenize", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('B\\nCB\\nB\\nD');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"tokenize('BACBABAD','A')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonTrace", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('Adam\\nAdam\\nLauren');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"trace(//p:name[1])\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonTranslate", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('BAr');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"translate('bar','abc','ABC')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonTrue", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('true');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"true()\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonUnordered", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('4\\n3\\n2\\n4\\n5');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"unordered((4, 3, 2, 4, 5))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonUnparsed-text", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('.dockerenv\\napp\\nbin\\nboot\\ndev\\netc\\nhome\\nlib\\nlib64\\nmedia\\nmnt\\nopt\\nproc\\nroot\\nrun\\nsbin\\nsrv\\nsys\\ntmp\\nusr\\nvar');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"unparsed-text('')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonUnparsed-text-available", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('true');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"unparsed-text-available('')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonUnparsed-text-lines", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('.dockerenv\\napp\\nbin\\nboot\\ndev\\netc\\nhome\\nlib\\nlib64\\nmedia\\nmnt\\nopt\\nproc\\nroot\\nrun\\nsbin\\nsrv\\nsys\\ntmp\\nusr\\nvar');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"unparsed-text-lines ('')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonUpper-case", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('AAA');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"upper-case('aaa')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonUri-collection", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('AAA');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"upper-case('aaa')\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonXml-to-json", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('[1,\\\"is\\\",true]');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"1is1\",\n \"process\": \"xml-to-json(/)\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonYear-from-date", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(new Date().getFullYear().toString());", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"1is1\",\n \"process\": \"year-from-date(current-date())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonYear-from-dateTime", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(new Date().getFullYear().toString());", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"1is1\",\n \"process\": \"year-from-dateTime(current-dateTime())\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonYears-from-duration", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('0');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"1is1\",\n \"process\": \"years-from-duration(xs:dayTimeDuration('P3DT10H'))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonZero-or-one", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql('1');", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 3.1 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"1is1\",\n \"process\": \"zero-or-one((1))\",\n \"processor\": \"saxon\",\n \"version\": \"3.1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Xpath functions 1.0", + "item": [ + { + "name": "LIBXMLString", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"11\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"Test1Test3\",\n \"process\": \"string(11)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLConcat", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"AdamChoke\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"concat(/l:library/l:readerList/p:person[1]/p:name,/l:library/l:readerList/p:person[1]/p:surname)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LlibXMLBasic", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"Test1\\n\\nTest3\\n\\n\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"Test1Test3\",\n \"process\": \"/values/value\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLLast", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"Lauren \\n\\n\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/p:person[last()]/p:name\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLPosition", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\" 5123 Lauren Wong \\n\\n\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/p:person[position()=2]\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLCount", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2.0\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"count(/l:library/l:readerList/p:person)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLLocalName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"local-name(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLNamespace-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.release11.com/person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"namespace-uri(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "LIMXMLContains", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"True\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"contains(/l:library/l:readerList/p:person[1]/p:name, 'A')\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.release11.com/person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"namespace-uri(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLStarts-with", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"True\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"starts-with(/l:library/l:readerList/p:person[1]/p:name, 'A')\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIMXMLSubstring-before", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1999\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring-before(\\\"1999/04/01\\\",\\\"/\\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLSubstring-after", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"04/01\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring-after(\\\"1999/04/01\\\",\\\"/\\\")\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLSubstring", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"234\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring(\\\"12345\\\", 1.5, 2.6)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLString-length", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"4.0\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"string-length(\\\"Adam\\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLNormalize-space", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"A d am\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"normalize-space (\\\" A d am \\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLTranslate", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"BAr\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"translate(\\\"bar\\\",\\\"abc\\\",\\\"ABC\\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanBasic", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"Test1\\nTest3\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"Test1Test3\",\n \"process\": \"/values/value\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "XalanString", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"11\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"Test1Test3\",\n \"process\": \"string(11)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "XalanLast", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"Lauren\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/p:person[last()]/p:name\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "XalanPosition", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\" 5123 Lauren Wong \");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/p:person[position()=2]\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "XalanCount", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"count(/l:library/l:readerList/p:person)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "XalanLocalName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"local-name(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "XalanNamespace-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.release11.com/person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"namespace-uri(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "XalanName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.release11.com/person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"namespace-uri(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "XalanConcat", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"AdamChoke\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"concat(/l:library/l:readerList/p:person[1]/p:name,/l:library/l:readerList/p:person[1]/p:surname)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanStarts-with", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"starts-with(/l:library/l:readerList/p:person[1]/p:name, 'A')\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanContains", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"contains(/l:library/l:readerList/p:person[1]/p:name, 'A')\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanSubstring-before", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1999\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring-before(\\\"1999/04/01\\\",\\\"/\\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanSubstring-after", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"04/01\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring-after(\\\"1999/04/01\\\",\\\"/\\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanSubstring", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"234\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring(\\\"12345\\\", 1.5, 2.6)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanString-length", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"4\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"string-length(\\\"Adam\\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanNormalize-space", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"A d am\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"normalize-space (\\\" A d am \\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanTranslate", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"BAr\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"translate(\\\"bar\\\",\\\"abc\\\",\\\"ABC\\\")\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonBasic", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"Test1\\nTest3\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"Test1Test3\",\n \"process\": \"/values/value\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonString", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"11\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \"Test1Test3\",\n \"process\": \"string(11)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonLast", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"Lauren\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/p:person[last()]/p:name\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonPosition", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\\n2\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/p:person/position()\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonCount", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/count(p:person)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonLocalName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"local-name(/l:library/l:readerList/p:person[1])\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonNamespace-uri", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"http://www.release11.com/person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/namespace-uri(p:person[1])\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ] + } + }, + "response": [] + }, + { + "name": "SaxonName", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"p:person\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"/l:library/l:readerList/name(p:person[1])\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonConcat", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"AdamChoke\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"concat(/l:library/l:readerList/p:person[1]/p:name,/l:library/l:readerList/p:person[1]/p:surname)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonStarts-with", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"starts-with(/l:library/l:readerList/p:person[1]/p:name, 'A')\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonContains", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"true\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"contains(/l:library/l:readerList/p:person[1]/p:name, 'A')\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonSubstring-before", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1999\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring-before(\\\"1999/04/01\\\",\\\"/\\\")\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonSubstring-after", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"04/01\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring-after(\\\"1999/04/01\\\",\\\"/\\\")\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonSubstring", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"234\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"substring(\\\"12345\\\", 1.5, 2.6)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonString-length", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"4\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"string-length(\\\"Adam\\\")\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonNormalize-space", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"A d am\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"normalize-space (\\\" A d am \\\")\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonTranslate", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"BAr\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"translate(\\\"bar\\\",\\\"abc\\\",\\\"ABC\\\")\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLNumber", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"11.0\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"number(11)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLSum", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"12444.0\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"sum(/l:library/l:readerList/p:person/p:readerID)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLFloor", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1.0\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"floor(1.1)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLCeiling", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2.0\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"ceiling(1.1)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "LIBXMLRound", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"3.0\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"libxml2 over lxml\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"round(3.14)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8082/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8082", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanNumber", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"11\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"number(11)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanSum", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"12444\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"sum(/l:library/l:readerList/p:person/p:readerID)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanFloor", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"floor(1.1)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanCeiling", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"ceiling(1.1)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "XalanRound", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"3\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Xalan Java 2.7.2\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"round(3.14)\",\n \"processor\": \"xalan\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonNumber", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"11\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"number(11)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonSum", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"12444\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"sum(/l:library/l:readerList/p:person/p:readerID)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonFloor", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"1\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"floor(1.1)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonCeiling", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"2\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"ceiling(1.1)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "SaxonRound", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "pm.test(\"Works correctly\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.result).to.eql(\"3\");", + "});", + "pm.test(\"correct engine\", function () {", + " var jsonData = pm.response.json();", + " pm.expect(jsonData.processor).to.eql(\"Saxon 11.4 2.0 over s9api\");", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"data\": \" City library 345123 7321 Adam Choke 5123 Lauren Wong 6422 Harry Potter 7542 1234 Macbeth 5123 9556 Romeo and Juliet \",\n \"process\": \"round(3.14)\",\n \"processor\": \"saxon\",\n \"version\": \"2.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://tools.zipper.release11.com:8081/xpath", + "protocol": "http", + "host": [ + "tools", + "zipper", + "release11", + "com" + ], + "port": "8081", + "path": [ + "xpath" + ], + "query": [ + { + "key": "", + "value": null, + "disabled": true + } + ] + } + }, + "response": [] + } + ] + } + ] +} \ No newline at end of file