Test duration : 8.976s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.110s |
2021-01-27 22:03:22 |
2021-01-27 22:03:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:22 | ------------------------------------ 2021-01-27 22:03:22 | [Mutex] waiting for: [configured:node:node-67b5438d-e882-400a-a2a9-e37915f9db3d:node-e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66] 2021-01-27 22:03:22 | [Mutex] received everything. 2021-01-27 22:03:22 | [Mutex] isItemNotified: configured:node:node-67b5438d-e882-400a-a2a9-e37915f9db3d:node-e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66 :: true 2021-01-27 22:03:23 | [Mutex] waiting for: [received:nodes:365e64d9-40b2-4a00-8fd3-7a252d612f25:localhost] 2021-01-27 22:03:23 | [Mutex] received everything. 2021-01-27 22:03:23 | [Mutex] isItemNotified: received:node:365e64d9-40b2-4a00-8fd3-7a252d612f25:localhost:node-67b5438d-e882-400a-a2a9-e37915f9db3d:Node 67b5438d-e882-400a-a2a9-e37915f9db3d :: true 2021-01-27 22:03:23 | [Mutex] waiting for: [received:nodes:a45e6e8f-2684-4df1-8881-d4d4461fdc76:localhost] 2021-01-27 22:03:23 | [Mutex] received everything. 2021-01-27 22:03:23 | [Mutex] isItemNotified: received:node:a45e6e8f-2684-4df1-8881-d4d4461fdc76:localhost:node-67b5438d-e882-400a-a2a9-e37915f9db3d:Node 67b5438d-e882-400a-a2a9-e37915f9db3d :: false |
createNodes | 1.597s |
2021-01-27 22:03:19 |
2021-01-27 22:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:19 | ------------------------------------ 2021-01-27 22:03:20 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-67b5438d-e882-400a-a2a9-e37915f9db3d", "pubsub#title": "Node 67b5438d-e882-400a-a2a9-e37915f9db3d" } 2021-01-27 22:03:20 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-27 22:03:21 | [Mutex] waiting for: [received:nodes:9f7a7fa0-a612-4f9c-9f98-4b64f478bcd1:localhost] 2021-01-27 22:03:21 | [Mutex] received everything. 2021-01-27 22:03:21 | [Mutex] isItemNotified: received:node:9f7a7fa0-a612-4f9c-9f98-4b64f478bcd1:localhost:node-67b5438d-e882-400a-a2a9-e37915f9db3d:Node 67b5438d-e882-400a-a2a9-e37915f9db3d :: true |
createSubnodes | 1.026s |
2021-01-27 22:03:21 |
2021-01-27 22:03:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:21 | ------------------------------------ 2021-01-27 22:03:21 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66", "pubsub#title": "Node e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66" } 2021-01-27 22:03:21 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-27 22:03:22 | [Mutex] waiting for: [received:nodes:741a0f9c-0728-44ba-88ed-1bb35d7dfa67:localhost] 2021-01-27 22:03:22 | [Mutex] received everything. 2021-01-27 22:03:22 | [Mutex] isItemNotified: received:node:741a0f9c-0728-44ba-88ed-1bb35d7dfa67:localhost:node-e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66:Node e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66 :: true |
deleteNodes | 1.019s |
2021-01-27 22:03:26 |
2021-01-27 22:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:26 | ------------------------------------ 2021-01-27 22:03:26 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66" } 2021-01-27 22:03:26 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-27 22:03:27 | [Mutex] waiting for: [received:nodes:4adf10d0-b01a-4ea8-9010-1f0322e63990:localhost] 2021-01-27 22:03:27 | [Mutex] received everything. 2021-01-27 22:03:27 | [Mutex] isItemNotified: received:node:4adf10d0-b01a-4ea8-9010-1f0322e63990:localhost:node-e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66:Node e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66 :: false |
deleteSubnodes | 1.032s |
2021-01-27 22:03:25 |
2021-01-27 22:03:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:25 | ------------------------------------ 2021-01-27 22:03:25 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-67b5438d-e882-400a-a2a9-e37915f9db3d" } 2021-01-27 22:03:25 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-27 22:03:26 | [Mutex] waiting for: [received:nodes:7aafe1b1-0c10-4b5f-a910-5dd4e7c2fc69:localhost] 2021-01-27 22:03:26 | [Mutex] waiting for: [received:nodes:7aafe1b1-0c10-4b5f-a910-5dd4e7c2fc69:localhost] 2021-01-27 22:03:26 | [Mutex] waiting for: [received:nodes:7aafe1b1-0c10-4b5f-a910-5dd4e7c2fc69:localhost] 2021-01-27 22:03:26 | [Mutex] received everything. 2021-01-27 22:03:26 | [Mutex] isItemNotified: received:node:7aafe1b1-0c10-4b5f-a910-5dd4e7c2fc69:localhost:node-67b5438d-e882-400a-a2a9-e37915f9db3d:Node 67b5438d-e882-400a-a2a9-e37915f9db3d :: false 2021-01-27 22:03:26 | [Mutex] waiting for: [received:nodes:95f39ef8-50fc-4051-833b-7cb66367a99f:localhost] 2021-01-27 22:03:26 | [Mutex] received everything. 2021-01-27 22:03:26 | [Mutex] isItemNotified: received:node:95f39ef8-50fc-4051-833b-7cb66367a99f:localhost:node-67b5438d-e882-400a-a2a9-e37915f9db3d:Node 67b5438d-e882-400a-a2a9-e37915f9db3d :: false |
publishItemsToNodes | 0.043s |
2021-01-27 22:03:24 |
2021-01-27 22:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:24 | ------------------------------------ 2021-01-27 22:03:24 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-67b5438d-e882-400a-a2a9-e37915f9db3d", "entry": "<test>item-242b0811-b94d-4a1c-b8d9-db2c54e57736</test>", "item-id": "item-242b0811-b94d-4a1c-b8d9-db2c54e57736" } 2021-01-27 22:03:24 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-242b0811-b94d-4a1c-b8d9-db2c54e57736" } 2021-01-27 22:03:24 | [Mutex] waiting for: [published:item:notifieditem-242b0811-b94d-4a1c-b8d9-db2c54e57736:admin@test-domain.com] 2021-01-27 22:03:24 | [Mutex] received everything. 2021-01-27 22:03:24 | [Mutex] isItemNotified: published:item:notifieditem-242b0811-b94d-4a1c-b8d9-db2c54e57736:admin@test-domain.com :: true |
retractItemsFromNodes | 0.061s |
2021-01-27 22:03:24 |
2021-01-27 22:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:24 | ------------------------------------ 2021-01-27 22:03:24 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-67b5438d-e882-400a-a2a9-e37915f9db3d", "item-id": "item-242b0811-b94d-4a1c-b8d9-db2c54e57736" } 2021-01-27 22:03:24 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-242b0811-b94d-4a1c-b8d9-db2c54e57736" } 2021-01-27 22:03:24 | [Mutex] waiting for: [retracted:item:notifieditem-242b0811-b94d-4a1c-b8d9-db2c54e57736:admin@test-domain.com] 2021-01-27 22:03:24 | [Mutex] received everything. 2021-01-27 22:03:24 | [Mutex] isItemNotified: retracted:item:notifieditem-242b0811-b94d-4a1c-b8d9-db2c54e57736:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.069s |
2021-01-27 22:03:24 |
2021-01-27 22:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:24 | ------------------------------------ 2021-01-27 22:03:24 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-67b5438d-e882-400a-a2a9-e37915f9db3d", "item-id": "item-242b0811-b94d-4a1c-b8d9-db2c54e57736" } 2021-01-27 22:03:24 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-67b5438d-e882-400a-a2a9-e37915f9db3d", "item-id": "item-242b0811-b94d-4a1c-b8d9-db2c54e57736", "item": [ "<item id=\"item-242b0811-b94d-4a1c-b8d9-db2c54e57736\"><test>item-242b0811-b94d-4a1c-b8d9-db2c54e57736</test></item>" ] } 2021-01-27 22:03:24 | [Mutex] notify: [retrieved:item:item-242b0811-b94d-4a1c-b8d9-db2c54e57736:payload-matches:true:localhost] 2021-01-27 22:03:24 | [Mutex] received everything. 2021-01-27 22:03:24 | [Mutex] isItemNotified: retrieved:item:item-242b0811-b94d-4a1c-b8d9-db2c54e57736:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2021-01-27 22:03:24 |
2021-01-27 22:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:24 | ------------------------------------ 2021-01-27 22:03:24 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-01-27 22:03:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-67b5438d-e882-400a-a2a9-e37915f9db3d", "node-e2fb9bbc-8e2b-4a99-9e8f-956e06f45c66" ] } |
retrieveUserSubscriptionsWithRegex | 0.056s |
2021-01-27 22:03:24 |
2021-01-27 22:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:24 | ------------------------------------ 2021-01-27 22:03:24 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-67b5438d-e882-400a-a2a9-e37915f9db3d)" } 2021-01-27 22:03:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2021-01-27 22:03:23 |
2021-01-27 22:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:23 | ------------------------------------ 2021-01-27 22:03:23 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-67b5438d-e882-400a-a2a9-e37915f9db3d", "jids": [ "admin@test-domain.com" ] } 2021-01-27 22:03:23 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.062s |
2021-01-27 22:03:24 |
2021-01-27 22:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 22:03:24 | ------------------------------------ 2021-01-27 22:03:24 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-67b5438d-e882-400a-a2a9-e37915f9db3d", "jids": [ "admin@test-domain.com" ] } 2021-01-27 22:03:24 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |