Test duration : 8.940s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.094s |
2020-09-29 22:39:00 |
2020-09-29 22:39:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:00 | ------------------------------------ 2020-09-29 22:39:00 | [Mutex] waiting for: [configured:node:node-c05a838b-62c6-488b-a136-b700a833f10f:node-e12e3c77-fe25-490b-a70c-12fe8e32cc85] 2020-09-29 22:39:00 | [Mutex] received everything. 2020-09-29 22:39:00 | [Mutex] isItemNotified: configured:node:node-c05a838b-62c6-488b-a136-b700a833f10f:node-e12e3c77-fe25-490b-a70c-12fe8e32cc85 :: true 2020-09-29 22:39:01 | [Mutex] waiting for: [received:nodes:d66d797a-c5f5-48f2-8682-f4d3f6afd778:localhost] 2020-09-29 22:39:01 | [Mutex] received everything. 2020-09-29 22:39:01 | [Mutex] isItemNotified: received:node:d66d797a-c5f5-48f2-8682-f4d3f6afd778:localhost:node-c05a838b-62c6-488b-a136-b700a833f10f:Node c05a838b-62c6-488b-a136-b700a833f10f :: true 2020-09-29 22:39:01 | [Mutex] waiting for: [received:nodes:07e4a427-28d9-4aae-be8f-ad24b8c1c518:localhost] 2020-09-29 22:39:01 | [Mutex] received everything. 2020-09-29 22:39:01 | [Mutex] isItemNotified: received:node:07e4a427-28d9-4aae-be8f-ad24b8c1c518:localhost:node-c05a838b-62c6-488b-a136-b700a833f10f:Node c05a838b-62c6-488b-a136-b700a833f10f :: false |
createNodes | 1.619s |
2020-09-29 22:38:57 |
2020-09-29 22:38:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:38:57 | ------------------------------------ 2020-09-29 22:38:58 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-c05a838b-62c6-488b-a136-b700a833f10f", "pubsub#title": "Node c05a838b-62c6-488b-a136-b700a833f10f" } 2020-09-29 22:38:58 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-29 22:38:59 | [Mutex] waiting for: [received:nodes:acfe541e-fe3d-44c6-98ec-461994b8d058:localhost] 2020-09-29 22:38:59 | [Mutex] received everything. 2020-09-29 22:38:59 | [Mutex] isItemNotified: received:node:acfe541e-fe3d-44c6-98ec-461994b8d058:localhost:node-c05a838b-62c6-488b-a136-b700a833f10f:Node c05a838b-62c6-488b-a136-b700a833f10f :: true |
createSubnodes | 1.043s |
2020-09-29 22:38:59 |
2020-09-29 22:38:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:38:59 | ------------------------------------ 2020-09-29 22:38:59 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-e12e3c77-fe25-490b-a70c-12fe8e32cc85", "pubsub#title": "Node e12e3c77-fe25-490b-a70c-12fe8e32cc85" } 2020-09-29 22:38:59 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-29 22:39:00 | [Mutex] waiting for: [received:nodes:6df27025-0912-4c7c-984a-03e6f32ced2f:localhost] 2020-09-29 22:39:00 | [Mutex] received everything. 2020-09-29 22:39:00 | [Mutex] isItemNotified: received:node:6df27025-0912-4c7c-984a-03e6f32ced2f:localhost:node-e12e3c77-fe25-490b-a70c-12fe8e32cc85:Node e12e3c77-fe25-490b-a70c-12fe8e32cc85 :: true |
deleteNodes | 1.017s |
2020-09-29 22:39:04 |
2020-09-29 22:39:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:04 | ------------------------------------ 2020-09-29 22:39:04 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e12e3c77-fe25-490b-a70c-12fe8e32cc85" } 2020-09-29 22:39:04 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-29 22:39:05 | [Mutex] waiting for: [received:nodes:baea8e75-0cbb-4a85-add1-a7fd6270b5e9:localhost] 2020-09-29 22:39:05 | [Mutex] received everything. 2020-09-29 22:39:05 | [Mutex] isItemNotified: received:node:baea8e75-0cbb-4a85-add1-a7fd6270b5e9:localhost:node-e12e3c77-fe25-490b-a70c-12fe8e32cc85:Node e12e3c77-fe25-490b-a70c-12fe8e32cc85 :: false |
deleteSubnodes | 1.023s |
2020-09-29 22:39:03 |
2020-09-29 22:39:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:03 | ------------------------------------ 2020-09-29 22:39:03 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c05a838b-62c6-488b-a136-b700a833f10f" } 2020-09-29 22:39:03 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-29 22:39:04 | [Mutex] waiting for: [received:nodes:e1e82aee-664d-4d66-9eea-26979fe85107:localhost] 2020-09-29 22:39:04 | [Mutex] received everything. 2020-09-29 22:39:04 | [Mutex] isItemNotified: received:node:e1e82aee-664d-4d66-9eea-26979fe85107:localhost:node-c05a838b-62c6-488b-a136-b700a833f10f:Node c05a838b-62c6-488b-a136-b700a833f10f :: false 2020-09-29 22:39:04 | [Mutex] waiting for: [received:nodes:d981cb94-a8df-4738-96be-32d2a85e8420:localhost] 2020-09-29 22:39:04 | [Mutex] received everything. 2020-09-29 22:39:04 | [Mutex] isItemNotified: received:node:d981cb94-a8df-4738-96be-32d2a85e8420:localhost:node-c05a838b-62c6-488b-a136-b700a833f10f:Node c05a838b-62c6-488b-a136-b700a833f10f :: false |
publishItemsToNodes | 0.070s |
2020-09-29 22:39:02 |
2020-09-29 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:02 | ------------------------------------ 2020-09-29 22:39:02 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-c05a838b-62c6-488b-a136-b700a833f10f", "entry": "<test>item-b16cc368-caf0-413c-8a1f-224580863090</test>", "item-id": "item-b16cc368-caf0-413c-8a1f-224580863090" } 2020-09-29 22:39:02 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b16cc368-caf0-413c-8a1f-224580863090" } 2020-09-29 22:39:02 | [Mutex] waiting for: [published:item:notifieditem-b16cc368-caf0-413c-8a1f-224580863090:admin@test-domain.com] 2020-09-29 22:39:02 | [Mutex] received everything. 2020-09-29 22:39:02 | [Mutex] isItemNotified: published:item:notifieditem-b16cc368-caf0-413c-8a1f-224580863090:admin@test-domain.com :: true |
retractItemsFromNodes | 0.060s |
2020-09-29 22:39:02 |
2020-09-29 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:02 | ------------------------------------ 2020-09-29 22:39:02 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-c05a838b-62c6-488b-a136-b700a833f10f", "item-id": "item-b16cc368-caf0-413c-8a1f-224580863090" } 2020-09-29 22:39:02 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b16cc368-caf0-413c-8a1f-224580863090" } 2020-09-29 22:39:02 | [Mutex] received everything. 2020-09-29 22:39:02 | [Mutex] isItemNotified: retracted:item:notifieditem-b16cc368-caf0-413c-8a1f-224580863090:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.018s |
2020-09-29 22:39:02 |
2020-09-29 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:02 | ------------------------------------ 2020-09-29 22:39:02 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-c05a838b-62c6-488b-a136-b700a833f10f", "item-id": "item-b16cc368-caf0-413c-8a1f-224580863090" } 2020-09-29 22:39:02 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-c05a838b-62c6-488b-a136-b700a833f10f", "item-id": "item-b16cc368-caf0-413c-8a1f-224580863090", "item": [ "<item id=\"item-b16cc368-caf0-413c-8a1f-224580863090\"><test>item-b16cc368-caf0-413c-8a1f-224580863090</test></item>" ] } 2020-09-29 22:39:02 | [Mutex] notify: [retrieved:item:item-b16cc368-caf0-413c-8a1f-224580863090:payload-matches:true:localhost] 2020-09-29 22:39:02 | [Mutex] received everything. 2020-09-29 22:39:02 | [Mutex] isItemNotified: retrieved:item:item-b16cc368-caf0-413c-8a1f-224580863090:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2020-09-29 22:39:02 |
2020-09-29 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:02 | ------------------------------------ 2020-09-29 22:39:02 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-09-29 22:39:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-c05a838b-62c6-488b-a136-b700a833f10f", "node-e12e3c77-fe25-490b-a70c-12fe8e32cc85", "test" ] } |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-09-29 22:39:02 |
2020-09-29 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:02 | ------------------------------------ 2020-09-29 22:39:02 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-c05a838b-62c6-488b-a136-b700a833f10f)" } 2020-09-29 22:39:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2020-09-29 22:39:01 |
2020-09-29 22:39:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:01 | ------------------------------------ 2020-09-29 22:39:01 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-c05a838b-62c6-488b-a136-b700a833f10f", "jids": [ "admin@test-domain.com" ] } 2020-09-29 22:39:01 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.052s |
2020-09-29 22:39:02 |
2020-09-29 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-29 22:39:02 | ------------------------------------ 2020-09-29 22:39:02 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-c05a838b-62c6-488b-a136-b700a833f10f", "jids": [ "admin@test-domain.com" ] } 2020-09-29 22:39:02 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |