Suites ยท Log Output
Test duration : 8.996s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.108s |
2021-11-16 22:49:12 |
2021-11-16 22:49:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:12 | ------------------------------------ 2021-11-16 22:49:12 | [Mutex] waiting for: [configured:node:node-60039b84-82a5-4c65-9098-07af54d9a0af:node-9303de78-0708-4c68-b46b-e1581efd36da] 2021-11-16 22:49:12 | [Mutex] received everything. 2021-11-16 22:49:12 | [Mutex] isItemNotified: configured:node:node-60039b84-82a5-4c65-9098-07af54d9a0af:node-9303de78-0708-4c68-b46b-e1581efd36da :: true 2021-11-16 22:49:13 | [Mutex] waiting for: [received:nodes:42f1c185-91b0-4394-989a-50252fb113a3:localhost] 2021-11-16 22:49:13 | [Mutex] received everything. 2021-11-16 22:49:13 | [Mutex] isItemNotified: received:node:42f1c185-91b0-4394-989a-50252fb113a3:localhost:node-60039b84-82a5-4c65-9098-07af54d9a0af:Node 60039b84-82a5-4c65-9098-07af54d9a0af :: true 2021-11-16 22:49:13 | [Mutex] waiting for: [received:nodes:8d72bd04-3000-408a-b4ed-5e5aa4a00985:localhost] 2021-11-16 22:49:13 | [Mutex] waiting for: [received:nodes:8d72bd04-3000-408a-b4ed-5e5aa4a00985:localhost] 2021-11-16 22:49:13 | [Mutex] waiting for: [received:nodes:8d72bd04-3000-408a-b4ed-5e5aa4a00985:localhost] 2021-11-16 22:49:13 | [Mutex] received everything. 2021-11-16 22:49:13 | [Mutex] isItemNotified: received:node:8d72bd04-3000-408a-b4ed-5e5aa4a00985:localhost:node-60039b84-82a5-4c65-9098-07af54d9a0af:Node 60039b84-82a5-4c65-9098-07af54d9a0af :: false |
createNodes | 1.601s |
2021-11-16 22:49:09 |
2021-11-16 22:49:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:09 | ------------------------------------ 2021-11-16 22:49:10 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-60039b84-82a5-4c65-9098-07af54d9a0af", "pubsub#title": "Node 60039b84-82a5-4c65-9098-07af54d9a0af" } 2021-11-16 22:49:10 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-11-16 22:49:11 | [Mutex] waiting for: [received:nodes:8ff182bf-6435-49dd-a025-f47b2ec4860f:localhost] 2021-11-16 22:49:11 | [Mutex] waiting for: [received:nodes:8ff182bf-6435-49dd-a025-f47b2ec4860f:localhost] 2021-11-16 22:49:11 | [Mutex] received everything. 2021-11-16 22:49:11 | [Mutex] isItemNotified: received:node:8ff182bf-6435-49dd-a025-f47b2ec4860f:localhost:node-60039b84-82a5-4c65-9098-07af54d9a0af:Node 60039b84-82a5-4c65-9098-07af54d9a0af :: true |
createSubnodes | 1.024s |
2021-11-16 22:49:11 |
2021-11-16 22:49:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:11 | ------------------------------------ 2021-11-16 22:49:11 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-9303de78-0708-4c68-b46b-e1581efd36da", "pubsub#title": "Node 9303de78-0708-4c68-b46b-e1581efd36da" } 2021-11-16 22:49:11 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-11-16 22:49:12 | [Mutex] waiting for: [received:nodes:69fee7d7-48b8-4d19-a7f2-6528d3a08484:localhost] 2021-11-16 22:49:12 | [Mutex] received everything. 2021-11-16 22:49:12 | [Mutex] isItemNotified: received:node:69fee7d7-48b8-4d19-a7f2-6528d3a08484:localhost:node-9303de78-0708-4c68-b46b-e1581efd36da:Node 9303de78-0708-4c68-b46b-e1581efd36da :: true |
deleteNodes | 1.020s |
2021-11-16 22:49:16 |
2021-11-16 22:49:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:16 | ------------------------------------ 2021-11-16 22:49:16 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9303de78-0708-4c68-b46b-e1581efd36da" } 2021-11-16 22:49:16 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-11-16 22:49:17 | [Mutex] waiting for: [received:nodes:b803d90d-1992-452b-a35e-dabb6e00861b:localhost] 2021-11-16 22:49:17 | [Mutex] waiting for: [received:nodes:b803d90d-1992-452b-a35e-dabb6e00861b:localhost] 2021-11-16 22:49:17 | [Mutex] received everything. 2021-11-16 22:49:17 | [Mutex] isItemNotified: received:node:b803d90d-1992-452b-a35e-dabb6e00861b:localhost:node-9303de78-0708-4c68-b46b-e1581efd36da:Node 9303de78-0708-4c68-b46b-e1581efd36da :: false |
deleteSubnodes | 1.027s |
2021-11-16 22:49:15 |
2021-11-16 22:49:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:15 | ------------------------------------ 2021-11-16 22:49:15 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-60039b84-82a5-4c65-9098-07af54d9a0af" } 2021-11-16 22:49:15 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-11-16 22:49:16 | [Mutex] waiting for: [received:nodes:eb77c4ba-97c9-4805-a734-9eca774d4912:localhost] 2021-11-16 22:49:16 | [Mutex] waiting for: [received:nodes:eb77c4ba-97c9-4805-a734-9eca774d4912:localhost] 2021-11-16 22:49:16 | [Mutex] received everything. 2021-11-16 22:49:16 | [Mutex] isItemNotified: received:node:eb77c4ba-97c9-4805-a734-9eca774d4912:localhost:node-60039b84-82a5-4c65-9098-07af54d9a0af:Node 60039b84-82a5-4c65-9098-07af54d9a0af :: false 2021-11-16 22:49:16 | [Mutex] waiting for: [received:nodes:d9902bde-ec71-4c4e-89c6-7d990ebe44a6:localhost] 2021-11-16 22:49:16 | [Mutex] received everything. 2021-11-16 22:49:16 | [Mutex] isItemNotified: received:node:d9902bde-ec71-4c4e-89c6-7d990ebe44a6:localhost:node-60039b84-82a5-4c65-9098-07af54d9a0af:Node 60039b84-82a5-4c65-9098-07af54d9a0af :: false |
publishItemsToNodes | 0.050s |
2021-11-16 22:49:14 |
2021-11-16 22:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:14 | ------------------------------------ 2021-11-16 22:49:14 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-60039b84-82a5-4c65-9098-07af54d9a0af", "entry": "<test>item-570c5648-cfb9-4c57-8ed9-acbfa47733f8</test>", "item-id": "item-570c5648-cfb9-4c57-8ed9-acbfa47733f8" } 2021-11-16 22:49:14 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-570c5648-cfb9-4c57-8ed9-acbfa47733f8" } 2021-11-16 22:49:14 | [Mutex] waiting for: [published:item:notifieditem-570c5648-cfb9-4c57-8ed9-acbfa47733f8:admin@test-domain.com] 2021-11-16 22:49:14 | [Mutex] received everything. 2021-11-16 22:49:14 | [Mutex] isItemNotified: published:item:notifieditem-570c5648-cfb9-4c57-8ed9-acbfa47733f8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.071s |
2021-11-16 22:49:14 |
2021-11-16 22:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:14 | ------------------------------------ 2021-11-16 22:49:14 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-60039b84-82a5-4c65-9098-07af54d9a0af", "item-id": "item-570c5648-cfb9-4c57-8ed9-acbfa47733f8" } 2021-11-16 22:49:14 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-570c5648-cfb9-4c57-8ed9-acbfa47733f8" } 2021-11-16 22:49:14 | [Mutex] received everything. 2021-11-16 22:49:14 | [Mutex] isItemNotified: retracted:item:notifieditem-570c5648-cfb9-4c57-8ed9-acbfa47733f8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.083s |
2021-11-16 22:49:14 |
2021-11-16 22:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:14 | ------------------------------------ 2021-11-16 22:49:14 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-60039b84-82a5-4c65-9098-07af54d9a0af", "item-id": "item-570c5648-cfb9-4c57-8ed9-acbfa47733f8" } 2021-11-16 22:49:14 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-60039b84-82a5-4c65-9098-07af54d9a0af", "item-id": "item-570c5648-cfb9-4c57-8ed9-acbfa47733f8", "item": [ "<item id=\"item-570c5648-cfb9-4c57-8ed9-acbfa47733f8\"><test>item-570c5648-cfb9-4c57-8ed9-acbfa47733f8</test></item>" ] } 2021-11-16 22:49:14 | [Mutex] notify: [retrieved:item:item-570c5648-cfb9-4c57-8ed9-acbfa47733f8:payload-matches:true:localhost] 2021-11-16 22:49:14 | [Mutex] received everything. 2021-11-16 22:49:14 | [Mutex] isItemNotified: retrieved:item:item-570c5648-cfb9-4c57-8ed9-acbfa47733f8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2021-11-16 22:49:14 |
2021-11-16 22:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:14 | ------------------------------------ 2021-11-16 22:49:14 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-11-16 22:49:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-9303de78-0708-4c68-b46b-e1581efd36da", "node-60039b84-82a5-4c65-9098-07af54d9a0af" ] } |
retrieveUserSubscriptionsWithRegex | 0.056s |
2021-11-16 22:49:14 |
2021-11-16 22:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:14 | ------------------------------------ 2021-11-16 22:49:14 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-60039b84-82a5-4c65-9098-07af54d9a0af)" } 2021-11-16 22:49:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2021-11-16 22:49:13 |
2021-11-16 22:49:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:13 | ------------------------------------ 2021-11-16 22:49:13 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-60039b84-82a5-4c65-9098-07af54d9a0af", "jids": [ "admin@test-domain.com" ] } 2021-11-16 22:49:13 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.083s |
2021-11-16 22:49:14 |
2021-11-16 22:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-16 22:49:14 | ------------------------------------ 2021-11-16 22:49:14 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-60039b84-82a5-4c65-9098-07af54d9a0af", "jids": [ "admin@test-domain.com" ] } 2021-11-16 22:49:14 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |